AnsweredAssumed Answered

I am pursuing course  DEV 301  Developing Hadoop applications

Question asked by suhasw on Apr 30, 2015
Latest reply on May 4, 2015 by rlingaiah
I am pursuing course 'DEV 301 - Developing Hadoop applications' > Exercise 1.1 Run Wordcount.  It mentions about doing operations in folder '/user/user01' However I get access error when I try to access folder '/user'  -bash-4.1$ 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  2015-04-15 04:55:42,5733 ERROR Client fs/client/fileclient/cc/client.cc:394 Thread: 28684 Failed to initialize client for cluster training, error Connection reset by peer(104) 15/04/15 04:55:42 ERROR ipc.FailoverRPC: FailoverProxy: Failing this Call: getStagingAreaDir. Error while fetching JobTracker location java.io.IOException: Failed to get cluster information for maprfs:/// java.io.IOException: Failed to get cluster information for maprfs:/// at com.mapr.fs.MapRFileSystem.getJobTrackerAddrs(MapRFileSystem.java:2102) at org.apache.hadoop.ipc.FailoverRPC$FailoverInvoker.invoke(FailoverRPC.java:409) at org.apache.hadoop.mapred.$Proxy4.getStagingAreaDir(Unknown Source) at org.apache.hadoop.mapred.JobClient.getStagingAreaDir(JobClient.java:1323) at org.apache.hadoop.mapreduce.JobSubmissionFiles.getStagingDir(JobSubmissionFiles.java:102) at org.apache.hadoop.mapred.JobClient$2.run(JobClient.java:886) at org.apache.hadoop.mapred.JobClient$2.run(JobClient.java:880) at java.security.AccessController.doPrivileged(Native Method) at javax.security.auth.Subject.doAs(Subject.java:415) at org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1469) at org.apache.hadoop.mapred.JobClient.submitJobInternal(JobClient.java:880) at org.apache.hadoop.mapreduce.Job.submit(Job.java:574) at org.apache.hadoop.mapreduce.Job.waitForCompletion(Job.java:604) at org.apache.hadoop.examples.WordCount.main(WordCount.java:67) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at org.apache.hadoop.util.ProgramDriver$ProgramDescription.invoke(ProgramDriver.java:72) at org.apache.hadoop.util.ProgramDriver.run(ProgramDriver.java:145) at org.apache.hadoop.util.ProgramDriver.driver(ProgramDriver.java:153) at org.apache.hadoop.examples.ExampleDriver.main(ExampleDriver.java:76) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at org.apache.hadoop.util.RunJar.main(RunJar.java:212)

Outcomes