[
https://issues.apache.org/jira/browse/OOZIE-1644?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13883037#comment-13883037
]
Mona Chitnis commented on OOZIE-1644:
-------------------------------------
[~rkanter] I will add this bit in the documentation regarding config-default.
Currently it specifies that it goes towards workflow job parameters, but will
extend this to say default action configuration too.
> Default config from config-default.xml is not propagated to actions
> -------------------------------------------------------------------
>
> Key: OOZIE-1644
> URL: https://issues.apache.org/jira/browse/OOZIE-1644
> Project: Oozie
> Issue Type: Sub-task
> Components: action
> Affects Versions: trunk
> Reporter: Mona Chitnis
> Assignee: Mona Chitnis
> Fix For: trunk
>
> Attachments: OOZIE-1644-1.patch, OOZIE-1644-2.patch,
> OOZIE-1644-4.patch, OOZIE-1644-5.patch, OOZIE-1644-6.patch
>
>
> Though OOZIE-1600 avoids getting one type of exception while running a
> workflow having action with no <configuration> tag, the problem is that the
> default config from config-default.xml is not propagated to actions.
> Action-conf is currently only getting read from action.xml.
> Following error was seen with launcher job
> {code}
> Failing Oozie Launcher, Main class
> [org.apache.oozie.action.hadoop.MapReduceMain], main() threw exception,
> Output directory not set in JobConf.
> org.apache.hadoop.mapred.InvalidJobConfException: Output directory not set in
> JobConf.
> at
> org.apache.hadoop.mapred.FileOutputFormat.checkOutputSpecs(FileOutputFormat.java:118)
> at
> org.apache.hadoop.mapreduce.JobSubmitter.checkSpecs(JobSubmitter.java:458)
> at
> org.apache.hadoop.mapreduce.JobSubmitter.submitJobInternal(JobSubmitter.java:342)
> at org.apache.hadoop.mapreduce.Job$10.run(Job.java:1268)
> at org.apache.hadoop.mapreduce.Job$10.run(Job.java:1265)
> at java.security.AccessController.doPrivileged(Native Method)
> at javax.security.auth.Subject.doAs(Subject.java:394)
> at
> org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1491)
> at org.apache.hadoop.mapreduce.Job.submit(Job.java:1265)
> at org.apache.hadoop.mapred.JobClient$1.run(JobClient.java:562)
> at org.apache.hadoop.mapred.JobClient$1.run(JobClient.java:557)
> at java.security.AccessController.doPrivileged(Native Method)
> at javax.security.auth.Subject.doAs(Subject.java:394)
> at
> org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1491)
> at
> org.apache.hadoop.mapred.JobClient.submitJobInternal(JobClient.java:557)
> at org.apache.hadoop.mapred.JobClient.submitJob(JobClient.java:548)
> at
> org.apache.oozie.action.hadoop.MapReduceMain.submitJob(MapReduceMain.java:92)
> {code}
> The actionConf needs to be copied over with WF Job default configs.
--
This message was sent by Atlassian JIRA
(v6.1.5#6160)