Sqoop
  1. Sqoop
  2. SQOOP-918

Sqoop2: Introduce client API and change Sqoop shell to use it

    Details

    • Type: New Feature New Feature
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.99.1
    • Fix Version/s: 1.99.2
    • Component/s: None
    • Labels:
      None

      Description

      We need to introduce simple Java API that can be easily embedded in third party applications.

      1. bugSQOOP-918.patch
        180 kB
        Jarek Jarcec Cecho
      2. bugSQOOP-918.patch
        180 kB
        Jarek Jarcec Cecho
      3. bugSQOOP-918.patch
        180 kB
        Jarek Jarcec Cecho
      4. bugSQOOP-918.patch
        142 kB
        Jarek Jarcec Cecho

        Issue Links

          Activity

          Hide
          Cheolsoo Park added a comment -

          +1. Committed to sqoop2. Thanks a lot Jarcec!

          Show
          Cheolsoo Park added a comment - +1. Committed to sqoop2. Thanks a lot Jarcec!
          Hide
          Hudson added a comment -

          Integrated in Sqoop2-hadoop200 #221 (See https://builds.apache.org/job/Sqoop2-hadoop200/221/)
          SQOOP-918: Introduce client API and change Sqoop shell to use it (Revision 2f9a2a71a6fc1387f509e47815b7d70cc97d6b0e)

          Result = SUCCESS
          cheolsoo : https://git-wip-us.apache.org/repos/asf?p=sqoop.git&a=commit&h=2f9a2a71a6fc1387f509e47815b7d70cc97d6b0e
          Files :

          • client/src/main/java/org/apache/sqoop/client/shell/ShowCommand.java
          • client/src/main/java/org/apache/sqoop/client/shell/SetOptionFunction.java
          • client/src/main/java/org/apache/sqoop/client/utils/FormFiller.java
          • client/src/main/java/org/apache/sqoop/client/request/ConnectorRequest.java
          • client/src/main/java/org/apache/sqoop/client/core/Environment.java
          • client/src/main/java/org/apache/sqoop/client/shell/CloneCommand.java
          • client/src/main/java/org/apache/sqoop/client/request/SubmissionRequest.java
          • client/src/main/java/org/apache/sqoop/client/shell/SubmissionStopFunction.java
          • client/src/main/java/org/apache/sqoop/client/shell/ShowJobFunction.java
          • client/src/main/java/org/apache/sqoop/client/shell/UpdateJobFunction.java
          • client/src/main/java/org/apache/sqoop/client/shell/ShowConnectionFunction.java
          • test/src/test/java/org/apache/sqoop/integration/TomcatTestCase.java
          • client/src/main/java/org/apache/sqoop/client/shell/SubmissionStartFunction.java
          • client/src/main/java/org/apache/sqoop/client/shell/CloneJobFunction.java
          • client/src/main/java/org/apache/sqoop/client/shell/SetServerFunction.java
          • client/src/main/java/org/apache/sqoop/client/core/RequestCache.java
          • client/src/main/java/org/apache/sqoop/client/shell/SqoopFunction.java
          • client/src/main/java/org/apache/sqoop/client/shell/ShowServerFunction.java
          • client/src/main/java/org/apache/sqoop/client/utils/TableDisplayer.java
          • client/src/main/java/org/apache/sqoop/client/shell/DeleteCommand.java
          • client/src/main/java/org/apache/sqoop/client/shell/DeleteJobFunction.java
          • client/src/main/java/org/apache/sqoop/client/shell/ShowVersionFunction.java
          • client/src/main/java/org/apache/sqoop/client/shell/ShowConnectorFunction.java
          • client/src/main/java/org/apache/sqoop/client/shell/ShowFrameworkFunction.java
          • client/src/main/resources/client-resource.properties
          • client/src/main/java/org/apache/sqoop/client/utils/FormDisplayer.java
          • client/src/main/java/org/apache/sqoop/client/shell/SqoopShell.java
          • client/src/main/java/org/apache/sqoop/client/SqoopClient.java
          • client/src/main/java/org/apache/sqoop/client/shell/UpdateCommand.java
          • client/src/main/java/org/apache/sqoop/client/shell/SubmissionStatusFunction.java
          • client/src/main/java/org/apache/sqoop/client/shell/SetCommand.java
          • client/src/main/java/org/apache/sqoop/client/shell/CloneConnectionFunction.java
          • client/src/main/java/org/apache/sqoop/client/shell/CreateCommand.java
          • client/src/main/java/org/apache/sqoop/client/request/SqoopRequests.java
          • client/src/main/java/org/apache/sqoop/client/shell/SubmissionCommand.java
          • client/src/main/java/org/apache/sqoop/client/shell/ShellEnvironment.java
          • client/src/main/java/org/apache/sqoop/client/shell/DeleteConnectionFunction.java
          • client/src/main/java/org/apache/sqoop/client/utils/ThrowableDisplayer.java
          • client/src/main/java/org/apache/sqoop/client/request/JobRequest.java
          • client/src/main/java/org/apache/sqoop/client/shell/HelpCommand.java
          • client/src/main/java/org/apache/sqoop/client/shell/UpdateConnectionFunction.java
          • client/src/main/java/org/apache/sqoop/client/shell/SqoopCommand.java
          • client/src/main/java/org/apache/sqoop/client/shell/CreateConnectionFunction.java
          • client/src/main/java/org/apache/sqoop/client/shell/ShowOptionFunction.java
          • client/src/main/java/org/apache/sqoop/client/utils/SubmissionDisplayer.java
          • client/src/main/java/org/apache/sqoop/client/request/ConnectionRequest.java
          • client/src/main/java/org/apache/sqoop/client/core/Constants.java
          • client/src/main/java/org/apache/sqoop/client/shell/CreateJobFunction.java
          • test/src/test/java/org/apache/sqoop/integration/connector/jdbc/generic/TableImportTest.java
          Show
          Hudson added a comment - Integrated in Sqoop2-hadoop200 #221 (See https://builds.apache.org/job/Sqoop2-hadoop200/221/ ) SQOOP-918 : Introduce client API and change Sqoop shell to use it (Revision 2f9a2a71a6fc1387f509e47815b7d70cc97d6b0e) Result = SUCCESS cheolsoo : https://git-wip-us.apache.org/repos/asf?p=sqoop.git&a=commit&h=2f9a2a71a6fc1387f509e47815b7d70cc97d6b0e Files : client/src/main/java/org/apache/sqoop/client/shell/ShowCommand.java client/src/main/java/org/apache/sqoop/client/shell/SetOptionFunction.java client/src/main/java/org/apache/sqoop/client/utils/FormFiller.java client/src/main/java/org/apache/sqoop/client/request/ConnectorRequest.java client/src/main/java/org/apache/sqoop/client/core/Environment.java client/src/main/java/org/apache/sqoop/client/shell/CloneCommand.java client/src/main/java/org/apache/sqoop/client/request/SubmissionRequest.java client/src/main/java/org/apache/sqoop/client/shell/SubmissionStopFunction.java client/src/main/java/org/apache/sqoop/client/shell/ShowJobFunction.java client/src/main/java/org/apache/sqoop/client/shell/UpdateJobFunction.java client/src/main/java/org/apache/sqoop/client/shell/ShowConnectionFunction.java test/src/test/java/org/apache/sqoop/integration/TomcatTestCase.java client/src/main/java/org/apache/sqoop/client/shell/SubmissionStartFunction.java client/src/main/java/org/apache/sqoop/client/shell/CloneJobFunction.java client/src/main/java/org/apache/sqoop/client/shell/SetServerFunction.java client/src/main/java/org/apache/sqoop/client/core/RequestCache.java client/src/main/java/org/apache/sqoop/client/shell/SqoopFunction.java client/src/main/java/org/apache/sqoop/client/shell/ShowServerFunction.java client/src/main/java/org/apache/sqoop/client/utils/TableDisplayer.java client/src/main/java/org/apache/sqoop/client/shell/DeleteCommand.java client/src/main/java/org/apache/sqoop/client/shell/DeleteJobFunction.java client/src/main/java/org/apache/sqoop/client/shell/ShowVersionFunction.java client/src/main/java/org/apache/sqoop/client/shell/ShowConnectorFunction.java client/src/main/java/org/apache/sqoop/client/shell/ShowFrameworkFunction.java client/src/main/resources/client-resource.properties client/src/main/java/org/apache/sqoop/client/utils/FormDisplayer.java client/src/main/java/org/apache/sqoop/client/shell/SqoopShell.java client/src/main/java/org/apache/sqoop/client/SqoopClient.java client/src/main/java/org/apache/sqoop/client/shell/UpdateCommand.java client/src/main/java/org/apache/sqoop/client/shell/SubmissionStatusFunction.java client/src/main/java/org/apache/sqoop/client/shell/SetCommand.java client/src/main/java/org/apache/sqoop/client/shell/CloneConnectionFunction.java client/src/main/java/org/apache/sqoop/client/shell/CreateCommand.java client/src/main/java/org/apache/sqoop/client/request/SqoopRequests.java client/src/main/java/org/apache/sqoop/client/shell/SubmissionCommand.java client/src/main/java/org/apache/sqoop/client/shell/ShellEnvironment.java client/src/main/java/org/apache/sqoop/client/shell/DeleteConnectionFunction.java client/src/main/java/org/apache/sqoop/client/utils/ThrowableDisplayer.java client/src/main/java/org/apache/sqoop/client/request/JobRequest.java client/src/main/java/org/apache/sqoop/client/shell/HelpCommand.java client/src/main/java/org/apache/sqoop/client/shell/UpdateConnectionFunction.java client/src/main/java/org/apache/sqoop/client/shell/SqoopCommand.java client/src/main/java/org/apache/sqoop/client/shell/CreateConnectionFunction.java client/src/main/java/org/apache/sqoop/client/shell/ShowOptionFunction.java client/src/main/java/org/apache/sqoop/client/utils/SubmissionDisplayer.java client/src/main/java/org/apache/sqoop/client/request/ConnectionRequest.java client/src/main/java/org/apache/sqoop/client/core/Constants.java client/src/main/java/org/apache/sqoop/client/shell/CreateJobFunction.java test/src/test/java/org/apache/sqoop/integration/connector/jdbc/generic/TableImportTest.java
          Hide
          Hudson added a comment -

          Integrated in Sqoop2-hadoop100 #221 (See https://builds.apache.org/job/Sqoop2-hadoop100/221/)
          SQOOP-918: Introduce client API and change Sqoop shell to use it (Revision 2f9a2a71a6fc1387f509e47815b7d70cc97d6b0e)

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

          • client/src/main/java/org/apache/sqoop/client/utils/ThrowableDisplayer.java
          • client/src/main/java/org/apache/sqoop/client/shell/CloneJobFunction.java
          • client/src/main/java/org/apache/sqoop/client/shell/CreateJobFunction.java
          • client/src/main/java/org/apache/sqoop/client/core/Constants.java
          • client/src/main/java/org/apache/sqoop/client/shell/SubmissionStatusFunction.java
          • client/src/main/java/org/apache/sqoop/client/shell/ShowOptionFunction.java
          • client/src/main/java/org/apache/sqoop/client/shell/DeleteConnectionFunction.java
          • client/src/main/java/org/apache/sqoop/client/core/Environment.java
          • client/src/main/java/org/apache/sqoop/client/shell/CreateConnectionFunction.java
          • client/src/main/java/org/apache/sqoop/client/utils/TableDisplayer.java
          • client/src/main/java/org/apache/sqoop/client/shell/ShowVersionFunction.java
          • client/src/main/java/org/apache/sqoop/client/shell/UpdateCommand.java
          • client/src/main/java/org/apache/sqoop/client/SqoopClient.java
          • client/src/main/java/org/apache/sqoop/client/shell/CloneConnectionFunction.java
          • client/src/main/java/org/apache/sqoop/client/shell/ShowServerFunction.java
          • client/src/main/java/org/apache/sqoop/client/utils/FormDisplayer.java
          • client/src/main/java/org/apache/sqoop/client/shell/ShowCommand.java
          • client/src/main/java/org/apache/sqoop/client/shell/UpdateConnectionFunction.java
          • client/src/main/java/org/apache/sqoop/client/request/SubmissionRequest.java
          • client/src/main/java/org/apache/sqoop/client/shell/SqoopFunction.java
          • client/src/main/java/org/apache/sqoop/client/request/ConnectionRequest.java
          • client/src/main/java/org/apache/sqoop/client/shell/SubmissionCommand.java
          • client/src/main/java/org/apache/sqoop/client/shell/UpdateJobFunction.java
          • client/src/main/java/org/apache/sqoop/client/shell/ShowConnectionFunction.java
          • client/src/main/java/org/apache/sqoop/client/request/JobRequest.java
          • client/src/main/java/org/apache/sqoop/client/shell/SqoopCommand.java
          • client/src/main/resources/client-resource.properties
          • test/src/test/java/org/apache/sqoop/integration/TomcatTestCase.java
          • client/src/main/java/org/apache/sqoop/client/shell/HelpCommand.java
          • client/src/main/java/org/apache/sqoop/client/request/SqoopRequests.java
          • client/src/main/java/org/apache/sqoop/client/utils/FormFiller.java
          • client/src/main/java/org/apache/sqoop/client/shell/DeleteJobFunction.java
          • client/src/main/java/org/apache/sqoop/client/shell/CreateCommand.java
          • client/src/main/java/org/apache/sqoop/client/shell/ShowJobFunction.java
          • client/src/main/java/org/apache/sqoop/client/shell/ShellEnvironment.java
          • client/src/main/java/org/apache/sqoop/client/shell/SqoopShell.java
          • client/src/main/java/org/apache/sqoop/client/request/ConnectorRequest.java
          • client/src/main/java/org/apache/sqoop/client/shell/SetCommand.java
          • client/src/main/java/org/apache/sqoop/client/utils/SubmissionDisplayer.java
          • client/src/main/java/org/apache/sqoop/client/shell/SetOptionFunction.java
          • client/src/main/java/org/apache/sqoop/client/shell/CloneCommand.java
          • client/src/main/java/org/apache/sqoop/client/shell/DeleteCommand.java
          • client/src/main/java/org/apache/sqoop/client/core/RequestCache.java
          • client/src/main/java/org/apache/sqoop/client/shell/ShowConnectorFunction.java
          • client/src/main/java/org/apache/sqoop/client/shell/SubmissionStartFunction.java
          • client/src/main/java/org/apache/sqoop/client/shell/SubmissionStopFunction.java
          • test/src/test/java/org/apache/sqoop/integration/connector/jdbc/generic/TableImportTest.java
          • client/src/main/java/org/apache/sqoop/client/shell/ShowFrameworkFunction.java
          • client/src/main/java/org/apache/sqoop/client/shell/SetServerFunction.java
          Show
          Hudson added a comment - Integrated in Sqoop2-hadoop100 #221 (See https://builds.apache.org/job/Sqoop2-hadoop100/221/ ) SQOOP-918 : Introduce client API and change Sqoop shell to use it (Revision 2f9a2a71a6fc1387f509e47815b7d70cc97d6b0e) Result = FAILURE cheolsoo : https://git-wip-us.apache.org/repos/asf?p=sqoop.git&a=commit&h=2f9a2a71a6fc1387f509e47815b7d70cc97d6b0e Files : client/src/main/java/org/apache/sqoop/client/utils/ThrowableDisplayer.java client/src/main/java/org/apache/sqoop/client/shell/CloneJobFunction.java client/src/main/java/org/apache/sqoop/client/shell/CreateJobFunction.java client/src/main/java/org/apache/sqoop/client/core/Constants.java client/src/main/java/org/apache/sqoop/client/shell/SubmissionStatusFunction.java client/src/main/java/org/apache/sqoop/client/shell/ShowOptionFunction.java client/src/main/java/org/apache/sqoop/client/shell/DeleteConnectionFunction.java client/src/main/java/org/apache/sqoop/client/core/Environment.java client/src/main/java/org/apache/sqoop/client/shell/CreateConnectionFunction.java client/src/main/java/org/apache/sqoop/client/utils/TableDisplayer.java client/src/main/java/org/apache/sqoop/client/shell/ShowVersionFunction.java client/src/main/java/org/apache/sqoop/client/shell/UpdateCommand.java client/src/main/java/org/apache/sqoop/client/SqoopClient.java client/src/main/java/org/apache/sqoop/client/shell/CloneConnectionFunction.java client/src/main/java/org/apache/sqoop/client/shell/ShowServerFunction.java client/src/main/java/org/apache/sqoop/client/utils/FormDisplayer.java client/src/main/java/org/apache/sqoop/client/shell/ShowCommand.java client/src/main/java/org/apache/sqoop/client/shell/UpdateConnectionFunction.java client/src/main/java/org/apache/sqoop/client/request/SubmissionRequest.java client/src/main/java/org/apache/sqoop/client/shell/SqoopFunction.java client/src/main/java/org/apache/sqoop/client/request/ConnectionRequest.java client/src/main/java/org/apache/sqoop/client/shell/SubmissionCommand.java client/src/main/java/org/apache/sqoop/client/shell/UpdateJobFunction.java client/src/main/java/org/apache/sqoop/client/shell/ShowConnectionFunction.java client/src/main/java/org/apache/sqoop/client/request/JobRequest.java client/src/main/java/org/apache/sqoop/client/shell/SqoopCommand.java client/src/main/resources/client-resource.properties test/src/test/java/org/apache/sqoop/integration/TomcatTestCase.java client/src/main/java/org/apache/sqoop/client/shell/HelpCommand.java client/src/main/java/org/apache/sqoop/client/request/SqoopRequests.java client/src/main/java/org/apache/sqoop/client/utils/FormFiller.java client/src/main/java/org/apache/sqoop/client/shell/DeleteJobFunction.java client/src/main/java/org/apache/sqoop/client/shell/CreateCommand.java client/src/main/java/org/apache/sqoop/client/shell/ShowJobFunction.java client/src/main/java/org/apache/sqoop/client/shell/ShellEnvironment.java client/src/main/java/org/apache/sqoop/client/shell/SqoopShell.java client/src/main/java/org/apache/sqoop/client/request/ConnectorRequest.java client/src/main/java/org/apache/sqoop/client/shell/SetCommand.java client/src/main/java/org/apache/sqoop/client/utils/SubmissionDisplayer.java client/src/main/java/org/apache/sqoop/client/shell/SetOptionFunction.java client/src/main/java/org/apache/sqoop/client/shell/CloneCommand.java client/src/main/java/org/apache/sqoop/client/shell/DeleteCommand.java client/src/main/java/org/apache/sqoop/client/core/RequestCache.java client/src/main/java/org/apache/sqoop/client/shell/ShowConnectorFunction.java client/src/main/java/org/apache/sqoop/client/shell/SubmissionStartFunction.java client/src/main/java/org/apache/sqoop/client/shell/SubmissionStopFunction.java test/src/test/java/org/apache/sqoop/integration/connector/jdbc/generic/TableImportTest.java client/src/main/java/org/apache/sqoop/client/shell/ShowFrameworkFunction.java client/src/main/java/org/apache/sqoop/client/shell/SetServerFunction.java

            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