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

Add ability to switch between cluster configurations used in workflow

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 3.3.0
    • None
    • workflow
    • None

    Description

      Add configurations to be able to check f.e directory size on cluster C2 from a workflow on cluster C1.

      =================
      I have two clusters C1 and C2. I am running my job on C1 and try to check the directory size on C2.
      Here is my xml:
      <decision name="checkdir">
      <switch>
      <case to="action2">
      ${(fs:dirSize(outputDir) gt 1 * GB)}
      </case>
      <default to="fail" />
      </switch>
      </decision>

      If outputDir is on hdfs of C1 it works fine. But if outputDir is hdfs://c2-namenode/xxx it will always return false.
      ==================

      I would like to explore the possibility to add functionality that allows fs:dirSize to pick up the correct configurations for cluster C2

      Attachments

        Activity

          People

            Unassigned Unassigned
            bjornjon Bjorn Jonsson
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: