Sqoop
  1. Sqoop
  2. SQOOP-675

Sqoop2: Substitute submission command with top level commands start, stop and status

    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

      We might want to substitute client command "submission" with commands "start", "stop" and "status" as they would make more sense for end user.

      1. SQOOP-675.1.patch
        31 kB
        Mengwei Ding
      2. SQOOP-675.2.patch
        45 kB
        Mengwei Ding
      3. SQOOP-675.3.patch
        35 kB
        Mengwei Ding
      4. SQOOP-675.4.patch
        34 kB
        Mengwei Ding

        Issue Links

          Activity

          Hide
          Hudson added a comment -

          Integrated in Sqoop2-hadoop100 #449 (See https://builds.apache.org/job/Sqoop2-hadoop100/449/)
          SQOOP-675: Sqoop2: Substitute submission command with top level commands start, stop and status (Revision 214cde024a4110b0af39f5029dd260bdb6c420ec)

          Result = SUCCESS
          jarcec : https://git-wip-us.apache.org/repos/asf?p=sqoop.git&a=commit&h=214cde024a4110b0af39f5029dd260bdb6c420ec
          Files :

          • client/src/main/java/org/apache/sqoop/client/core/ClientError.java
          • client/src/main/java/org/apache/sqoop/client/shell/StartCommand.java
          • client/src/main/java/org/apache/sqoop/client/shell/StopCommand.java
          • client/src/main/resources/client-resource.properties
          • client/src/main/java/org/apache/sqoop/client/shell/SubmissionStatusFunction.java
          • client/src/main/java/org/apache/sqoop/client/shell/StatusJobFunction.java
          • client/src/main/java/org/apache/sqoop/client/shell/StopJobFunction.java
          • client/src/main/java/org/apache/sqoop/client/shell/SqoopShell.java
          • docs/src/site/sphinx/CommandLineClient.rst
          • client/src/main/java/org/apache/sqoop/client/core/Constants.java
          • client/src/main/java/org/apache/sqoop/client/shell/StatusCommand.java
          • client/src/main/java/org/apache/sqoop/client/shell/StartJobFunction.java
          • client/src/main/java/org/apache/sqoop/client/shell/SubmissionStartFunction.java
          • client/src/main/java/org/apache/sqoop/client/shell/SubmissionStopFunction.java
          • client/src/main/java/org/apache/sqoop/client/shell/SubmissionCommand.java
          Show
          Hudson added a comment - Integrated in Sqoop2-hadoop100 #449 (See https://builds.apache.org/job/Sqoop2-hadoop100/449/ ) SQOOP-675 : Sqoop2: Substitute submission command with top level commands start, stop and status (Revision 214cde024a4110b0af39f5029dd260bdb6c420ec) Result = SUCCESS jarcec : https://git-wip-us.apache.org/repos/asf?p=sqoop.git&a=commit&h=214cde024a4110b0af39f5029dd260bdb6c420ec Files : client/src/main/java/org/apache/sqoop/client/core/ClientError.java client/src/main/java/org/apache/sqoop/client/shell/StartCommand.java client/src/main/java/org/apache/sqoop/client/shell/StopCommand.java client/src/main/resources/client-resource.properties client/src/main/java/org/apache/sqoop/client/shell/SubmissionStatusFunction.java client/src/main/java/org/apache/sqoop/client/shell/StatusJobFunction.java client/src/main/java/org/apache/sqoop/client/shell/StopJobFunction.java client/src/main/java/org/apache/sqoop/client/shell/SqoopShell.java docs/src/site/sphinx/CommandLineClient.rst client/src/main/java/org/apache/sqoop/client/core/Constants.java client/src/main/java/org/apache/sqoop/client/shell/StatusCommand.java client/src/main/java/org/apache/sqoop/client/shell/StartJobFunction.java client/src/main/java/org/apache/sqoop/client/shell/SubmissionStartFunction.java client/src/main/java/org/apache/sqoop/client/shell/SubmissionStopFunction.java client/src/main/java/org/apache/sqoop/client/shell/SubmissionCommand.java
          Hide
          Hudson added a comment -

          Integrated in Sqoop2-hadoop200 #426 (See https://builds.apache.org/job/Sqoop2-hadoop200/426/)
          SQOOP-675: Sqoop2: Substitute submission command with top level commands start, stop and status (Revision 214cde024a4110b0af39f5029dd260bdb6c420ec)

          Result = SUCCESS
          jarcec : https://git-wip-us.apache.org/repos/asf?p=sqoop.git&a=commit&h=214cde024a4110b0af39f5029dd260bdb6c420ec
          Files :

          • client/src/main/java/org/apache/sqoop/client/shell/SubmissionStatusFunction.java
          • client/src/main/java/org/apache/sqoop/client/shell/StartCommand.java
          • client/src/main/java/org/apache/sqoop/client/shell/SubmissionStartFunction.java
          • client/src/main/java/org/apache/sqoop/client/shell/SqoopShell.java
          • client/src/main/java/org/apache/sqoop/client/core/ClientError.java
          • client/src/main/java/org/apache/sqoop/client/shell/StatusJobFunction.java
          • client/src/main/resources/client-resource.properties
          • client/src/main/java/org/apache/sqoop/client/shell/SubmissionCommand.java
          • client/src/main/java/org/apache/sqoop/client/core/Constants.java
          • client/src/main/java/org/apache/sqoop/client/shell/StartJobFunction.java
          • client/src/main/java/org/apache/sqoop/client/shell/StatusCommand.java
          • client/src/main/java/org/apache/sqoop/client/shell/StopJobFunction.java
          • client/src/main/java/org/apache/sqoop/client/shell/StopCommand.java
          • docs/src/site/sphinx/CommandLineClient.rst
          • client/src/main/java/org/apache/sqoop/client/shell/SubmissionStopFunction.java
          Show
          Hudson added a comment - Integrated in Sqoop2-hadoop200 #426 (See https://builds.apache.org/job/Sqoop2-hadoop200/426/ ) SQOOP-675 : Sqoop2: Substitute submission command with top level commands start, stop and status (Revision 214cde024a4110b0af39f5029dd260bdb6c420ec) Result = SUCCESS jarcec : https://git-wip-us.apache.org/repos/asf?p=sqoop.git&a=commit&h=214cde024a4110b0af39f5029dd260bdb6c420ec Files : client/src/main/java/org/apache/sqoop/client/shell/SubmissionStatusFunction.java client/src/main/java/org/apache/sqoop/client/shell/StartCommand.java client/src/main/java/org/apache/sqoop/client/shell/SubmissionStartFunction.java client/src/main/java/org/apache/sqoop/client/shell/SqoopShell.java client/src/main/java/org/apache/sqoop/client/core/ClientError.java client/src/main/java/org/apache/sqoop/client/shell/StatusJobFunction.java client/src/main/resources/client-resource.properties client/src/main/java/org/apache/sqoop/client/shell/SubmissionCommand.java client/src/main/java/org/apache/sqoop/client/core/Constants.java client/src/main/java/org/apache/sqoop/client/shell/StartJobFunction.java client/src/main/java/org/apache/sqoop/client/shell/StatusCommand.java client/src/main/java/org/apache/sqoop/client/shell/StopJobFunction.java client/src/main/java/org/apache/sqoop/client/shell/StopCommand.java docs/src/site/sphinx/CommandLineClient.rst client/src/main/java/org/apache/sqoop/client/shell/SubmissionStopFunction.java
          Hide
          Jarek Jarcec Cecho added a comment -

          Thank you Mengwei Ding!

          Show
          Jarek Jarcec Cecho added a comment - Thank you Mengwei Ding !
          Hide
          ASF subversion and git services added a comment -

          Commit 214cde024a4110b0af39f5029dd260bdb6c420ec in branch refs/heads/sqoop2 from Jarek Jarcec Cecho
          [ https://git-wip-us.apache.org/repos/asf?p=sqoop.git;h=214cde0 ]

          SQOOP-675: Sqoop2: Substitute submission command with top level commands start, stop and status

          (Mengwei Ding via Jarek Jarcec Cecho)

          Show
          ASF subversion and git services added a comment - Commit 214cde024a4110b0af39f5029dd260bdb6c420ec in branch refs/heads/sqoop2 from Jarek Jarcec Cecho [ https://git-wip-us.apache.org/repos/asf?p=sqoop.git;h=214cde0 ] SQOOP-675 : Sqoop2: Substitute submission command with top level commands start, stop and status (Mengwei Ding via Jarek Jarcec Cecho)
          Hide
          Jarek Jarcec Cecho added a comment -

          Our current commands are in form of a verb create, update, delete and others. The submission command is not a verb which seems weird. One idea how to improve this is to create "top-level" commands start, stop and status, however it would be interesting to also investigate other options.

          Show
          Jarek Jarcec Cecho added a comment - Our current commands are in form of a verb create , update , delete and others. The submission command is not a verb which seems weird. One idea how to improve this is to create "top-level" commands start , stop and status , however it would be interesting to also investigate other options.

            People

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

              Dates

              • Created:
                Updated:
                Resolved:

                Development