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
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