I have tried all the different solutions provided at stackoverflow on this topic, but of no help Asking again with the specific log and the details
Any help is apprecia
1) name node directory you should be owner and give chmod 750 appropriately
2)stop all services
3)use hadoop namenode -format to format namenode
4)add this to hdfs-site.xml
dfs.data.dir
path/to/hadooptmpfolder/dfs/name/data
true
dfs.name.dir
path/to/hadooptmpfolder/dfs/name
true
5) to run hadoop namenode -format
add export PATH=$PATH:/usr/local/hadoop/bin/
in ~/.bashrc
wherever hadoop is unzip add that in path