seams no datanode is coming~~no block is reported, so hdfs is in safemode
check if datanode is up, and network between namenode and datanode is fine~~

2009/10/13 yibo820217 <[email protected]>

>
> hi,recently,i got some problem.
> at first,I start the hadoop
> #bin/start-all.sh
> then,I mount hdfs to local
> #fuse_dfs_wrapper.sh dfs://cent52ip32:9000/ /dfs-test/
> In /dfs-test,I do some work,like touch,mkdir,rm
> 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)
>
>
> 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-tp25868687p25868687.html
> Sent from the Hadoop core-user mailing list archive at Nabble.com.
>
>

Reply via email to