错误现象:hadoop集群重启时报如下错误:
2013-07-05 14:41:50,074 ERROR org.apache.hadoop.security.UserGroupInformation: PriviledgedActionException as:hadoop (auth:SIMPLE) cause:org.apache.hadoop.hdfs.server.namenode.SafeModeException: Cannot set permission for /hdata/hdfs/system. Name node is in safe mode.
The reported blocks 0 needs additional 92 blocks to reach the threshold 0.9990 of total blocks 93. Safe mode will be turned off automatically.
2013-07-05 14:41:50,075 INFO org.apache.hadoop.ipc.Server: IPC Server handler 3 on 9000, call setPermission(/hdata/hdfs/system, rwx------) from 10.132.30.48:47969: error: org.apache.hadoop.hdfs.server.namenode.SafeModeException: Cannot set permission for /hdata/hdfs/system. Name node is in safe mode.
The reported blocks 0 needs additional 92 blocks to reach the threshold 0.9990 of total blocks 93. Safe mode will be turned off automatically.
org.apache.hadoop.hdfs.server.namenode.SafeModeException: C