hadoop-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Li Li <fancye...@gmail.com>
Subject SafeModeException on starting up
Date Sat, 17 Nov 2012 03:21:26 GMT
hi all,
     I am trying to set up a hadoop cluster. But when I use start-all.sh to
start it. it throws exception:
2012-11-17 10:40:21,662 ERROR
org.apache.hadoop.security.UserGroupInformation: PriviledgedActionException
as:work cause:org.apache.hadoop.hdfs.server.namenode.SafeModeException:
Cannot delete /home/work/lili/mapred/system. Name node is in safe mode.
The ratio of reported blocks 1.0000 has reached the threshold 0.9990. Safe
mode will be turned off automatically in 27 seconds.
2012-11-17 10:40:21,663 INFO org.apache.hadoop.ipc.Server: IPC Server
handler 5 on 9000, call delete(/home/work/lili/mapred/system, true) from
10.81.33.22:20183: error:
org.apache.hadoop.hdfs.server.namenode.SafeModeException: Cannot delete
/home/work/lili/mapred/system. Name node is in safe mode.
The ratio of reported blocks 1.0000 has reached the threshold 0.9990. Safe
mode will be turned off automatically in 27 seconds.
org.apache.hadoop.hdfs.server.namenode.SafeModeException: Cannot delete
/home/work/lili/mapred/system. Name node is in safe mode.
The ratio of reported blocks 1.0000 has reached the threshold 0.9990. Safe
mode will be turned off automatically in 27 seconds.
    at
org.apache.hadoop.hdfs.server.namenode.FSNamesystem.deleteInternal(FSNamesystem.java:1994)
    at
org.apache.hadoop.hdfs.server.namenode.FSNamesystem.delete(FSNamesystem.java:1974)
    at
org.apache.hadoop.hdfs.server.namenode.NameNode.delete(NameNode.java:792)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at org.apache.hadoop.ipc.RPC$Server.call(RPC.java:563)
    at org.apache.hadoop.ipc.Server$Handler$1.run(Server.java:1388)
    at org.apache.hadoop.ipc.Server$Handler$1.run(Server.java:1384)

Mime
View raw message