Hadoop error: can not start-all.sh

–1 vote

I have set all the properties and I am trying to start the Hadoop daemons. But I am getting the following error:

hduser@sepdau:/home/hadoop$ start-all.sh
mkdir: cannot create directory `/var/run/hadoop': Permission denied
Jan 11 in Big Data Hadoop by digger
• 26,600 points
195 views

1 answer to this question.

0 votes

Try adding

<property>
  <name>dfs.name.dir</name>
   <value>/path/to/hdfs/dir</value>
 </property>

to hdfs-site.xml and try again

answered Jan 11 by Omkar
• 68,480 points

Related Questions In Big Data Hadoop

0 votes
2 answers

start-dfs.sh command is not starting Hadoop JobTracker & TaskTracker

On which version of hadoop do you ...READ MORE

answered Jul 24 in Big Data Hadoop by Lokesh Singh
818 views
0 votes
1 answer

can't find start-all.sh in hadoop installation

Actually, you are not mentioning the path for ...READ MORE

answered Apr 17, 2018 in Big Data Hadoop by nitinrawat895
• 10,800 points
1,895 views
0 votes
1 answer

Hadoop Mapreduce word count Program

Firstly you need to understand the concept ...READ MORE

answered Mar 16, 2018 in Data Analytics by nitinrawat895
• 10,800 points
3,580 views
0 votes
1 answer

hadoop.mapred vs hadoop.mapreduce?

org.apache.hadoop.mapred is the Old API  org.apache.hadoop.mapreduce is the ...READ MORE

answered Mar 16, 2018 in Data Analytics by nitinrawat895
• 10,800 points
455 views
+1 vote
11 answers

hadoop fs -put command?

put syntax: put <localSrc> <dest> copy syntax: copyFr ...READ MORE

answered Dec 7, 2018 in Big Data Hadoop by Aditya
18,444 views
0 votes
1 answer

Hadoop dfs -ls command?

In your case there is no difference ...READ MORE

answered Mar 16, 2018 in Big Data Hadoop by kurt_cobain
• 9,280 points
1,334 views
0 votes
1 answer

Hadoop: Can not start namenode: Unable to load native-hadoop library for your platform

The entries in your .bashrc file looks ...READ MORE

answered Dec 5, 2018 in Big Data Hadoop by Omkar
• 68,480 points
282 views
0 votes
1 answer

Not able to start namenode with ./start-all.sh

Try this: stop all the daemons: ./stop-all.sh format the namenode: cd ...READ MORE

answered Jan 3 in Big Data Hadoop by Omkar
• 68,480 points
64 views