Details

    • Type: Sub-task Sub-task
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.99.3
    • Component/s: None
    • Labels:
      None

      Description

      This is because the connector itself is not completely registered when we call getConnector.

      1. SQOOP-1022.patch
        2 kB
        Hari Shreedharan

        Issue Links

          Activity

          Hide
          Hari Shreedharan added a comment -

          Simple patch that fixes this.

          Show
          Hari Shreedharan added a comment - Simple patch that fixes this.
          Hide
          Jarek Jarcec Cecho added a comment -

          Seems as a simple patch, so I'm giving my +1 here.

          Show
          Jarek Jarcec Cecho added a comment - Seems as a simple patch, so I'm giving my +1 here.
          Show
          Jarek Jarcec Cecho added a comment - The patch is in: https://git-wip-us.apache.org/repos/asf?p=sqoop.git;a=commit;h=7440af2c5875fae7a845c4b1ca1c7f2f78f0b6c0 Thank you Hari! Jarcec
          Hide
          Hudson added a comment -

          Integrated in Sqoop2-hadoop200 #272 (See https://builds.apache.org/job/Sqoop2-hadoop200/272/)
          SQOOP-1022: Metadata upgrade fails with NPE getConnector method (Revision 7440af2c5875fae7a845c4b1ca1c7f2f78f0b6c0)

          Result = FAILURE
          jarcec : https://git-wip-us.apache.org/repos/asf?p=sqoop.git&a=commit&h=7440af2c5875fae7a845c4b1ca1c7f2f78f0b6c0
          Files :

          • core/src/main/java/org/apache/sqoop/connector/ConnectorManager.java
          • core/src/main/java/org/apache/sqoop/repository/Repository.java
          Show
          Hudson added a comment - Integrated in Sqoop2-hadoop200 #272 (See https://builds.apache.org/job/Sqoop2-hadoop200/272/ ) SQOOP-1022 : Metadata upgrade fails with NPE getConnector method (Revision 7440af2c5875fae7a845c4b1ca1c7f2f78f0b6c0) Result = FAILURE jarcec : https://git-wip-us.apache.org/repos/asf?p=sqoop.git&a=commit&h=7440af2c5875fae7a845c4b1ca1c7f2f78f0b6c0 Files : core/src/main/java/org/apache/sqoop/connector/ConnectorManager.java core/src/main/java/org/apache/sqoop/repository/Repository.java
          Hide
          Hudson added a comment -

          Integrated in Sqoop2-hadoop100 #273 (See https://builds.apache.org/job/Sqoop2-hadoop100/273/)
          SQOOP-1022: Metadata upgrade fails with NPE getConnector method (Revision 7440af2c5875fae7a845c4b1ca1c7f2f78f0b6c0)

          Result = FAILURE
          jarcec : https://git-wip-us.apache.org/repos/asf?p=sqoop.git&a=commit&h=7440af2c5875fae7a845c4b1ca1c7f2f78f0b6c0
          Files :

          • core/src/main/java/org/apache/sqoop/repository/Repository.java
          • core/src/main/java/org/apache/sqoop/connector/ConnectorManager.java
          Show
          Hudson added a comment - Integrated in Sqoop2-hadoop100 #273 (See https://builds.apache.org/job/Sqoop2-hadoop100/273/ ) SQOOP-1022 : Metadata upgrade fails with NPE getConnector method (Revision 7440af2c5875fae7a845c4b1ca1c7f2f78f0b6c0) Result = FAILURE jarcec : https://git-wip-us.apache.org/repos/asf?p=sqoop.git&a=commit&h=7440af2c5875fae7a845c4b1ca1c7f2f78f0b6c0 Files : core/src/main/java/org/apache/sqoop/repository/Repository.java core/src/main/java/org/apache/sqoop/connector/ConnectorManager.java
          Hide
          Jarek Jarcec Cecho added a comment -

          The failures seems to be some sort of issue on the jenkins side. The maven output seems to be different to the expected one, so I'm assuming that old maven version might be picked up. I've filled SQOOP-1026 to keep track of that.

          Show
          Jarek Jarcec Cecho added a comment - The failures seems to be some sort of issue on the jenkins side. The maven output seems to be different to the expected one, so I'm assuming that old maven version might be picked up. I've filled SQOOP-1026 to keep track of that.

            People

            • Assignee:
              Hari Shreedharan
              Reporter:
              Hari Shreedharan
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development