" org.apache.hadoop.yarn.exceptions.YarnRuntimeException: Permissions incorrectly set for dir " problem

+1 vote

can someone explain me what's the reason for this? and how to fix it. I've looking the net but could'nt understand how to fix it. 

Sep 9 in Big Data Hadoop by Na
126 views

1 answer to this question.

+1 vote

This error is caused when hadoop tries to use a direct but it is not able to because the directory does not have suitable permissions. If you observe the error, you can see that the error states that the permissions are not right for the directory "/tmp/hadoop-ASUS/nm-local-dir/nmPrivate". The error has also mentioned the right permissions to be set to solve this error. Change the permissions of directory and the error will be solved. 

answered Sep 9 by Kumar
thank you so much for your answer!
how to change the permissions of directory?

You can change the permission of the directory using the chmod command. Syntax is as follows:

chmod <permissions> <path to directory>

In your case, it would be 

chmod 700 /tmp/hadoop-ASUS/nm-local-dir/nmPrivate
apologize, i'm using windows not linux. Do you know how to change it in windows?

Try this:

cacls "path/to/dir" /grant Users:F

Related Questions In Big Data Hadoop

+1 vote
1 answer

Where to set hadoop.tmp.dir? core-site.xml or hdfs-site.xml?

hadoop.tmp.dir (A base for other temporary directories) is ...READ MORE

answered Mar 26, 2018 in Big Data Hadoop by nitinrawat895
• 10,760 points
2,164 views
0 votes
1 answer

Apache Hadoop Yarn example program

You can go to this location $Yarn_Home/share/hadoop/mapreduce . You'll ...READ MORE

answered Apr 4, 2018 in Big Data Hadoop by nitinrawat895
• 10,760 points
250 views
0 votes
1 answer

How will you choose various file formats for storing and processing data using Apache Hadoop ?

The decision to choose a particular file ...READ MORE

answered Sep 27, 2018 in Big Data Hadoop by zombie
• 3,710 points
135 views
0 votes
1 answer

PIG - Found interface org.apache.hadoop.mapreduce.JobContext, but class was expected

Yes, it is a compatibility issue. in Hadoop ...READ MORE

answered Oct 10, 2018 in Big Data Hadoop by Omkar
• 68,180 points
114 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,760 points
3,548 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,760 points
439 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,128 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,314 views