摘要: 1、首先通过top命令查看占用cpu过高的pid #top top - 18:07:25 up 48 days, 1:07, 3 users, load average: 11.94, 11.90, 9.46Tasks: 271 total, 1 running, 270 sleeping, 0 s 阅读全文
posted @ 2018-01-15 18:45 诗码者 阅读(536) 评论(0) 推荐(0) 编辑
摘要: 1、通过垃圾箱恢复 使用这种方式的前提是在hdfs上面开启trash功能,默认是没有开启的。interval的值默认为0,单位是分钟。只需要在hadoop的配置文件core-site.xml中添加下面的内容: <!--Enable Trash --> <property> <name>fs.tras 阅读全文
posted @ 2018-01-15 17:19 诗码者 阅读(9218) 评论(0) 推荐(1) 编辑