Sqoop
  1. Sqoop
  2. SQOOP-1258

Sqoop2: FrameworkMetadataUpgrade can't handle new inputs

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.99.3
    • Fix Version/s: 1.99.4
    • Component/s: None
    • Labels:
      None

      Description

      Current FrameworkMetadataUpgrade assumes that there won't be any new {{Input}}s in the upgraded metadata structures. As this will very likely be the case, we should improve the Upgrader.

      1. SQOOP-1258.patch
        2 kB
        Jarek Jarcec Cecho
      2. SQOOP-1258.patch
        8 kB
        Jarek Jarcec Cecho

        Issue Links

          Activity

          Transition Time In Source Status Execution Times Last Executer Last Execution Date
          Open Open Patch Available Patch Available
          1d 5h 7m 1 Jarek Jarcec Cecho 10/Dec/13 04:56
          Patch Available Patch Available Resolved Resolved
          3d 22h 32m 1 Hari Shreedharan 14/Dec/13 03:29
          Abraham Elmahrek made changes -
          Fix Version/s 1.99.4 [ 12324987 ]
          Hide
          Hudson added a comment -

          SUCCESS: Integrated in Sqoop2-hadoop100 #596 (See https://builds.apache.org/job/Sqoop2-hadoop100/596/)
          SQOOP-1258. Sqoop2: FrameworkMetadataUpgrade can't handle new inputs (hshreedharan: https://git-wip-us.apache.org/repos/asf?p=sqoop.git&a=commit&h=eab812d2f2f75416a8bd02599c18501a56609315)

          • core/src/main/java/org/apache/sqoop/framework/FrameworkMetadataUpgrader.java
          • connector/connector-generic-jdbc/src/main/java/org/apache/sqoop/connector/jdbc/GenericJdbcConnectorMetadataUpgrader.java
          • core/src/test/java/org/apache/sqoop/framework/TestFrameworkMetadataUpgrader.java
          Show
          Hudson added a comment - SUCCESS: Integrated in Sqoop2-hadoop100 #596 (See https://builds.apache.org/job/Sqoop2-hadoop100/596/ ) SQOOP-1258 . Sqoop2: FrameworkMetadataUpgrade can't handle new inputs (hshreedharan: https://git-wip-us.apache.org/repos/asf?p=sqoop.git&a=commit&h=eab812d2f2f75416a8bd02599c18501a56609315 ) core/src/main/java/org/apache/sqoop/framework/FrameworkMetadataUpgrader.java connector/connector-generic-jdbc/src/main/java/org/apache/sqoop/connector/jdbc/GenericJdbcConnectorMetadataUpgrader.java core/src/test/java/org/apache/sqoop/framework/TestFrameworkMetadataUpgrader.java
          Hide
          Hudson added a comment -

          SUCCESS: Integrated in Sqoop2-hadoop200 #530 (See https://builds.apache.org/job/Sqoop2-hadoop200/530/)
          SQOOP-1258. Sqoop2: FrameworkMetadataUpgrade can't handle new inputs (hshreedharan: https://git-wip-us.apache.org/repos/asf?p=sqoop.git&a=commit&h=eab812d2f2f75416a8bd02599c18501a56609315)

          • core/src/test/java/org/apache/sqoop/framework/TestFrameworkMetadataUpgrader.java
          • connector/connector-generic-jdbc/src/main/java/org/apache/sqoop/connector/jdbc/GenericJdbcConnectorMetadataUpgrader.java
          • core/src/main/java/org/apache/sqoop/framework/FrameworkMetadataUpgrader.java
          Show
          Hudson added a comment - SUCCESS: Integrated in Sqoop2-hadoop200 #530 (See https://builds.apache.org/job/Sqoop2-hadoop200/530/ ) SQOOP-1258 . Sqoop2: FrameworkMetadataUpgrade can't handle new inputs (hshreedharan: https://git-wip-us.apache.org/repos/asf?p=sqoop.git&a=commit&h=eab812d2f2f75416a8bd02599c18501a56609315 ) core/src/test/java/org/apache/sqoop/framework/TestFrameworkMetadataUpgrader.java connector/connector-generic-jdbc/src/main/java/org/apache/sqoop/connector/jdbc/GenericJdbcConnectorMetadataUpgrader.java core/src/main/java/org/apache/sqoop/framework/FrameworkMetadataUpgrader.java
          Hari Shreedharan made changes -
          Status Patch Available [ 10002 ] Resolved [ 5 ]
          Resolution Fixed [ 1 ]
          Hide
          Hari Shreedharan added a comment -

          Committed, thanks Jarcec!

          Show
          Hari Shreedharan added a comment - Committed, thanks Jarcec!
          Hide
          ASF subversion and git services added a comment -

          Commit eab812d2f2f75416a8bd02599c18501a56609315 in branch refs/heads/sqoop2 from Hari Shreedharan
          [ https://git-wip-us.apache.org/repos/asf?p=sqoop.git;h=eab812d ]

          SQOOP-1258. Sqoop2: FrameworkMetadataUpgrade can't handle new inputs

          (Jarek Jarcec Cecho via Hari Shreedharan)

          Show
          ASF subversion and git services added a comment - Commit eab812d2f2f75416a8bd02599c18501a56609315 in branch refs/heads/sqoop2 from Hari Shreedharan [ https://git-wip-us.apache.org/repos/asf?p=sqoop.git;h=eab812d ] SQOOP-1258 . Sqoop2: FrameworkMetadataUpgrade can't handle new inputs (Jarek Jarcec Cecho via Hari Shreedharan)
          Hide
          Hari Shreedharan added a comment -

          +1. Running tests and committing

          Show
          Hari Shreedharan added a comment - +1. Running tests and committing
          Hide
          Sqoop QA bot added a comment -

          Here are the results of testing the latest attachment
          https://issues.apache.org/jira/secure/attachment/12617980/SQOOP-1258.patch against branch sqoop2.

          Overall: +1 all checks pass

          SUCCESS: Clean was successful
          SUCCESS: Patch applied correctly
          SUCCESS: Patch add/modify test case
          SUCCESS: Patch compiled
          SUCCESS: All tests passed

          Console output: https://builds.apache.org/job/PreCommit-SQOOP-Build/207/console

          This message is automatically generated.

          Show
          Sqoop QA bot added a comment - Here are the results of testing the latest attachment https://issues.apache.org/jira/secure/attachment/12617980/SQOOP-1258.patch against branch sqoop2. Overall: +1 all checks pass SUCCESS: Clean was successful SUCCESS: Patch applied correctly SUCCESS: Patch add/modify test case SUCCESS: Patch compiled SUCCESS: All tests passed Console output: https://builds.apache.org/job/PreCommit-SQOOP-Build/207/console This message is automatically generated.
          Jarek Jarcec Cecho made changes -
          Status Open [ 1 ] Patch Available [ 10002 ]
          Jarek Jarcec Cecho made changes -
          Attachment SQOOP-1258.patch [ 12617980 ]
          Jarek Jarcec Cecho made changes -
          Attachment SQOOP-1258.patch [ 12617764 ]
          Jarek Jarcec Cecho made changes -
          Remote Link This issue links to "Review board (Web Link)" [ 13500 ]
          Jarek Jarcec Cecho made changes -
          Field Original Value New Value
          Link This issue blocks SQOOP-1254 [ SQOOP-1254 ]
          Jarek Jarcec Cecho created issue -

            People

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

              Dates

              • Created:
                Updated:
                Resolved:

                Development