Sqoop
  1. Sqoop
  2. SQOOP-1111

Sqoop2: Implement version detection and structure updates into Derby repository

    Details

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

      Description

      In SQOOP-943 we've introduced concept of validating repository structures and/or upgrading them. Derby repository currently can only create the structures from scratch and the detection mechanism is quite limited, so I would propose to enhance the implementation.

      1. bugSQOOP-1111.patch
        20 kB
        Jarek Jarcec Cecho
      2. bugSQOOP-1111.patch
        20 kB
        Jarek Jarcec Cecho

        Issue Links

          Activity

          Jarek Jarcec Cecho created issue -
          Jarek Jarcec Cecho made changes -
          Field Original Value New Value
          Link This issue supercedes SQOOP-878 [ SQOOP-878 ]
          Jarek Jarcec Cecho made changes -
          Link This issue supercedes SQOOP-944 [ SQOOP-944 ]
          Jarek Jarcec Cecho made changes -
          Remote Link This issue links to "Review board (Web Link)" [ 12377 ]
          Jarek Jarcec Cecho made changes -
          Status Open [ 1 ] Patch Available [ 10002 ]
          Jarek Jarcec Cecho made changes -
          Attachment bugSQOOP-1111.patch [ 12590192 ]
          Hide
          Sqoop QA bot added a comment -

          Here are the results of testing the latest attachment
          https://issues.apache.org/jira/secure/attachment/12590192/bugSQOOP-1111.patch against branch sqoop2.

          Overall: +1 all checks pass

          SUCCESS: Clean was successful
          SUCCESS: Patch applied correctly
          SUCCESS: Patch compiled
          SUCCESS: All tests passed

          Console output: https://builds.apache.org/job/PreCommit-SQOOP-Build/27/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/12590192/bugSQOOP-1111.patch against branch sqoop2. Overall: +1 all checks pass SUCCESS: Clean was successful SUCCESS: Patch applied correctly SUCCESS: Patch compiled SUCCESS: All tests passed Console output: https://builds.apache.org/job/PreCommit-SQOOP-Build/27/console This message is automatically generated.
          Hide
          Sqoop QA bot added a comment -

          Here are the results of testing the latest attachment
          https://issues.apache.org/jira/secure/attachment/12590192/bugSQOOP-1111.patch against branch sqoop2.

          Overall: +1 all checks pass

          SUCCESS: Clean was successful
          SUCCESS: Patch applied correctly
          SUCCESS: Patch compiled
          SUCCESS: All tests passed

          Console output: https://builds.apache.org/job/PreCommit-SQOOP-Build/30/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/12590192/bugSQOOP-1111.patch against branch sqoop2. Overall: +1 all checks pass SUCCESS: Clean was successful SUCCESS: Patch applied correctly SUCCESS: Patch compiled SUCCESS: All tests passed Console output: https://builds.apache.org/job/PreCommit-SQOOP-Build/30/console This message is automatically generated.
          Jarek Jarcec Cecho made changes -
          Attachment bugSQOOP-1111.patch [ 12591932 ]
          Hide
          ASF subversion and git services added a comment -

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

          SQOOP-1111. Sqoop2: Implement version detection and structure updates into Derby repository

          (Jarek Jarcec Cecho via Hari Shreedharan)

          Show
          ASF subversion and git services added a comment - Commit 76fbc835c9d7cd0a980d1942d84d31bf36bbac34 in branch refs/heads/sqoop2 from Hari Shreedharan [ https://git-wip-us.apache.org/repos/asf?p=sqoop.git;h=76fbc83 ] SQOOP-1111 . Sqoop2: Implement version detection and structure updates into Derby repository (Jarek Jarcec Cecho via Hari Shreedharan)
          Hide
          Hari Shreedharan added a comment -

          Committed, thanks Jaroslav!

          Show
          Hari Shreedharan added a comment - Committed, thanks Jaroslav!
          Hari Shreedharan made changes -
          Status Patch Available [ 10002 ] Resolved [ 5 ]
          Resolution Fixed [ 1 ]
          Hide
          Hudson added a comment -

          SUCCESS: Integrated in Sqoop2-hadoop200 #461 (See https://builds.apache.org/job/Sqoop2-hadoop200/461/)
          SQOOP-1111. Sqoop2: Implement version detection and structure updates into Derby repository (hshreedharan: https://git-wip-us.apache.org/repos/asf?p=sqoop.git&a=commit&h=76fbc835c9d7cd0a980d1942d84d31bf36bbac34)

          • repository/repository-derby/src/main/java/org/apache/sqoop/repository/derby/DerbySchemaConstants.java
          • repository/repository-derby/src/main/java/org/apache/sqoop/repository/derby/DerbyRepositoryHandler.java
          • repository/repository-derby/src/main/java/org/apache/sqoop/repository/derby/DerbySchemaQuery.java
          • repository/repository-derby/src/test/java/org/apache/sqoop/repository/derby/DerbyTestCase.java
          • repository/repository-derby/src/main/java/org/apache/sqoop/repository/derby/DerbyRepoError.java
          • repository/repository-derby/src/main/java/org/apache/sqoop/repository/derby/DerbyRepoConstants.java
          • repository/repository-derby/src/main/java/org/apache/sqoop/repository/derby/DerbyRepoConfigurationConstants.java
          • core/src/main/java/org/apache/sqoop/repository/JdbcRepository.java
          • core/src/main/java/org/apache/sqoop/repository/JdbcRepositoryHandler.java
          • repository/repository-derby/src/test/java/org/apache/sqoop/repository/derby/TestInternals.java
          Show
          Hudson added a comment - SUCCESS: Integrated in Sqoop2-hadoop200 #461 (See https://builds.apache.org/job/Sqoop2-hadoop200/461/ ) SQOOP-1111 . Sqoop2: Implement version detection and structure updates into Derby repository (hshreedharan: https://git-wip-us.apache.org/repos/asf?p=sqoop.git&a=commit&h=76fbc835c9d7cd0a980d1942d84d31bf36bbac34 ) repository/repository-derby/src/main/java/org/apache/sqoop/repository/derby/DerbySchemaConstants.java repository/repository-derby/src/main/java/org/apache/sqoop/repository/derby/DerbyRepositoryHandler.java repository/repository-derby/src/main/java/org/apache/sqoop/repository/derby/DerbySchemaQuery.java repository/repository-derby/src/test/java/org/apache/sqoop/repository/derby/DerbyTestCase.java repository/repository-derby/src/main/java/org/apache/sqoop/repository/derby/DerbyRepoError.java repository/repository-derby/src/main/java/org/apache/sqoop/repository/derby/DerbyRepoConstants.java repository/repository-derby/src/main/java/org/apache/sqoop/repository/derby/DerbyRepoConfigurationConstants.java core/src/main/java/org/apache/sqoop/repository/JdbcRepository.java core/src/main/java/org/apache/sqoop/repository/JdbcRepositoryHandler.java repository/repository-derby/src/test/java/org/apache/sqoop/repository/derby/TestInternals.java
          Hide
          Hudson added a comment -

          SUCCESS: Integrated in Sqoop2-hadoop100 #483 (See https://builds.apache.org/job/Sqoop2-hadoop100/483/)
          SQOOP-1111. Sqoop2: Implement version detection and structure updates into Derby repository (hshreedharan: https://git-wip-us.apache.org/repos/asf?p=sqoop.git&a=commit&h=76fbc835c9d7cd0a980d1942d84d31bf36bbac34)

          • repository/repository-derby/src/test/java/org/apache/sqoop/repository/derby/DerbyTestCase.java
          • core/src/main/java/org/apache/sqoop/repository/JdbcRepositoryHandler.java
          • repository/repository-derby/src/main/java/org/apache/sqoop/repository/derby/DerbyRepositoryHandler.java
          • repository/repository-derby/src/test/java/org/apache/sqoop/repository/derby/TestInternals.java
          • repository/repository-derby/src/main/java/org/apache/sqoop/repository/derby/DerbyRepoError.java
          • repository/repository-derby/src/main/java/org/apache/sqoop/repository/derby/DerbyRepoConfigurationConstants.java
          • core/src/main/java/org/apache/sqoop/repository/JdbcRepository.java
          • repository/repository-derby/src/main/java/org/apache/sqoop/repository/derby/DerbySchemaConstants.java
          • repository/repository-derby/src/main/java/org/apache/sqoop/repository/derby/DerbyRepoConstants.java
          • repository/repository-derby/src/main/java/org/apache/sqoop/repository/derby/DerbySchemaQuery.java
          Show
          Hudson added a comment - SUCCESS: Integrated in Sqoop2-hadoop100 #483 (See https://builds.apache.org/job/Sqoop2-hadoop100/483/ ) SQOOP-1111 . Sqoop2: Implement version detection and structure updates into Derby repository (hshreedharan: https://git-wip-us.apache.org/repos/asf?p=sqoop.git&a=commit&h=76fbc835c9d7cd0a980d1942d84d31bf36bbac34 ) repository/repository-derby/src/test/java/org/apache/sqoop/repository/derby/DerbyTestCase.java core/src/main/java/org/apache/sqoop/repository/JdbcRepositoryHandler.java repository/repository-derby/src/main/java/org/apache/sqoop/repository/derby/DerbyRepositoryHandler.java repository/repository-derby/src/test/java/org/apache/sqoop/repository/derby/TestInternals.java repository/repository-derby/src/main/java/org/apache/sqoop/repository/derby/DerbyRepoError.java repository/repository-derby/src/main/java/org/apache/sqoop/repository/derby/DerbyRepoConfigurationConstants.java core/src/main/java/org/apache/sqoop/repository/JdbcRepository.java repository/repository-derby/src/main/java/org/apache/sqoop/repository/derby/DerbySchemaConstants.java repository/repository-derby/src/main/java/org/apache/sqoop/repository/derby/DerbyRepoConstants.java repository/repository-derby/src/main/java/org/apache/sqoop/repository/derby/DerbySchemaQuery.java

            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