Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

localhost: ERROR: Cannot set priority of datanode process 32156

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 datanode process 32156.
Starting secondary namenodes [it-OptiPlex-3020]
2017-09-18 21:13:48,343 WARN util.NativeCodeLoader: Unable to load native-hadoop library for your platform... using builtin-java classes where applicable
Starting resourcemanager
Starting nodemanagers

Please someone tell me why i am getting this error ? Thanks in advance.

like image 321
Shubham Hupare Avatar asked Sep 18 '17 15:09

Shubham Hupare


1 Answers

Problem Solved Here!(Both two high ranked answers didnt work for me)

This issue happens because you are running your hadoop(namenode-user,datanode-user,...) with a user that is not the owner of all your hadoop file-folders.

just do a sudo chown YOURUSER:YOURUSER -R /home/YOURUSER/hadoop/*

like image 133
Aramis NSR Avatar answered Sep 20 '22 12:09

Aramis NSR