无法启动 Hadoop 服务:localhost:nice:无法设置 niceness:权限被拒绝

无法启动 Hadoop 服务:localhost:nice:无法设置 niceness:权限被拒绝

我正在尝试在 Ubuntu 上安装 Hadoop 作为 Windows 子系统,安装已完成,但在启动 Hadoop 服务时出现错误。

$ start-dfs.sh
Starting namenodes on [localhost]
localhost: starting namenode, logging to /usr/local/hadoop/logs/hadoop-hduser-namenode-DESKTOP-HD9EL6C.out
localhost: nice: cannot set niceness: Permission denied
localhost: starting datanode, logging to /usr/local/hadoop/logs/hadoop-hduser-datanode-DESKTOP-HD9EL6C.out
localhost: nice: cannot set niceness: Permission denied
Starting secondary namenodes [0.0.0.0]
0.0.0.0: starting secondarynamenode, logging to /usr/local/hadoop/logs/hadoop-hduser-secondarynamenode-DESKTOP-HD9EL6C.out
0.0.0.0: nice: cannot set niceness: Permission denied

我尝试了不同平台的许多解决方案,但似乎没有任何效果。

有什么解决办法吗?

相关内容