I am a beginner in Hadoop.
Two big issues that I am trying to fix are :-
1.)While starting hadoop through cmd (start-all.cmd
) my namenode is not starting. It is showing the below error .
SHUTDOWN_MSG :Shutting down NameNode at Admin/192.168.1.6
I tried to fix it by following the below steps :-
a) Firstly getting the host name of my computer. It can be obtained by running $hostname
command. My hostname is Admin. Then adding 192.168.1.6
localhost hostname into the /etc/hosts
file.
But I am not getting file named hosts in etc folder. I am confused on whether I have to create a file (.txt
) in etc folder or I need to do anything else ?
2.) Also, on my analysis, I checked that while firing the command (start-all.cmd
), three folders are being created automatically, i.e, hortonworks, USER and tmp. I am wondering about the reason. Please help.