Uploaded image for project: 'Falcon'
  1. Falcon
  2. FALCON-1531 Merlin needs some refactoring
  3. FALCON-1535

Group all oozie-related methods in OozieClientHelper class which aggregates OozieClient

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Major
    • Resolution: Won't Fix
    • 0.6
    • None
    • merlin

    Description

      In base test class we have a list of oozie clients related to each server (cluster).
      Proposal is to create our own class for example OozieClientHelper, which aggregates OozieClient. We will move all methods from OozieUtil, InstanceUtil which use OozieClient to this class and will use this class instead of Util classes.
      So code like:

      InstanceUtil.waitTillInstanceReachState(clusterOC, Util.getProcessName(process), 1,
                  Status.RUNNING, EntityType.PROCESS, timeout);
      

      will be look like:

      clusterOC.waitTillInstanceReachState(Util.getProcessName(process), 1,
                  Status.RUNNING, EntityType.PROCESS, timeout);
      

      Attachments

        Activity

          People

            pisaychuk Paul Isaychuk
            pisaychuk Paul Isaychuk
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: