我设置并配置了多节点Hadoop。启动时会出现
我的Ubuntu是16.04,而Hadoop是3.0.2
Starting namenodes on [master]
Starting datanodes
localhost: ERROR: Cannot set priority of datanode process 2984
Starting secondary namenodes [master]
master: ERROR: Cannot set priority of secondarynamenode process 3175
2018-07-17 02:19:39,470 WARN util.NativeCodeLoader: Unable to load native-hadoop library for your platform... using builtin-java classes where applicable
Starting resourcemanager
Starting nodemanagers
谁能告诉我哪个链接错了?
最佳答案
只需将原生单词附加到您的HADOOP_OPTS即可,如下所示:
export HADOOP_OPTS="$HADOOP_OPTS -Djava.library.path=$HADOOP_HOME/lib/native"
export HADOOP_OPTS="-Djava.library.path=$HADOOP_HOME/lib/native"
关于hadoop - 本地主机:错误:无法设置数据节点进程2984的优先级,我们在Stack Overflow上找到一个类似的问题:https://stackoverflow.com/questions/51357594/