
I configured hadoop setting in my box and worked with example programs everything went fine and worked well all the Daemons also is in the running state. On the next day morning Data node not running.

I configured hadoop setting in my box and worked with example programs everything went fine and worked well all the Daemons also is in the running state. On the next day morning Data node not running.
On
I solved this problem in the following way:
1.By writing "localhost" in the file "hostname" which is located at /etc. And restart once it will work fine.
stop all services. Add hostname to conf/slaves and run start-all.sh