AnsweredAssumed Answered

DEV 301 - Exercise 1.1 - Failed to get cluster information for maprfs:///

Question asked by mailmustu on Mar 2, 2015
Latest reply on Mar 18, 2015 by hellshize
Hi,

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'. 

**Please confirm the correct folder is in '/home' directory not '/user'.**

-----------------------------------------------------------------------------------------------------------------

Also when I try to run the word count example, using this command:

> hadoop1 jar
> /opt/mapr/hadoop/hadoop-0.20.2/hadoop-0.20.2-dev-examples.jar wordcount /home/user01/1.1/in.txt
> /home/user01/1.1/OUT

I get following exception:

    2015-03-02 20:43:20,0981 ERROR Client fs/client/fileclient/cc/client.cc:394 Thread: 14381 Failed to initialize client for cluster training, error Connection reset by peer(104)
    15/03/02 20:43:20 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)

Kindly let me know what I am doing wrong ?

Regards,
Mustafa

Outcomes