[ 
https://issues.apache.org/jira/browse/OOZIE-1806?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13989673#comment-13989673
 ] 

Satish Mittal commented on OOZIE-1806:
--------------------------------------

Good point [~rohini]. I missed the fact that this patch would only work when 
sharelib is in default namenode. 

After the fix for OOZIE-1675, the method addToCache() was able to achieve the 
fine balance of a) working for both hadoop 0.20 and newer versions, b) handle 
scenarios when appPath points to non-default namenode, c) handle native 
binaries, jars with fragments etc. Later, this method call was replaced by 
explicit call to DistributedCache methods, thus causing the regression. [~puru] 
has also suggested on reviewboard to bring back addToCache, which I feel is the 
right thing.

I will upload a new patch that calls addToCache instead of explicit 
DistributedCache calls to restore the same state as OOZIE-1675.

> Java Action type jobs are failing with hadoop-0.20.0 and earlier versions on 
> oozie trunk
> ----------------------------------------------------------------------------------------
>
>                 Key: OOZIE-1806
>                 URL: https://issues.apache.org/jira/browse/OOZIE-1806
>             Project: Oozie
>          Issue Type: Bug
>    Affects Versions: 4.1.0
>            Reporter: Satish Mittal
>            Assignee: Satish Mittal
>            Priority: Blocker
>         Attachments: OOZIE-1806.patch.txt
>
>
> With oozie trunk, all java action type jobs are failing with hadoop 0.20.2 
> and earlier versions. This is a regression since oozie 4.0. The map tasks are 
> failing with ClassNotFoundException for OozieLauncherInputFormat.EmptySplit 
> class.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to