You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@oozie.apache.org by "Mona Chitnis (JIRA)" <ji...@apache.org> on 2014/01/16 03:36:19 UTC
[jira] [Updated] (OOZIE-1644) Default config from
config-default.xml or global section is not propagated to actions
[ https://issues.apache.org/jira/browse/OOZIE-1644?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Mona Chitnis updated OOZIE-1644:
--------------------------------
Attachment: OOZIE-1644-2.patch
Updated patch with unit test
> Default config from config-default.xml or global section 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
>
>
> 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)