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

Cleanup parseFilter methods

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Patch Available
    • Minor
    • Resolution: Unresolved
    • trunk
    • None
    • core
    • None

    Description

      TheĀ parseFilter method is implemented several times in oozie:

      servlet/SLAServlet.java
      util/JobsFilterUtils.java
      DagEngine.java
      CoordinatorEngine.java (parseJobFilter and parseJobsFilter methods)
      BundleEngine.java (parseBulkFilter method)

      The implementations are quite similar. Code duplication should be eliminated.

      OOZIE-3229 will introduce a new utility class for filter parsing, all the other classes should use it as well.

      Attachments

        1. OOZIE-3335-01-wip.patch
          190 kB
          Andras Salamon
        2. OOZIE-3335-02-wip.patch
          190 kB
          Andras Salamon
        3. OOZIE-3335-03-wip.patch
          190 kB
          Andras Salamon

        Issue Links

          Activity

            People

              Unassigned Unassigned
              asalamon74 Andras Salamon
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated: