I cannot start the namenode and datanode, earlier it was working fine, but then i had to restart the VM for some reason.
I tried both bin/start-all.sh and bin/start-dfs.sh.
You need to delete the contents of the temporary folder, then format the namenode.
rm -Rf <tmp dir>
bin/hadoop namenode -format
Hope it helps
You can do one thing,
first delete all ...READ MORE
For accessing Hadoop commands & HDFS, you ...READ MORE
Refer to the example given here. It's ...READ MORE
Stop all running server
Edit the ...READ MORE
Firstly you need to understand the concept ...READ MORE
org.apache.hadoop.mapred is the Old API
org.apache.hadoop.mapreduce is the ...READ MORE
You can create one directory in HDFS ...READ MORE
In your case there is no difference ...READ MORE
You can use Cloudera Manager to manage ...READ MORE
yarn application -list command shows you all ...READ MORE
Already have an account? Sign in.