abhishekkarigar commented on PR #4744:
URL: https://github.com/apache/hadoop/pull/4744#issuecomment-1224559583
@ZanderXu
hi one more question,
i am setting up HA namenode on kubernetes
on the standby namenode , i triggered the bootstrapStandby
$ hdfs namenode -bootstrapStandby
and i get the following error
}{"name":"org.apache.hadoop.hdfs.server.namenode.NameNode","time":1661279164420,"date":"2022-08-23
18:26:04,420","level":"INFO","thread":"main","message":"registered UNIX signal
handlers for [TERM, HUP,
INT]"}{"name":"org.apache.hadoop.hdfs.server.namenode.NameNode","time":1661279164532,"date":"2022-08-23
18:26:04,532","level":"INFO","thread":"main","message":"createNameNode
[-bootstrapStandby]"}{"name":"org.apache.hadoop.hdfs.server.namenode.ha.BootstrapStandby","time":1661279164846,"date":"2022-08-23
18:26:04,846","level":"INFO","thread":"main","message":"Found nn:
apache-hadoop-namenode-0.apache-hadoop-namenode.nom-backend.svc.cluster.local,
ipc:
hdfs:8020"}{"name":"org.apache.hadoop.hdfs.server.namenode.NameNode","time":1661279164847,"date":"2022-08-23
18:26:04,847","level":"ERROR","thread":"main","message":"Failed to start
namenode.","exceptionclass":"java.io.IOException","stack":["java.io.IOException:
java.lang.NullPointerException","\tat org.apache.hadoop.hdfs.server.nameno
de.ha.BootstrapStandby.run(BootstrapStandby.java:549)","\tat
org.apache.hadoop.hdfs.server.namenode.NameNode.createNameNode(NameNode.java:1741)","\tat
org.apache.hadoop.hdfs.server.namenode.NameNode.main(NameNode.java:1834)","Caused
by: java.lang.NullPointerException","\tat
org.apache.hadoop.hdfs.server.namenode.ha.BootstrapStandby.parseConfAndFindOtherNN(BootstrapStandby.java:435)","\tat
org.apache.hadoop.hdfs.server.namenode.ha.BootstrapStandby.run(BootstrapStandby.java:114)","\tat
org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:81)","\tat
org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:95)","\tat
org.apache.hadoop.hdfs.server.namenode.ha.BootstrapStandby.run(BootstrapStandby.java:544)","\t...
2
more"]}{"name":"org.apache.hadoop.util.ExitUtil","time":1661279164850,"date":"2022-08-23
18:26:04,850","level":"INFO","thread":"main","message":"Exiting with status 1:
java.io.IOException:
java.lang.NullPointerException"}{"name":"org.apache.hadoop.hdfs.server.namenode.NameNode"
,"time":1661279164852,"date":"2022-08-23
18:26:04,852","level":"INFO","thread":"shutdown-hook-0","message":"SHUTDOWN_MSG:
\n/************************************************************\nSHUTDOWN_MSG:
Shutting down NameNode at
apache-hadoop-namenode-1.apache-hadoop-namenode.nom-backend.svc.cluster.local/10.129.2.45\n
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]