After I format Namenode in singlenode cluster, I am not able to see any any java process or hadoop daemnos running in my cluster..I have restarted the cluster many times. But it didn't work.
Please help me ASAP
How did you install Hadoop? If you're using any of the versions of CDH that were based on Hadoop 2.3, that file should exist. But if you used Cloudera Manager it may have installed using parcels, instead of Linux packages, in which case that file should be in /opt/cloudera/parcels/CDH/lib/hadoop/libexec/init-hdfs.sh. If you downloaded Hadoop direct from hadoop.apache.org or some other source, then here's a copy of the script for the last version of CDH that was based on Hadoop 2.3: https://github.com/cloudera/cdh-package/blob/cdh5-0.6.0_5.1.0/bigtop-packages/src/common/hadoop/init... It should set up everything the way YARN expects, but you might hit some minor differences between distributions.