oozie supports mapreduce actions and java actions.
You can use mapreduce-action for your job and mapreduce or java action to
validate the result.
Then you can use decision node to run fail or success (subsequent mapreduce
action) action.
Oozie does it out of the box.

2015-02-19 0:10 GMT+03:00 xeonmailinglist <[email protected]>:

> It is a pure map-reduce job.
> Can I create an oozie workflow in java with actions like mentioned?
>
>
>
> On 18-02-2015 21:02, Serega Sheypak wrote:
>
>> what is job?
>> Is it pure map-reduce | pig | hive?
>> Oozie is workflow runner and a kind of the cron (later oozie versions).
>> You can split you job in actions (oozie terminology).
>> 1. run smth
>> 2. validate result of smth
>> 3. decision node: if validation ok, then continue, else fail.
>>
>>
>> 2015-02-18 23:56 GMT+03:00 xeonmailinglist <[email protected]>:
>>
>>  I want to suspend a mapreduce job when the map tasks finish, execute some
>>> code to validated data, and resume the job.
>>> AFAIK, YARN doesn't have a way to suspend and resume running jobs. So I
>>> was in using oozie to do this.
>>>
>>> Is this possible in Oozie?
>>>
>>>
>>>
>>> On 18-02-2015 20:50, Serega Sheypak wrote:
>>>
>>>  are trying to do?
>>>> Generally, it works w/o any problems.
>>>>
>>>>
>>>
>

Reply via email to