所有.
我用hadoop2.6.0.
当我强制hadoop离开安全模式时,使用hdfs dfsadmin -safemode leave,它显示Safe mode is OFF,但我仍然无法删除目录中的文件,结果显示:
rm: Cannot delete /mei/app-20151013055617-0001-614d554c-cc04-4800-9be8-7d9b3fd3fcef. Name node is in safe mode.
我尝试使用在Internet上列出的方式来解决这个问题,它没有'工作......
我使用命令'hdfs dfsadmin -report',它显示:
Safe mode is ON
Configured Capacity: 52710469632 (49.09 GB)
Present Capacity: 213811200 (203.91 MB)
DFS Remaining: 0 (0 B)
DFS Used: 213811200 (203.91 MB)
DFS Used%: 100.00%
Under replicated blocks: 39
Blocks with corrupt replicas: 0
Missing blocks: 0
-------------------------------------------------
Live datanodes (1):
Name: 127.0.0.1:50010 (bdrhel6)
Hostname: bdrhel6
Decommission Status : Normal
Configured …Run Code Online (Sandbox Code Playgroud) hadoop ×1