localhost: ERROR: Cannot set priority of datanode process 32156

后端 未结 4 1677
醉梦人生
醉梦人生 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:11

    Faced the same issue, flushed the folders: datanode & namenode. I have put the folders in /hadoop_store/hdfs/namenode & /hadoop_store/hdfs/datanode

    Post deleting the folders, recreate and then run the command hdfs namenode -format

    Start the hadoop:

    After the fix the logs look good:

    Starting namenodes on [localhost]
    Starting datanodes
    Starting secondary namenodes [ip]
    2019-02-11 09:41:30,426 WARN util.NativeCodeLoader: Unable to load native-hadoop library for your platform... using builtin-java classes where applicable
    

    jps:

    21857 NodeManager
    21697 ResourceManager
    21026 NameNode
    22326 Jps
    21207 DataNode
    21435 SecondaryNameNode
    

提交回复
热议问题