You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@oozie.apache.org by SingleTon <qr...@virginmedia.com> on 2012/11/01 17:39:28 UTC

What is the difference between java action and mapreduce action

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

Re: What is the difference between java action and mapreduce action

Posted by Mohammad Islam <mi...@yahoo.com>.
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 <rk...@cloudera.com>
To: user@oozie.apache.org 
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 <qr...@virginmedia.com> 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
>

Re: What is the difference between java action and mapreduce action

Posted by Robert Kanter <rk...@cloudera.com>.
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 <qr...@virginmedia.com> 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
>