AnsweredAssumed Answered

DEV 301 Exercise 3.1 - mkdirs failed for /var/mapr/cluster/mapred/jobTracker/staging/user01/.staging

Question asked by abisaria on Oct 25, 2015
Latest reply on Jan 22, 2016 by maprcommunity
Guys, i am trying to complete Exercise 3.3 and got below error while rerunning the code, it looks like permission error.  anyone knows how to fix it ? please let me know. Thanks.

[user01@maprdemo RECEIPTS_LAB]$ ./
2015-10-25 16:54:03,0312 ERROR JniCommon fs/client/fileclient/cc/ Thread: 21305 mkdirs failed for /var/mapr/cluster/mapred/jobTracker/staging/user01/.staging, error 13
Exception in thread "main" User user01(user id 2001)  has been denied access to create .staging
        at com.mapr.fs.MapRFileSystem.makeDir(
        at com.mapr.fs.MapRFileSystem.mkdirs(
        at org.apache.hadoop.mapreduce.JobSubmissionFiles.getStagingDir(
        at org.apache.hadoop.mapred.JobClient$
        at org.apache.hadoop.mapred.JobClient$
        at Method)
        at org.apache.hadoop.mapred.JobClient.submitJobInternal(
        at org.apache.hadoop.mapreduce.Job.submit(
        at org.apache.hadoop.mapreduce.Job.waitForCompletion(
        at Receipts.ReceiptsDriver.main(
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(
        at java.lang.reflect.Method.invoke(
        at org.apache.hadoop.util.RunJar.main(
[user01@maprdemo RECEIPTS_LAB]$