Abhishek Goel
Abhishek Goel

Reputation: 19731

Hadoop 2.2 namenode running but datanode is not running

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

Upvotes: 2

Views: 6791

Answers (3)

The joker
The joker

Reputation: 189

  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.

Upvotes: 1

Rushikesh Garadade
Rushikesh Garadade

Reputation: 627

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.

Upvotes: 0

Naveen Subramani
Naveen Subramani

Reputation: 2184

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

Upvotes: 1

Related Questions