AnsweredAssumed Answered

Problems running sample wordcount on MapR Virtual Machine

Question asked by nk2012 on May 16, 2012
Latest reply on Mar 1, 2015 by nandub4u
Hi,

I recently installed the MapR Virtual Machine and as a first step tried to run the wordcount sample as per the instructions called out in the documentation. However I am seeing an exception:
<pre>
mapr@mapr-desktop:~$ hadoop jar /opt/mapr/hadoop/hadoop-0.20.2/hadoop-0.20.2-dev-examples.jar wordcount /myvolume/in /myvolume/out
12/05/16 22:16:35 INFO fs.JobTrackerWatcher: Current running JobTracker is: mapr-desktop/127.0.1.1:9001
12/05/16 22:16:36 INFO ipc.Client: Retrying connect to server: mapr-desktop/127.0.1.1:9001. Already tried 0 time(s).
12/05/16 22:16:37 INFO ipc.Client: Retrying connect to server: mapr-desktop/127.0.1.1:9001. Already tried 1 time(s).
12/05/16 22:16:38 INFO ipc.Client: Retrying connect to server: mapr-desktop/127.0.1.1:9001. Already tried 2 time(s).
12/05/16 22:16:39 INFO ipc.Client: Retrying connect to server: mapr-desktop/127.0.1.1:9001. Already tried 3 time(s).
12/05/16 22:16:40 INFO ipc.Client: Retrying connect to server: mapr-desktop/127.0.1.1:9001. Already tried 4 time(s).
12/05/16 22:16:41 INFO ipc.Client: Retrying connect to server: mapr-desktop/127.0.1.1:9001. Already tried 5 time(s).
12/05/16 22:16:42 INFO ipc.Client: Retrying connect to server: mapr-desktop/127.0.1.1:9001. Already tried 6 time(s).
12/05/16 22:16:43 INFO ipc.Client: Retrying connect to server: mapr-desktop/127.0.1.1:9001. Already tried 7 time(s).
12/05/16 22:16:44 INFO ipc.Client: Retrying connect to server: mapr-desktop/127.0.1.1:9001. Already tried 8 time(s).
12/05/16 22:16:45 INFO ipc.Client: Retrying connect to server: mapr-desktop/127.0.1.1:9001. Already tried 9 time(s).

12/05/16 22:16:45 INFO ipc.RPC: FailoverProxy: Server on mapr-desktop/127.0.1.1:9001 is lost due to java.net.SocketException: Call to mapr-desktop/127.0.1.1:9001 failed on socket exception in call getStagingAreaDir

12/05/16 22:16:45 INFO ipc.RPC: Searching for the Active Server ...
12/05/16 22:16:45 INFO ipc.RPC: Attempt# 1 . Trying to connect Server at mapr-desktop/127.0.1.1:9001
12/05/16 22:16:46 INFO ipc.Client: Retrying connect to server: mapr-desktop/127.0.1.1:9001. Already tried 0 time(s).
</pre>
I do know that the IP address for the mapr-desktop is 192.168.235.128 and possibly the IP address 127.0.1.1 needs to be changed to say 192.168.235.128. However the wordcount sample is a compiled java class file and I dont have access to the source code to be able to recompile it. I was wondering if there is another solution here? Of course I am making an assumption here that the problem is the IP address. If you think its something else, do share your thoughts.

Cheers,

Outcomes