- 启动hadoop,jps查看报错
[root@slave1 home]# jps
7798 -- process information unavailable
7081 -- process information unavailable
- 查看进程是否存在
[root@slave1 home]# ps -ef|grep 7798
root 9312 7475 0 23:19 pts/2 00:00:00 grep --color=auto 7798
- 尝试是否可以杀死该进程
[root@slave1 home]# kill -9 7798
-bash: kill: (7798) - 没有那个进程
- 进入/tmp,进入hsperfdata_root
[root@slave1 home]# cd /tmp
[root@slave1 tmp]# ll
总用量 48
drwxr-xr-x. 2 root root 6 12月 14 19:24 06ae89a7-92e0-48eb-8c93-8cd65ccb7f21_resources
drwxrwxrwx. 3 root root 17 12月 13 18:17 hadoop-root
-rwxrwxrwx. 1 root root 5 12月 18 23:13 hadoop-root-datanode.pid
-rwxrwxrwx. 1 root root 5 12月 18 23:13 hadoop-root-namenode.pid
drwxr-xr-x. 4 root root 123 12月 14 19:35 hadoop-unjar1564047809770746623
drwxrwxrwx. 3 root root 19 12月 13 21:50 hbase-root
-rwxrwxrwx. 1 root root 6 12月 13 21:49 hbase-root-master.pid
-rwxrwxrwx. 1 root root 27 12月 13 21:50 hbase-root-master.znode
-rwxrwxrwx. 1 root root 6 12月 13 21:49 hbase-root-regionserver.pid
-rwxrwxrwx. 1 root root 37 12月 13 21:50 hbase-root-regionserver.znode
drwxrwxrwx. 2 root root 30 12月 14 03:47 hsperfdata_root
[root@slave1 hsperfdata_root]# ls
7081 7798
[root@slave1 hsperfdata_root]# rm /tmp/hsperfdata_root/7081
rm:是否删除普通文件 "/tmp/hsperfdata_root/7081"?y
[root@slave1 hsperfdata_root]# ls
7798
[root@slave1 hsperfdata_root]# rm /tmp/hsperfdata_root/7798
rm:是否删除普通文件 "/tmp/hsperfdata_root/7798"?y
标签:information,13,12,process,hsperfdata,hadoop,7798,slave1,root
From: https://www.cnblogs.com/dogleftover/p/17911416.html