I have installed Hadoop 2.7.3 as per the following tutorial Digital ocean tutorial for installing hadoop in stand-alone mode. After installing i have started start-dfs.sh but when I started I got the following output.
Starting namenodes on [localhost]
jtech@localhost's password:
localhost: starting namenode, logging to /usr/local/hadoop/logs/hadoop-jtech-namenode-jtech.out
jtech@localhost's password:
localhost: starting datanode, logging to /usr/local/hadoop/logs/hadoop-jtech-datanode-jtech.out
Starting secondary namenodes [0.0.0.0]
[email protected]'s password:
0.0.0.0: starting secondarynamenode, logging to /usr/local/hadoop/logs/hadoop-jtech-secondarynamenode-jtech.out
But when I try to access urls from my web browser, for example, localhost:50030
or 0.0.0.0:50030
I get Unable to connect error in Firefox.
Update: Neither, did localhost:8088 did work as from the answer in the question stated in the comment.
Following along the official Single-Node setup documentation
Format the filesystem:
$ bin/hdfs namenode -format
Start NameNode daemon and DataNode daemon:
$ sbin/start-dfs.sh
Browse the web interface for the NameNode; by default it is available at:
NameNode - http://localhost:50070/
If you don't format the namenode, it won't start
Try going to the port 50070, http://localhost:50070. If that works HDFS is up and running. Since you are using > 2.2.0 there is no JobTracker. See jps
and you should see
$jps
Jps
NameNode
DataNode
ResourceManager
NodeManager
JobHistoryServer
See if you can get to the resource manager http port http://localhost:8088.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With