Hey,

I thought this sort of basic safemode operation is covered well in the manual. Do you have any questions or suggestions for the documentation?

Brian

On Oct 16, 2009, at 3:12 AM, yibo820217 wrote:



It seems lke the normal procedure to restart the hdfs.




yibo820217 wrote:

hi,recently,i got some problem.
at first,I start the hadoop
#bin/start-all.sh
then I look the logs
#cat hadoop-root-namenode-cent52ip32.log

2009-10-13 22:12:29,733 INFO
org.apache.hadoop.hdfs.server.namenode.FSNamesystem.audit:

ugi=root,root,bin,daemon,sys,adm,disk,wheel    ip=/127.0.0.1
cmd=listStatus  src=/tmp/hadoop-root/mapred/system

 dst=null      perm=null
2009-10-13 22:12:29,736 INFO org.apache.hadoop.ipc.Server: IPC Server
handler 5 on 9000, call delete(/tmp/hadoop-

root/mapred/system, true) from 127.0.0.1:37371: error:
org.apache.hadoop.hdfs.server.namenode.SafeModeException:

Cannot delete /tmp/hadoop-root/mapred/system. Name node is in safe mode. The ratio of reported blocks 0.0000 has not reached the threshold 0.9990.
Safe mode will be turned off
automatically.
org.apache.hadoop.hdfs.server.namenode.SafeModeException: Cannot delete
/tmp/hadoop-root/mapred/system. Name node is

in safe mode.
The ratio of reported blocks 0.0000 has not reached the threshold 0.9990.
Safe mode will be turned off

automatically.
       at
org.apache.hadoop.hdfs.server.namenode.FSNamesystem.deleteInternal (FSNamesystem.java:1696)
       at
org.apache.hadoop.hdfs.server.namenode.FSNamesystem.delete (FSNamesystem.java:1676)
       at
org.apache.hadoop.hdfs.server.namenode.NameNode.delete (NameNode.java:517)
       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:508)
       at org.apache.hadoop.ipc.Server$Handler$1.run(Server.java:959)
       at org.apache.hadoop.ipc.Server$Handler$1.run(Server.java:955)
       at java.security.AccessController.doPrivileged(Native Method)
       at javax.security.auth.Subject.doAs(Subject.java:396)
       at org.apache.hadoop.ipc.Server$Handler.run(Server.java:953)

the same message have appear 10 times,the the safemode is off
[r...@cent52ip32 hadoop]# bin/hadoop dfsadmin -safemode get
Safe mode is OFF

I don't know the reason,please help me.
thanks very much.


--
View this message in context: 
http://www.nabble.com/fuse%3AThe-ratio-of-reported-blocks-0.0000-has-not-reached-the-threshold-0.9990-tp25868687p25921487.html
Sent from the Hadoop core-user mailing list archive at Nabble.com.

Attachment: smime.p7s
Description: S/MIME cryptographic signature

Reply via email to