localhost: ERROR: Cannot set priority of datanode process 32156

后端 未结 4 1678
醉梦人生
醉梦人生 2020-12-17 21:48

I am trying to install hadoop on ubuntu 16.04 but while starting the hadoop it will give me following error

localhost: ERROR: Cannot set priority of datanod         


        
4条回答
  •  悲哀的现实
    2020-12-17 22:18

    I have run into the same error when installing Hadoop 3.0.0-RC0. My situation was all services starting successfully except Datanode.

    I found that some configs in hadoop-env.sh weren't correct in version 3.0.0-RC0, but were correct in version 2.x.

    I ended up replacing my hadoop-env.sh with the official one and set JAVA_HOME and HADOOP_HOME. Now, Datanodes is working fine.

提交回复
热议问题