-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/15660/
-----------------------------------------------------------
(Updated Nov. 25, 2013, 6:29 p.m.)
Review request for oozie.
Changes
-------
root cause is yarn.app.mapreduce.am.env does not include PATH=./$PATH.
shellAction set mapred.child.env=PATH./$PATH, but in uber mode, it was not
properly copied to yarn.app.mapreduce.am.env
Bugs: OOZIE-1615
https://issues.apache.org/jira/browse/OOZIE-1615
Repository: oozie
Description
-------
https://issues.apache.org/jira/browse/OOZIE-1615
reason is, PATH doesn't include current directory in Uberized launcher.
currently shell action simply execute exec file name like "script.sh", hitting
'No such file or directory'
solution is to use absolute path of exec file
Diffs (updated)
-----
trunk/core/src/main/java/org/apache/oozie/action/hadoop/JavaActionExecutor.java
1545347
trunk/core/src/test/java/org/apache/oozie/action/hadoop/TestShellActionExecutor.java
1545347
Diff: https://reviews.apache.org/r/15660/diff/
Testing
-------
tested sample workflows (including shell action) with uber on/off using Hadoop
hadoop-2.2.1 cluster, made sure both work.
Thanks,
Ryota Egashira