Uploaded image for project: 'Oozie'
  1. Oozie
  2. OOZIE-8

variable not replaced in workflow rerun

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 3.2.0
    • None

    Description

      job.properties:
      hdfsDir=/user/strat_ci/yoozie_test
      inputDir=${hdfsDir}/input-data
      outputDir=${hdfsDir}/output-demo
      queueName=grideng

      in the original run, the Action Configuration replaces the variable:
      <configuration>
      <property>
      <name>mapred.input.dir</name>
      <value>/user/strat_ci/yoozie_test/output-demo/mapred_1</value>
      </property>
      <property>
      <name>mapred.output.dir</name>
      <value>/user/strat_ci/yoozie_test/output-demo/streaming</value>
      </property>
      <property>
      <name>mapred.job.queue.name</name>
      <value>grideng</value>
      </property>

      in rerun, the Action Configuration does not replace variable, therefore the action fails with error code JA018:
      <configuration>
      <property>
      <name>mapred.input.dir</name>
      <value>${hdfsDir}/output-demo/mapred_1</value>
      </property>
      <property>
      <name>mapred.output.dir</name>
      <value>${hdfsDir}/output-demo/streaming</value>
      </property>
      <property>
      <name>mapred.job.queue.name</name>
      <value>grideng</value>
      </property>

      Attachments

        1. OOZIE-8.patch
          4 kB
          Mona Chitnis

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - 168h
                168h
                Remaining:
                Remaining Estimate - 168h
                168h
                Logged:
                Time Spent - Not Specified
                Not Specified