Details

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

      Description

      Currently a lot of the functionality is embedded within various test cases inside the test package. I'm expecting that third party contributors building extensions for Sqoop (connectors or other future pieces) might be interested in reusing some of the provided test functionality, so I would like to move out all reusable code to the src package and made it easily reusable.

      1. bugSQOOP-1087.patch
        41 kB
        Jarek Jarcec Cecho

        Issue Links

          Activity

          Hide
          Jarek Jarcec Cecho added a comment -

          The Jenkins failure is caused by "No space left on device".

          Show
          Jarek Jarcec Cecho added a comment - The Jenkins failure is caused by "No space left on device".
          Hide
          Hudson added a comment -

          Integrated in Sqoop2-hadoop100 #416 (See https://builds.apache.org/job/Sqoop2-hadoop100/416/)
          SQOOP-1087: Sqoop2: Integration: Abstract common functionality into src module (Revision f980e90fc9570b01305166b19d7381c2051bc49e)

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

          • test/src/test/java/org/apache/sqoop/integration/connector/jdbc/generic/TableExportTest.java
          • test/src/main/java/org/apache/sqoop/test/testcases/ConnectorTestCase.java
          • test/src/test/java/org/apache/sqoop/integration/server/VersionTest.java
          • test/src/main/java/org/apache/sqoop/test/asserts/ProviderAsserts.java
          • test/src/main/java/org/apache/sqoop/test/data/Cities.java
          • test/src/test/java/org/apache/sqoop/integration/connector/jdbc/generic/TableImportTest.java
          • test/src/test/java/org/apache/sqoop/integration/connector/ConnectorTestCase.java
          • test/src/main/java/org/apache/sqoop/test/asserts/HdfsAsserts.java
          • test/src/test/java/org/apache/sqoop/integration/TomcatTestCase.java
          • test/src/main/java/org/apache/sqoop/test/utils/HdfsUtils.java
          • test/src/main/java/org/apache/sqoop/test/data/DataSet.java
          • test/src/main/java/org/apache/sqoop/test/testcases/TomcatTestCase.java
          • test/pom.xml
          Show
          Hudson added a comment - Integrated in Sqoop2-hadoop100 #416 (See https://builds.apache.org/job/Sqoop2-hadoop100/416/ ) SQOOP-1087 : Sqoop2: Integration: Abstract common functionality into src module (Revision f980e90fc9570b01305166b19d7381c2051bc49e) Result = FAILURE kathleen : https://git-wip-us.apache.org/repos/asf?p=sqoop.git&a=commit&h=f980e90fc9570b01305166b19d7381c2051bc49e Files : test/src/test/java/org/apache/sqoop/integration/connector/jdbc/generic/TableExportTest.java test/src/main/java/org/apache/sqoop/test/testcases/ConnectorTestCase.java test/src/test/java/org/apache/sqoop/integration/server/VersionTest.java test/src/main/java/org/apache/sqoop/test/asserts/ProviderAsserts.java test/src/main/java/org/apache/sqoop/test/data/Cities.java test/src/test/java/org/apache/sqoop/integration/connector/jdbc/generic/TableImportTest.java test/src/test/java/org/apache/sqoop/integration/connector/ConnectorTestCase.java test/src/main/java/org/apache/sqoop/test/asserts/HdfsAsserts.java test/src/test/java/org/apache/sqoop/integration/TomcatTestCase.java test/src/main/java/org/apache/sqoop/test/utils/HdfsUtils.java test/src/main/java/org/apache/sqoop/test/data/DataSet.java test/src/main/java/org/apache/sqoop/test/testcases/TomcatTestCase.java test/pom.xml
          Hide
          Hudson added a comment -

          Integrated in Sqoop2-hadoop200 #417 (See https://builds.apache.org/job/Sqoop2-hadoop200/417/)
          SQOOP-1087: Sqoop2: Integration: Abstract common functionality into src module (Revision f980e90fc9570b01305166b19d7381c2051bc49e)

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

          • test/src/main/java/org/apache/sqoop/test/asserts/HdfsAsserts.java
          • test/src/main/java/org/apache/sqoop/test/testcases/TomcatTestCase.java
          • test/src/test/java/org/apache/sqoop/integration/connector/jdbc/generic/TableImportTest.java
          • test/src/main/java/org/apache/sqoop/test/data/DataSet.java
          • test/src/main/java/org/apache/sqoop/test/asserts/ProviderAsserts.java
          • test/src/main/java/org/apache/sqoop/test/testcases/ConnectorTestCase.java
          • test/src/test/java/org/apache/sqoop/integration/connector/jdbc/generic/TableExportTest.java
          • test/src/test/java/org/apache/sqoop/integration/TomcatTestCase.java
          • test/src/test/java/org/apache/sqoop/integration/server/VersionTest.java
          • test/src/main/java/org/apache/sqoop/test/data/Cities.java
          • test/src/test/java/org/apache/sqoop/integration/connector/ConnectorTestCase.java
          • test/pom.xml
          • test/src/main/java/org/apache/sqoop/test/utils/HdfsUtils.java
          Show
          Hudson added a comment - Integrated in Sqoop2-hadoop200 #417 (See https://builds.apache.org/job/Sqoop2-hadoop200/417/ ) SQOOP-1087 : Sqoop2: Integration: Abstract common functionality into src module (Revision f980e90fc9570b01305166b19d7381c2051bc49e) Result = FAILURE kathleen : https://git-wip-us.apache.org/repos/asf?p=sqoop.git&a=commit&h=f980e90fc9570b01305166b19d7381c2051bc49e Files : test/src/main/java/org/apache/sqoop/test/asserts/HdfsAsserts.java test/src/main/java/org/apache/sqoop/test/testcases/TomcatTestCase.java test/src/test/java/org/apache/sqoop/integration/connector/jdbc/generic/TableImportTest.java test/src/main/java/org/apache/sqoop/test/data/DataSet.java test/src/main/java/org/apache/sqoop/test/asserts/ProviderAsserts.java test/src/main/java/org/apache/sqoop/test/testcases/ConnectorTestCase.java test/src/test/java/org/apache/sqoop/integration/connector/jdbc/generic/TableExportTest.java test/src/test/java/org/apache/sqoop/integration/TomcatTestCase.java test/src/test/java/org/apache/sqoop/integration/server/VersionTest.java test/src/main/java/org/apache/sqoop/test/data/Cities.java test/src/test/java/org/apache/sqoop/integration/connector/ConnectorTestCase.java test/pom.xml test/src/main/java/org/apache/sqoop/test/utils/HdfsUtils.java
          Hide
          Kathleen Ting added a comment -

          Thanks Jarcec for your contribution.

          Show
          Kathleen Ting added a comment - Thanks Jarcec for your contribution.
          Hide
          ASF subversion and git services added a comment -

          Commit f980e90fc9570b01305166b19d7381c2051bc49e in branch refs/heads/sqoop2 from Kathleen Ting
          [ https://git-wip-us.apache.org/repos/asf?p=sqoop.git;h=f980e90 ]

          SQOOP-1087: Sqoop2: Integration: Abstract common functionality into src module

          (Jarek Jarcec Cecho via Kate Ting)

          Show
          ASF subversion and git services added a comment - Commit f980e90fc9570b01305166b19d7381c2051bc49e in branch refs/heads/sqoop2 from Kathleen Ting [ https://git-wip-us.apache.org/repos/asf?p=sqoop.git;h=f980e90 ] SQOOP-1087 : Sqoop2: Integration: Abstract common functionality into src module (Jarek Jarcec Cecho via Kate Ting)
          Hide
          Sqoop QA bot added a comment -

          Here are the results of testing the latest attachment
          https://issues.apache.org/jira/secure/attachment/12588159/bugSQOOP-1087.patch against branch SQOOP-1082.

          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/21/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/12588159/bugSQOOP-1087.patch against branch SQOOP-1082 . 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/21/console This message is automatically generated.

            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