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

LocalOozieClient is missing methods from OozieClient

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 5.0.0b1
    • None
    • None

    Description

      LocalOozieClient works by wrapping direct calls to DagEngine in the normal OozieClient methods instead of making REST calls to an Oozie Server. However, it currently doesn't override all methods, which means you hit the OozieClient implementation, which tries to make a REST call and will fail (because it's not setup for that). For example, getStatus(String jobId) isn't overridden, and doesn't work when used from LocalOozieClient.

      We should also create a test that verifies that all methods are overridden.

      Attachments

        1. OOZIE-2751-10.patch
          89 kB
          Abhishek Bafna
        2. OOZIE-2751-09.patch
          88 kB
          Abhishek Bafna
        3. OOZIE-2751-08.patch
          80 kB
          Abhishek Bafna
        4. OOZIE-2751-07.patch
          75 kB
          Abhishek Bafna
        5. OOZIE-2751-06.patch
          75 kB
          Abhishek Bafna
        6. OOZIE-2751-05.patch
          75 kB
          Abhishek Bafna
        7. OOZIE-2751-04.patch
          67 kB
          Abhishek Bafna
        8. OOZIE-2751-03.patch
          63 kB
          Andras Piros
        9. OOZIE-2751-02.patch
          58 kB
          Abhishek Bafna
        10. OOZIE-2751-01.patch
          49 kB
          Abhishek Bafna
        11. OOZIE-2751-00.patch
          41 kB
          Abhishek Bafna

        Issue Links

          Activity

            People

              abhishekbafna Abhishek Bafna
              rkanter Robert Kanter
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: