Question

I am installing hadoop v2.2 first time from this tutorial ( link ).

My namenode is running fine on http://localhost:50070/
But my datanode is not running : http://localhost:50030/ .

Please tell me if you need the output of any command.

Thanks

Was it helpful?

Solution

Try this for hadoop 2.2.0 installation guide on linux machines

http://nextgenhadoop.blogspot.in/2013/10/steps-to-install-hadoop-220-stable.html

OTHER TIPS

  1. first stop all the entities like namenode, datanode etc. (you will be having some script or command to do that)
  2. Format tmp directory
  3. Go to /var/cache/hadoop-hdfs/hdfs/dfs/ and delete all the contents in the directory manually
  4. Now format your namenode again
  5. start all the entities then use jps command to confirm that the datanode has been started
  6. Now run whichever application you may like or have.

Hope this helps.

Your datanode may be running but i think Web UI which u written is not correct for it so first try "jps" command in terminal.

if it is not showing datanode then

  • stop daemons(by stop-dfs.sh )
  • Clear all content in the folder "mydata/hdfs/datanode"(according to your link)
  • run a command "start-dfs.sh"

May this work.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top