Localhost 50070 not working



0
Steps followed:

1. Format:

[acrajesh@localhost hadoop]$ bin/hdfs namenode –format
15/10/04 18:28:54 INFO namenode.NameNode: STARTUP_MSG:
...
STARTUP_MSG: java = 1.8.0_60
************************************************************/
15/10/04 18:28:54 INFO namenode.NameNode: registered UNIX signal handlers for [TERM, HUP, INT]
15/10/04 18:28:54 INFO namenode.NameNode: createNameNode [–format]
Usage: java NameNode [-backup] |
[-checkpoint] |
[-format [-clusterid cid ] [-force] [-nonInteractive] ] |
[-upgrade [-clusterid cid] [-renameReserved] ] |
[-upgradeOnly [-clusterid cid] [-renameReserved] ] |
[-rollback] |
[-rollingUpgrade ] |
[-finalize] |
[-importCheckpoint] |
[-initializeSharedEdits] |
[-bootstrapStandby] |
[-recover [ -force] ] |
[-metadataVersion ] ]

15/10/04 18:28:54 INFO namenode.NameNode: SHUTDOWN_MSG:
/************************************************************
SHUTDOWN_MSG: Shutting down NameNode at localhost/127.0.0.1
************************************************************/

2. Start Services:
[acrajesh@localhost hadoop]$ sbin/start-dfs.sh
Starting namenodes on [localhost]
acrajesh@localhost's password:
localhost: starting namenode, logging to /usr/lib/hadoop/logs/hadoop-acrajesh-namenode-localhost.localdomain.out
acrajesh@localhost's password:
localhost: starting datanode, logging to /usr/lib/hadoop/logs/hadoop-acrajesh-datanode-localhost.localdomain.out
Starting secondary namenodes [0.0.0.0]
acrajesh@0.0.0.0's password:
0.0.0.0: starting secondarynamenode, logging to /usr/lib/hadoop/logs/hadoop-acrajesh-secondarynamenode-localhost.localdomain.out


I tried opening the port::
iptables -A INPUT -p tcp --dport 50070 -j ACCEPT

The netstat doesnt show 50070 as established

Installed Hadoop 2.7.1


1 Answer(s)


0

hi Rajesh,

Please try accessing this url from the browser in the Linux -> http://localhost:50070/dfshealth.jsp. If you are able to see the page, check the logs for the namenode, there might be some error being thrown.