Uploaded image for project: 'Ambari'
  1. Ambari
  2. AMBARI-24227

Add Namespace: Hive Metastore fails to start because NN is in safemode

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Invalid
    • 2.7.0
    • 2.7.0
    • None
    • None

    Description

      Add Namespace: Hive Metastore fails to start because NN is in safemode

      18/06/29 10:43:41 INFO retry.RetryInvocationHandler: org.apache.hadoop.ipc.RemoteException(org.apache.hadoop.ipc.RetriableException): org.apache.hadoop.hdfs.server.namenode.SafeModeException: Cannot modify ACL entries on /warehouse/tablespace/external/hive. Name node is in safe mode.
      The reported blocks 0 needs additional 1791 blocks to reach the threshold 1.0000 of total blocks 1791.
      The number of live datanodes 0 has reached the minimum number 0. Safe mode will be turned off automatically once the thresholds have been reached. NamenodeHostName:<host>
      	at org.apache.hadoop.hdfs.server.namenode.FSNamesystem.checkNameNodeSafeMode(FSNamesystem.java:1441)
      	at org.apache.hadoop.hdfs.server.namenode.FSNamesystem.modifyAclEntries(FSNamesystem.java:7112)
      	at org.apache.hadoop.hdfs.server.namenode.NameNodeRpcServer.modifyAclEntries(NameNodeRpcServer.java:2045)
      	at org.apache.hadoop.hdfs.protocolPB.ClientNamenodeProtocolServerSideTranslatorPB.modifyAclEntries(ClientNamenodeProtocolServerSideTranslatorPB.java:1442)
      	at org.apache.hadoop.hdfs.protocol.proto.ClientNamenodeProtocolProtos$ClientNamenodeProtocol$2.callBlockingMethod(ClientNamenodeProtocolProtos.java)
      	at org.apache.hadoop.ipc.ProtobufRpcEngine$Server$ProtoBufRpcInvoker.call(ProtobufRpcEngine.java:523)
      	at org.apache.hadoop.ipc.RPC$Server.call(RPC.java:991)
      	at org.apache.hadoop.ipc.Server$RpcCall.run(Server.java:872)
      	at org.apache.hadoop.ipc.Server$RpcCall.run(Server.java:818)
      	at java.security.AccessController.doPrivileged(Native Method)
      	at javax.security.auth.Subject.doAs(Subject.java:422)
      	at org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1688)
      	at org.apache.hadoop.ipc.Server$Handler.run(Server.java:2678)
      Caused by: org.apache.hadoop.hdfs.server.namenode.SafeModeException: Cannot modify ACL entries on /warehouse/tablespace/external/hive. Name node is in safe mode.
      The reported blocks 0 needs additional 1791 blocks to reach the threshold 1.0000 of total blocks 1791.
      The number of live datanodes 0 has reached the minimum number 0. Safe mode will be turned off automatically once the thresholds have been reached.
      

      Attachments

        Activity

          People

            avijayan Aravindan Vijayan
            vrathod Vivek Rathod
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: