I am testing my MR jobs under a single node cluster. Once I installed mahout 9 version Mapreduce jobs stopped showing the progress in jobtracker.(Dont know if that happened after mahout installation)
When ever I run a job in my hadoop cluster it wont show the status in job tacker UI as previous and the execution log displaying in the console is also different (similar to mahout logs)
Why is it so?
Thanks In Advance.
Most probably you job might be running using LocalJobRunner. If your job is using
LocalJobRunner
you'll noticemapred.LocalJobRunner
events in the mapreduce job output. This could of couple of reasons:In case of MapReduce v1:
Make sure your
mapred-site.xml
has the propertymapred.job.tracker
and is pointing to appropriate JobTracker host and port:Generally, LocalJobRunner will be choosen by the mapreduce if the hadoop cannot read the property
mapreduce.framework.name
or if the property has been set tolocal
.If this does not pan out then try explicitly specifying the property using hadoop's generic command line option like:
In case of YARN and MapReduce v2:
If you are running MapReduce on top of YARN in that case, the job would be run by
LocalJobRunner
if you haven't specified the mapreduce framework name inmapred-site.xml
, so make sure you have the following property: