分享

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

lzw 2013-12-8 22:49:04 发表于 问题解答 [显示全部楼层] 回帖奖励 阅读模式 关闭右栏 0 6847
本帖最后由 nettman 于 2013-12-9 00:59 编辑
  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
复制代码
欢迎加入about云群9037177932227315139327136 ,云计算爱好者群,亦可关注about云腾讯认证空间||关注本站微信

没找到任何评论,期待你打破沉寂

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

关闭

推荐上一条 /2 下一条