[li@storm333 spark-standalone]$ ./bin/spark-submit --class com.atguigu.spark.test.spark_Jni_VectorAdd --master spark://storm333:7077 ./MyProjects/SparkJNIVectorAdd/spark-core-1.0-SNAPSHOT.jar
21/11/26 16:14:56 WARN NativeCodeLoader: Unable to load native-hadoop library for your platform... using builtin-java classes where applicable
Error: Failed to load class com.atguigu.spark.test.spark_Jni_VectorAdd.
log4j:WARN No appenders could be found for logger (org.apache.spark.util.ShutdownHookManager).
log4j:WARN Please initialize the log4j system properly.
log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for more info.
spark-submit 提交程序出现这种问题:什么原因呢?
这里有两个问题:1、找不到 native-hadoop library 2、找不到对应的 class 类
问题1:这个问题就是找不到hadoop 的类库,但是没有什么影响。可以不用管。如果你非要消除,网上有