/tmp目录下,删除
hsperfdata_为开头的文件夹。
点击(此处)折叠或打开
- [root@sht-sgmhadoopnn-01 ~]# jps
- 8952 Jps
- 27342 -- process information unavailable
- 28270 -- process information unavailable
- 28237 -- process information unavailable
- 27254 -- process information unavailable
- 27396 -- process information unavailable
- 28777 -- process information unavailable
- 2040 jar
- 1950 -- process information unavailable
- 27314 -- process information unavailable
- [root@sht-sgmhadoopnn-01 ~]# cd /tmp
- [root@sht-sgmhadoopnn-01 tmp]# ls -l
- total 509484
- drwx------ 2 hive hive 4096 Feb 21 16:41 b7b248d7-fb22-4915-857f-747d51145b37_resources
- -rw-r--r-- 1 root root 309590993 Feb 4 14:16 hadoop-2.6.0-cdh5.5.2.tar.gz
- -rw-r--r-- 1 root root 212046774 Jan 26 09:29 hadoop-2.7.2.tar.gz
- drwxr-xr-x 4 hive hive 4096 Feb 21 16:41 hadoop-unjar5186652546768131446
- drwxr-xr-x 4 hive hive 4096 Feb 21 16:41 hadoop-unjar8709512081207412026
- drwx------ 4 hive hive 4096 Feb 21 16:41 hive
- drwxr-xr-x 2 cassandra cassandra 4096 Jan 22 22:59 hsperfdata_cassandra
- drwxr-xr-x 2 hdfs hdfs 4096 Feb 9 14:28 hsperfdata_hdfs
- drwxr-xr-x 2 hive hive 4096 Feb 21 16:41 hsperfdata_hive
- drwxr-xr-x 2 hue hue 4096 Feb 21 16:42 hsperfdata_hue
- drwxr-xr-x 2 mapred mapred 4096 Feb 21 17:43 hsperfdata_mapred
- drwxr-xr-x 2 oozie oozie 4096 Feb 21 16:41 hsperfdata_oozie
- drwxr-xr-x 2 root root 4096 Feb 25 12:40 hsperfdata_root
- drwxr-xr-x 2 zookeeper zookeeper 4096 Feb 9 14:28 hsperfdata_zookeeper
- drwxr-xr-x 4 mapred mapred 4096 Feb 21 17:43 Jetty_0_0_0_0_50030_job____yn7qmk
- -rw-r--r-- 1 root root 10 Feb 19 08:12 test.txt
- -r--r----- 1 root root 4002 Dec 13 09:07 tmp.M3jEfxdH8T
- [root@sht-sgmhadoopnn-01 tmp]# rm-rf hsperfdata_*
- [root@sht-sgmhadoopnn-01 tmp]# jps
- 8993 Jps