apache-spark-on-k8s / kubernetes-HDFS

Repository holding configuration files for running an HDFS cluster in Kubernetes
Apache License 2.0
397 stars 185 forks source link

NameNode is not formatted. while using pvc, #65

Closed mr-robot-in closed 5 years ago

mr-robot-in commented 6 years ago

common.Storage: Lock on /hadoop/dfs/name/in_use.lock acquired by nodename 53087@192-168-5-97.logging-prometheus-node-exporter.logging.svc.cluster.local 18/11/27 09:32:03 WARN namenode.FSNamesystem: Encountered exception loading fsimage java.io.IOException: NameNode is not formatted. at org.apache.hadoop.hdfs.server.namenode.FSImage.recoverTransitionRead(FSImage.java:230) at org.apache.hadoop.hdfs.server.namenode.FSNamesystem.loadFSImage(FSNamesystem.java:1048) at org.apache.hadoop.hdfs.server.namenode.FSNamesystem.loadFromDisk(FSNamesystem.java:681) at org.apache.hadoop.hdfs.server.namenode.NameNode.loadNamesystem(NameNode.java:666) at org.apache.hadoop.hdfs.server.namenode.NameNode.initialize(NameNode.java:728) at org.apache.hadoop.hdfs.server.namenode.NameNode.<init>(NameNode.java:953) at org.apache.hadoop.hdfs.server.namenode.NameNode.<init>(NameNode.java:932) at org.apache.hadoop.hdfs.server.namenode.NameNode.createNameNode(NameNode.java:1673) at org.apache.hadoop.hdfs.server.namenode.NameNode.main(NameNode.java:1741) 18/11/27 09:32:03 INFO mortbay.log: Stopped HttpServer2$SelectChannelConnectorWithSafeStartup@0.0.0.0:50070 18/11/27 09:32:03 INFO impl.MetricsSystemImpl: Stopping NameNode metrics system... 18/11/27 09:32:03 INFO impl.MetricsSystemImpl: NameNode metrics system stopped. 18/11/27 09:32:03 INFO impl.MetricsSystemImpl: NameNode metrics system shutdown complete. 18/11/27 09:32:03 ERROR namenode.NameNode: Failed to start namenode. java.io.IOException: NameNode is not formatted.