AnsweredAssumed Answered

bin/hadoop jar hadoop-0.20.2-dev-examples.jar sleep -m 1 hangs on my Cluster MapR version 2.1.0.16877.GA

Question asked by amp on May 31, 2013
Latest reply on Jun 13, 2013 by amp
This what I see when I run the sample sleep job
<code>
$bin/hadoop jar hadoop-0.20.2-dev-examples.jar sleep -m 1
13/05/31 13:05:38 INFO fs.JobTrackerWatcher: Current running JobTracker is: <hostname>/<ip>:9001
13/05/31 13:05:39 INFO mapred.JobClient: Running job: job_201303181755_0058
13/05/31 13:05:40 INFO mapred.JobClient:  map 0% reduce 0%
13/05/31 13:08:26 INFO mapred.JobClient:  map 100% reduce 0%
</code>

Here is my Jobtracker Log.

<pre>
2013-05-31 13:08:20,178 INFO org.apache.hadoop.mapred.TaskTracker: LaunchTaskAction (registerTask): attempt_201303181755_0058_m_000000_0 task's state:UNASSIGNED
2013-05-31 13:08:20,179 INFO org.apache.hadoop.mapred.TaskTracker: Trying to launch : attempt_201303181755_0058_m_000000_0 which needs 1 slots
2013-05-31 13:08:20,179 INFO org.apache.hadoop.mapred.TaskTracker: In TaskLauncher, current free slots : 6 and trying to launch attempt_201303181755_0058_m_000000_0 which needs 1 slots
2013-05-31 13:08:21,924 INFO org.apache.hadoop.mapred.JvmManager: In JvmRunner constructed JVM ID: jvm_201303181755_0058_m_-382201005 2013-05-31 13:08:21,986 INFO org.apache.hadoop.mapred.JvmManager: JVM Runner jvm_201303181755_0058_m_-382201005 spawned.
2013-05-31 13:08:21,987 INFO org.apache.hadoop.mapred.TaskLog: MapR: Setup Cmds: export JVM_PID=`echo $$` export HADOOP_CLIENT_OPTS="-Dhadoop.tasklog.taskid=attempt_201303181755_0058_m_000000_0 -Dhadoop.tasklog.iscleanup=false -Dhadoop.tasklog.totalLogFileSize=0" export HADOOP_WORK_DIR="/tmp/mapr-hadoop/mapred/local/taskTracker/eserv/jobcache/job_201303181755_0058/attempt_201303181755_0058_m_000000_0/work" export HADOOP_TOKEN_FILE_LOCATION="/tmp/mapr-hadoop/mapred/local/taskTracker/eserv/jobcache/job_201303181755_0058/jobToken" export HADOOP_ROOT_LOGGER="INFO,maprfsTLA" export LD_LIBRARY_PATH="/tmp/mapr-hadoop/mapred/local/taskTracker/eserv/jobcache/job_201303181755_0058/attempt_201303181755_0058_m_000000_0/work:/opt/mapr/hadoop/hadoop-0.20.2/bin/../lib/native/Linux-amd64-64:" echo 10 > /proc/self/oom_score_adj;taskset -p -c 1-7 $$;renice -n 10 -p $$ 1>/dev/null;
2013-05-31 13:08:21,988 INFO org.apache.hadoop.mapred.TaskController: Writing commands to /tmp/mapr-hadoop/mapred/local/ttprivate/taskTracker/eserv/jobcache/job_201303181755_0058/attempt_201303181755_0058_m_000000_0/taskjvm.sh
2013-05-31 13:08:23,121 INFO org.apache.hadoop.mapred.TaskTracker: Setting pid 11171 for jvm jvm_201303181755_0058_m_-382201005 2013-05-31 13:08:23,123 INFO org.apache.hadoop.mapred.TaskTracker: JVM with ID: jvm_201303181755_0058_m_-382201005 given task: attempt_201303181755_0058_m_000000_0 2013-05-31 13:08:24,419 INFO org.apache.hadoop.mapred.TaskTracker: attempt_201303181755_0058_m_000000_0 2.0% Sleeping... (100) ms left
2013-05-31 13:08:24,421 INFO org.apache.hadoop.mapred.TaskTracker: Task attempt_201303181755_0058_m_000000_0 is done.
2013-05-31 13:08:24,421 INFO org.apache.hadoop.mapred.TaskTracker: reported output size for attempt_201303181755_0058_m_000000_0 was 8
2013-05-31 13:08:24,421 INFO org.apache.hadoop.mapred.TaskTracker: addFreeSlot : current free slots : 6 2013-05-31 13:08:34,651 INFO org.apache.hadoop.mapred.JvmManager: Killing Idle Jvm jvm_201303181755_0058_m_-382201005 #Tasks ran: 1
2013-05-31 13:08:34,893 INFO org.apache.hadoop.mapred.TaskTracker: Setting pid 11171 for jvm jvm_201303181755_0058_m_-382201005
2013-05-31 13:08:34,894 INFO org.apache.hadoop.mapred.TaskTracker: Killing unknown JVM jvm_201303181755_0058_m_-382201005
2013-05-31 13:09:24,298 WARN org.apache.hadoop.mapred.LinuxTaskController: Exit code from task is : 143
2013-05-31 13:09:24,298 INFO org.apache.hadoop.mapred.JvmManager: JVM : jvm_201303181755_0058_m_-382201005 exited with exit code 143. Number of tasks it ran: 1 `
</pre>
I basically a newbie to MapR. Can you please help me out here?
Thanks
-AP

Outcomes