我已经使用JDK 1.7.0_80在CentOS上成功安装了Hadoop CDH5.2.
进程启动并成功运行.但是当我尝试以root用户身份显示java进程列表时jps,它只返回ID而没有描述:
[root@elephant ~]# jps
11478 Jps
2871 -- process information unavailable
2972 -- process information unavailable
3146 -- process information unavailable
3611 -- process information unavailable
2796 -- process information unavailable
3445 -- process information unavailable
Run Code Online (Sandbox Code Playgroud)
如果我sud为hdfs,我可以看到它的进程描述:
[root@elephant ~]# sudo -u hdfs jps
2871 SecondaryNameNode
11495 Jps
2972 DataNode
2796 NameNode
Run Code Online (Sandbox Code Playgroud)
什么可能导致root不检索进程描述?