Support Questions
Find answers, ask questions, and share your expertise

Who agreed with this topic

Getting Error while strating Namnenode

New Contributor

HI,

 

I am getting following error while starting Namenode using the command "sudo service hadoop-hdfs-namenode start" in security enabled cdh5 hadoop. Please help me.

 

 

2014-09-06 04:21:33,245 INFO org.apache.hadoop.http.HttpServer2: HttpServer.start() threw a non Bind IOException
java.io.FileNotFoundException: /var/lib/hadoop-hdfs/.keystore (No such file or directory)
        at java.io.FileInputStream.open(Native Method)
        at java.io.FileInputStream.<init>(FileInputStream.java:146)
        at org.mortbay.resource.FileResource.getInputStream(FileResource.java:275)
        at org.mortbay.jetty.security.SslSocketConnector.createFactory(SslSocketConnector.java:242)
        at org.mortbay.jetty.security.SslSocketConnector.newServerSocket(SslSocketConnector.java:476)
        at org.mortbay.jetty.bio.SocketConnector.open(SocketConnector.java:73)
        at org.apache.hadoop.http.HttpServer2.openListeners(HttpServer2.java:845)
        at org.apache.hadoop.http.HttpServer2.start(HttpServer2.java:786)
        at org.apache.hadoop.hdfs.server.namenode.NameNodeHttpServer.start(NameNodeHttpServer.java:132)
        at org.apache.hadoop.hdfs.server.namenode.NameNode.startHttpServer(NameNode.java:662)
        at org.apache.hadoop.hdfs.server.namenode.NameNode.initialize(NameNode.java:552)
        at org.apache.hadoop.hdfs.server.namenode.NameNode.<init>(NameNode.java:720)
        at org.apache.hadoop.hdfs.server.namenode.NameNode.<init>(NameNode.java:704)
        at org.apache.hadoop.hdfs.server.namenode.NameNode.createNameNode(NameNode.java:1354)
        at org.apache.hadoop.hdfs.server.namenode.NameNode.main(NameNode.java:1420)
2014-09-06 04:21:33,248 INFO org.apache.hadoop.metrics2.impl.MetricsSystemImpl: Stopping NameNode metrics system...
2014-09-06 04:21:33,248 INFO org.apache.hadoop.metrics2.impl.MetricsSystemImpl: NameNode metrics system stopped.
2014-09-06 04:21:33,249 INFO org.apache.hadoop.metrics2.impl.MetricsSystemImpl: NameNode metrics system shutdown complete.
2014-09-06 04:21:33,249 FATAL org.apache.hadoop.hdfs.server.namenode.NameNode: Exception in namenode join
java.io.FileNotFoundException: /var/lib/hadoop-hdfs/.keystore (No such file or directory)
        at java.io.FileInputStream.open(Native Method)
        at java.io.FileInputStream.<init>(FileInputStream.java:146)
        at org.mortbay.resource.FileResource.getInputStream(FileResource.java:275)
        at org.mortbay.jetty.security.SslSocketConnector.createFactory(SslSocketConnector.java:242)
        at org.mortbay.jetty.security.SslSocketConnector.newServerSocket(SslSocketConnector.java:476)
        at org.mortbay.jetty.bio.SocketConnector.open(SocketConnector.java:73)
        at org.apache.hadoop.http.HttpServer2.openListeners(HttpServer2.java:845)
        at org.apache.hadoop.http.HttpServer2.start(HttpServer2.java:786)
        at org.apache.hadoop.hdfs.server.namenode.NameNodeHttpServer.start(NameNodeHttpServer.java:132)
        at org.apache.hadoop.hdfs.server.namenode.NameNode.startHttpServer(NameNode.java:662)
        at org.apache.hadoop.hdfs.server.namenode.NameNode.initialize(NameNode.java:552)
        at org.apache.hadoop.hdfs.server.namenode.NameNode.<init>(NameNode.java:720)
        at org.apache.hadoop.hdfs.server.namenode.NameNode.<init>(NameNode.java:704)
        at org.apache.hadoop.hdfs.server.namenode.NameNode.createNameNode(NameNode.java:1354)
        at org.apache.hadoop.hdfs.server.namenode.NameNode.main(NameNode.java:1420)
2014-09-06 04:21:33,251 INFO org.apache.hadoop.util.ExitUtil: Exiting with status 1
2014-09-06 04:21:33,252 INFO org.apache.hadoop.hdfs.server.namenode.NameNode: SHUTDOWN_MSG:
/************************************************************
SHUTDOWN_MSG: Shutting down NameNode at xxxxxxxx

Who agreed with this topic