spark 启动时候报 Unable to load native-hadoop library for your platform 警告

Posted zhaofeng555

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了spark 启动时候报 Unable to load native-hadoop library for your platform 警告相关的知识,希望对你有一定的参考价值。

hadoop2.6.4

jdk1.8

spark2.0.1

方案1:

在spark的conf目录下,修改spark-env.sh文件加入LD_LIBRARY_PATH环境变量,值为hadoop的native库的路径

 

方案2:

在 /etc/profile 设置一下 export LD_LIBRARY_PATH=/usr/local/hadoop/lib/native

以上是关于spark 启动时候报 Unable to load native-hadoop library for your platform 警告的主要内容,如果未能解决你的问题,请参考以下文章

spark读取parquet文件报错:Unable to infer schema when loading Parquet file

解决Eclipse中启动Tomcat报unable to start within 45 seconds问题

ZK—zookeeper无法启动,报“Unable to load database on dis”

关于ImportError: libssl.so.10: cannot open shared object file: No such file or directory unable to loa

Nacos 启动报错 Unable to start web server……Unable to start embedded Tomcat

项目启动报Unable to acquire AES algorithm.