阿川CH
学海无涯,上栽上栽!
Toggle navigation
阿川CH
主页
归档
标签
native snappy library not available: this version of libhadoop was built without snappy support.
Hadoop
java
问题排查
2018-06-29 15:06:56
0
0
0
cqc
Hadoop
java
问题排查
一般来说,报`native snappy library not available: this version of libhadoop was built without snappy support.`,其在应用启动时会有个WARN信息`Unable to load native-hadoop library for your platform... using builtin-java classes where applicable` 报这个错的本质是java应用没有加载到`${HADOOP_HOME}/lib/natitve`这个动态库,只需要在java启动参数中添加`-Djava.library.path=${HADOOP_HOME}/lib/native`
上一篇:
UDF:weekno(计算指定日期属于第几周)
下一篇:
hdfs dfs 中的命令是通过FsCommand类去注册的
文档导航