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

Add Name Node, job-xml, and configuration Elements to FS action

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 3.3.0
    • None
    • None

    Description

      Adding a name node Element to the FS action will allow users to shorten FS actions and avoid specifying the name node (hdfs://HOST:PORT) multiple times. We can also add job-xml and configuration elements to allow users to set properties when the FS instance is created.

      e.g.

      <action name="fs-node">
          <fs>
              <name-node>hdfs://host:port</name-node>
              <job-xml>fs-info.xml</job-xml>
              <configuration>
                  <property>
                      <name>some.property</name>
                      <value>some.value</value>
                  </property>
              </configuration>
              <mkdir path="/user/${wf:user()}/output-data/1"/>
              <mkdir path="/user/${wf:user()}/output-data/2"/>            
          </fs>
          <ok to="end"/>
          <error to="fail"/>
      </action>
      

      This can then also leverage the global section from OOZIE-874 automatically.

      Attachments

        1. OOZIE-913-v3.patch
          36 kB
          Robert Kanter
        2. OOZIE-913-v2.patch
          36 kB
          Robert Kanter
        3. OOZIE-913.patch
          34 kB
          Robert Kanter

        Activity

          People

            rkanter Robert Kanter
            rkanter Robert Kanter
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: