您现在的位置 >> Hadoop教程 >> Hadoop实战 >> 专题  
 

org.apache.hadoop.hdfs.server.namenode.SafeModeException: Cannot rename /hbas...

【作者:Hadoop实战专家】【关键词:问题 代码 】 【点击:73060次】【2014-02-2】
复制代码  

相关热门搜索:ha

大数据标签:hadoop hdfs hbase bigdata

1. 2013-12-08 21:52:34,172 INFO org.apache.hadoop.ipc.Server: IPC Server handler 4 on 9000, call rename(/hbase/.logs/localhost.localdomain,60020,1386506622257, /hbase/.logs/localhost.localdomain,60020,1386506622257-splitting) from 192.168.0.101:42882: error: org.apache.hadoop.hdfs.server.namenode.SafeModeException: Cannot rename /hbase/.logs/localhost.localdomain,60020,1386506622257. Name node is in safe mode.

2. The ratio of reported blocks 0.9792 has not reached the threshold 0.9990. Safe mode will be turned off automatically.

3. org.apache.hadoop.hdfs.server.namenode.SafeModeException: Cannot rename /hbase/.logs/localhost.localdomain,60020,1386506622257. Name node is in safe mode.

4. The ratio of reported blocks 0.9792 has not reached the threshold 0.9990. Safe mode will be turned off automatically.

5.         at org.apache.hadoop.hdfs.server.namenode.FSNamesystem.renameToInternal(FSNamesystem.java:1944)

6.         at org.apache.hadoop.hdfs.server.namenode.FSNamesystem.renameTo(FSNamesystem.java:1929)

7.         at org.apache.hadoop.hdfs.server.namenode.NameNode.rename(NameNode.java:772)

8.         at sun.reflect.GeneratedMethodAccessor3.invoke(Unknown Source)

9.         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

10.         at java.lang.reflect.Method.invoke(Method.java:597)

11.         at org.apache.hadoop.ipc.RPC$Server.call(RPC.java:563)

12.         at org.apache.hadoop.ipc.Server$Handler$1.run(Server.java:1388)

13.         at org.apache.hadoop.ipc.Server$Handler$1.run(Server.java:1384)

14.         at java.security.AccessController.doPrivileged(Native Method)

15.         at javax.security.auth.Subject.doAs(Subject.java:396)

16.         at org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1121)

17.         at org.apache.hadoop.ipc.Server$Handler.run(Server.java:1382)

复制代码
今天遇到上面问题,找了一圈才是namenode安全模式问题。

1. hadoop dfsadmin -safemode leave

复制代码

大数据系列相关文章:

最新评论
信仰2014-09-10 12:01:57
我的eclipse和hadoop建立链接后怎么不能直接用eclipse在hdfs里创建文件
疯魔舞2014-09-10 03:51:20
市场行情
泡沫2014-09-09 12:29:29
侧影。。。
江宇_曾经燕回2014-09-08 03:32:25
求别提汇编+1
小纯2014-09-08 01:21:41
然后呢
 
  • Hadoop生态系统资料推荐