Adding to Robert's comments.

MR action is preferable because the job started by MR action can be managed 
(includes the storing and access of job counters) through Oozie. On the other 
hand, the MR job submitted by Java action is not trackable through Oozie.

It is highly recommended to use MR action.

Regards,
Mohammad


From: Robert Kanter <[email protected]>
To: [email protected] 
Sent: Thursday, November 1, 2012 1:11 PM
Subject: Re: What is the difference between java action and mapreduce action
 
Hi,

I'm guessing that the preferred method is the MR action; its certainly
easier because you don't need to write your own driver class.  Either way
should be executed the same on the Hadoop cluster.

- Robert


On Thu, Nov 1, 2012 at 9:39 AM, SingleTon <[email protected]> wrote:

> Map Reduce job can be submitted using either MapReduce driver class
> with java action OR mapreduce action with Mapper & Reducer.
> Is there any difference between these two with respect to how the job
> executed on Hadoop cluster?
> Also. Which is a proffered method?
>
> I noticed when java action is used to run MapReduce driver class some of
> the third party libraries were not available for Reduce tasks.
>
> Thanks,
> BA
>

Reply via email to