Details

    • Sub-task
    • Status: Closed
    • Major
    • Resolution: Fixed
    • trunk
    • 4.1.0
    • action
    • None

    Description

      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

      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)
      

      The actionConf needs to be copied over with WF Job default configs.

      Attachments

        1. OOZIE-1644-1.patch
          7 kB
          Mona Chitnis
        2. OOZIE-1644-2.patch
          22 kB
          Mona Chitnis
        3. OOZIE-1644-4.patch
          24 kB
          Mona Chitnis
        4. OOZIE-1644-5.patch
          24 kB
          Mona Chitnis
        5. OOZIE-1644-6.patch
          31 kB
          Mona Chitnis

        Issue Links

          Activity

            People

              chitnis Mona Chitnis
              chitnis Mona Chitnis
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: