Following are the Logs: 2015-07-29 02:01:22,126 FATAL org.apache.hadoop.hdfs.server.namenode.NameNode: Failed to start namenode. java.net.BindException: Port in use: 0.0.0.0:50070 at org.apache.hadoop.http.HttpServer2.openListeners(HttpServer2.java:891) at org.apache.hadoop.http.HttpServer2.start(HttpServer2.java:827) at org.apache.hadoop.hdfs.server.namenode.NameNodeHttpServer.start(NameNodeHttpServer.java:142) at org.apache.hadoop.hdfs.server.namenode.NameNode.startHttpServer(NameNode.java:703) at org.apache.hadoop.hdfs.server.namenode.NameNode.initialize(NameNode.java:590) at org.apache.hadoop.hdfs.server.namenode.NameNode.<init>(NameNode.java:762) at org.apache.hadoop.hdfs.server.namenode.NameNode.<init>(NameNode.java:746) at org.apache.hadoop.hdfs.server.namenode.NameNode.createNameNode(NameNode.java:1438) at org.apache.hadoop.hdfs.server.namenode.NameNode.main(NameNode.java:1504) Caused by: java.net.BindException: Address already in use at sun.nio.ch.Net.bind0(Native Method) at sun.nio.ch.Net.bind(Net.java:463) at sun.nio.ch.Net.bind(Net.java:455) at sun.nio.ch.ServerSocketChannelImpl.bind(ServerSocketChannelImpl.java:223) at sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:74) at org.mortbay.jetty.nio.SelectChannelConnector.open(SelectChannelConnector.java:216) at org.apache.hadoop.http.HttpServer2.openListeners(HttpServer2.java:886) ... 8 more 2015-07-29 02:01:22,128 INFO org.apache.hadoop.util.ExitUtil: Exiting with status 1 2015-07-29 02:01:22,129 INFO org.apache.hadoop.hdfs.server.namenode.NameNode: SHUTDOWN_MSG: /************************************************************ SHUTDOWN_MSG: Shutting down NameNode at aneela-Lenovo-G50-70/192.168.1.4 ************************************************************/
On Wed, Jul 29, 2015 at 1:53 AM, Aneela Saleem <ane...@platalytics.com> wrote: > hduser > > On Wed, Jul 29, 2015 at 1:51 AM, Don Bosco Durai <bo...@apache.org> wrote: > >> This seems to be one of the reason HDFS plugin is not enabled. As what >> user have you installed Hadoop? >> >> Thanks >> >> Bosco >> >> From: Aneela Saleem <ane...@platalytics.com> >> Reply-To: "user@ranger.incubator.apache.org" < >> user@ranger.incubator.apache.org> >> Date: Tuesday, July 28, 2015 at 1:31 PM >> To: "user@ranger.incubator.apache.org" <user@ranger.incubator.apache.org> >> Subject: Re: Error Setting up Ranger-Admin >> >> Also when i run *./enable-hdfs-plugin.sh * >> >> i get the following at the end: >> >> + بدھ جولاي 29 01:28:20 PKT 2015 : Saving current JCE file: >> /etc/ranger/hadoopdev/cred.jceks to >> /etc/ranger/hadoopdev/.cred.jceks.20150729012820 ... >> *chown: invalid user: ‘hdfs:hdfs’* >> Ranger Plugin for hadoop has been enabled. Please restart hadoop to >> ensure that changes are effective. >> >> >> >> >