Vivek Rathod created AMBARI-24227:
-------------------------------------
Summary: Add Namespace: Hive Metastore fails to start because NN
is in safemode
Key: AMBARI-24227
URL: https://issues.apache.org/jira/browse/AMBARI-24227
Project: Ambari
Issue Type: Bug
Affects Versions: 2.7.0
Reporter: Vivek Rathod
Fix For: 2.7.0
Add Namespace: Hive Metastore fails to start because NN is in safemode
{code}
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.
{code}
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)