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

MiniOozie does not work outside of Oozie

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 4.2.0
    • Fix Version/s: 4.3.0
    • Component/s: tests
    • Labels:
      None

      Description

      MiniOozie doesn't appear to work correctly outside of Oozie, due to some hardcoded paths/assumptions. We should fix this.

      As a quick workaround, I added the "core" folder and sub folders/files. For example:

      project-root
      |- src
      |- pom.xml
      |- (other typical maven stuff)
      |- core
      |- |- src
      |- |- |- test
      |- |- |- |- resources
      |- |- |- |- |- hadoop-config.xml (a copy of this file [1])
      

      Also, the Metastore doesn't work properly either (not sure why). It can be disabled by adding System.setProperty("oozie.test.metastore.server", "false"); in the setUp() method, as done at [2], but we should fix that as well.

      [1] https://raw.githubusercontent.com/apache/oozie/master/core/src/test/resources/hadoop-config.xml
      [2] https://github.com/apache/oozie/blob/master/minitest/src/test/java/org/apache/oozie/test/WorkflowTest.java#L45

        Attachments

        1. OOZIE-2273.001.patch
          12 kB
          Robert Kanter

          Activity

            People

            • Assignee:
              rkanter Robert Kanter
              Reporter:
              rkanter Robert Kanter
            • Votes:
              1 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: