Sqoop
  1. Sqoop
  2. SQOOP-802

Sqoop2: Convert main "Manager" classes to singletons.

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 2.0.0
    • Fix Version/s: 1.99.2
    • Component/s: None
    • Labels:
      None

      Description

      We currently have several "manager" classes in Sqoop2 - RepositoryManager, ConnectorManager or FrameworkManager. All of them have only static methods. I would like to propose changing them to normal singleton objects, so that we can spoof the instance easily when necessary (for example in tests).

      1. bugSQOOP-802.patch
        42 kB
        Jarek Jarcec Cecho

        Issue Links

          Activity

          Jarek Jarcec Cecho created issue -
          Jarek Jarcec Cecho made changes -
          Field Original Value New Value
          Remote Link This issue links to "Review board (Web Link)" [ 11930 ]
          Jarek Jarcec Cecho made changes -
          Attachment bugSQOOP-802.patch [ 12562294 ]
          Jarek Jarcec Cecho made changes -
          Status Open [ 1 ] Patch Available [ 10002 ]
          Fix Version/s 1.99.2 [ 12323640 ]
          Bilung Lee made changes -
          Status Patch Available [ 10002 ] Resolved [ 5 ]
          Resolution Fixed [ 1 ]

            People

            • Assignee:
              Jarek Jarcec Cecho
              Reporter:
              Jarek Jarcec Cecho
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development