标签:本地 uil ash comm 问题 dir java span class
执行hadoop的相关命令时,总提示如下:
]$ hadoop fs -ls / 2020-03-09 16:09:39,384 WARN util.NativeCodeLoader: Unable to load native-hadoop library for your platform... using builtin-java classes where applicable
解决:
在当前用户的bashrc文件里面添加:
export HADOOP_COMMON_LIB_NATIVE_DIR=$HADOOP_HOME/lib/native export HADOOP_OPTS="-Djava.library.path=$HADOOP_HOME/lib:$HADOOP_COMMON_LIB_NATIVE_DIR"
标签:本地 uil ash comm 问题 dir java span class
原文地址:https://www.cnblogs.com/yjt1993/p/12449304.html