spark-env.sh文件中增加,确保${HADOOP_HOME}/lib/native目录下有libhadoop.so文件
export JAVA_LIBRARY_PATH=${HADOOP_HOME}/lib/native
spark-env.sh文件中增加,确保${HADOOP_HOME}/lib/native目录下有libhadoop.so文件
export JAVA_LIBRARY_PATH=${HADOOP_HOME}/lib/native
转载于:https://www.cnblogs.com/timlong/p/9943971.html