Map reduce job getting stuck at map 0% reduce 0%
hadoop, mapreduce
Solution
The tasktracker seems to be missing.
Try:
hadoop tasktracker &
Problem
I am running the famous wordcount example. I have a local and prod hadoop setup. The same example is working in prod, but its not working locally. Can someone tell me what should I look for. The job is getting stuck. The task logs are: ``` ~/tmp$ hadoop jar wordcount.jar WordCount /testhistory /outputtest/test Warning: $HADOOP_HOME is deprecated. 13/08/29 16:12:34 WARN mapred.JobClient: Use GenericOptionsParser for parsing the arguments. Applications should implement Tool for the same. 13/08/29 16:12:35 INFO input.FileInputFormat: Total input paths to process : 3 13/08/29 16:12:35 INFO util.NativeCodeLoader: Loaded the native-hadoop library 13/08/29 16:12:35 WARN snappy.LoadSnappy: Snappy native library not loaded 13/08/29 16:12:35 INFO mapred.JobClient: Running job: job_201308291153_0015 13/08/29 16:12:36 INFO mapred.JobClient: map 0% reduce 0% ``` Locally hadoop in running as pseudo distributed mode. All the 3 processes, namenode, datanode, jobtracker is running. Let me know if some extra information is required.