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, 2019 in Big Data Hadoop by Na
1,699 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, 2019 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

0 votes
1 answer
0 votes
2 answers
+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
• 11,380 points
5,503 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
• 11,380 points
457 views
+1 vote
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
• 11,380 points
7,442 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
• 11,380 points
1,218 views
+2 votes
11 answers

hadoop fs -put command?

Hi, You can create one directory in HDFS ...READ MORE

answered Mar 16, 2018 in Big Data Hadoop by nitinrawat895
• 11,380 points
55,765 views
–1 vote
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,390 points
2,801 views
0 votes
1 answer