AnsweredAssumed Answered

DEV 301 - Exercise 1.1 - word count doesn't work

Question asked by saiamarreddy on Oct 15, 2015
Latest reply on Oct 25, 2015 by saiamarreddy

I am able to complete the below steps for Exercise 1.1 give in the PDF file.

1. Create a directory in your home directory as follows:
$ mkdir /user/user01/1.1

2.Create a file in that directory as follows.
echo "Hello world! Hello" > /user/user01/1.1/in.txt

But the third step of running the wordcount application against the file is failing.

 3. Run  the MRv1 version of the wordcount application against the input file.
  hadoop1 jar /opt/mapr/hadoop/hadoop-0.20.2/hadoop-0.20.2-dev-examples.jar wordcount /user/user01/1.1/in.txt /user/user01/1.1/OUT

I am getting mkdirs access failed errors. Unable to copy the error message from sandbox portal.

Brief error message given here.

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)

and so on...

Can someone please help me resolving this issue?