cannot set niceness : Permission denied

tried to run hadoop start-dfs.sh several times, which always throw out an exception


localhost: nice: cannot set niceness: Permission denied

checking jps, the start-dfs.sh only brought up nameNode and resourceManager.

Tried several approaches on set niceness with no avail. somehow actually calling the daemon to start the datanode directly works. (event the permission denied still exist.)


lwpro2@DESKTOP-G92MK3N:~/hadoop/hadoop-2.9.1$ sbin/hadoop-daemon.sh start datanode
starting datanode, logging to /home/lwpro2/hadoop/hadoop-2.9.1/logs/hadoop-lwpro2-datanode-DESKTOP-.out
nice: cannot set niceness: Permission denied

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s