Review Board 1.7.22


SQOOP-675 replace 'submission' cmd with 'start', 'stop' and 'status' cmds.

Review Request #11983 - Created June 20, 2013 and submitted

Mengwei Ding
SQOOP-675
Reviewers
Sqoop
abe, hshreedharan, jarcec
sqoop-sqoop2
commit 93eeb1225d6be0d95783ce6da5b8fd6e3d9fe986
Author: Mengwei Ding <mengwei.ding@cloudera.com>
Date:   Wed Jun 19 17:56:57 2013 -0700

    SQOOP-675 replace 'submission' cmd with 'start', 'stop' and 'status' cmds.

:100644 100644 944fb49... d96f44e... M	client/src/main/java/org/apache/sqoop/client/core/ClientError.java
:100644 100644 085fcdb... b7b0436... M	client/src/main/java/org/apache/sqoop/client/core/Constants.java
:100644 100644 83f1c4f... aa87f20... M	client/src/main/java/org/apache/sqoop/client/shell/SqoopShell.java
:000000 100644 0000000... 7293f56... A	client/src/main/java/org/apache/sqoop/client/shell/StartCommand.java
:000000 100644 0000000... 2e1c8d3... A	client/src/main/java/org/apache/sqoop/client/shell/StartJobFunction.java
:000000 100644 0000000... 5aab035... A	client/src/main/java/org/apache/sqoop/client/shell/StatusCommand.java
:000000 100644 0000000... b854a90... A	client/src/main/java/org/apache/sqoop/client/shell/StatusJobFunction.java
:000000 100644 0000000... 154c58e... A	client/src/main/java/org/apache/sqoop/client/shell/StopCommand.java
:000000 100644 0000000... 49ab461... A	client/src/main/java/org/apache/sqoop/client/shell/StopJobFunction.java
:100644 000000 993bbde... 0000000... D	client/src/main/java/org/apache/sqoop/client/shell/SubmissionCommand.java
:100644 000000 04bcf45... 0000000... D	client/src/main/java/org/apache/sqoop/client/shell/SubmissionStartFunction.java
:100644 000000 29144d1... 0000000... D	client/src/main/java/org/apache/sqoop/client/shell/SubmissionStatusFunction.java
:100644 000000 c407d01... 0000000... D	client/src/main/java/org/apache/sqoop/client/shell/SubmissionStopFunction.java
:100644 100644 a27d246... 5537a8e... M	client/src/main/resources/client-resource.properties
:100644 100644 a14898f... 22d6d47... M	docs/src/site/sphinx/CommandLineClient.rst
Done several manual test for all these 3 commands and their options.
client/src/main/java/org/apache/sqoop/client/core/ClientError.java
Revision 944fb49 New Change
[20] 44 lines
[+20]
45
  /** Command not compatible with batch mode */
45
  /** Command not compatible with batch mode */
46
  CLIENT_0007("Command not compatible with batch mode"),
46
  CLIENT_0007("Command not compatible with batch mode"),
47

    
   
47

   
48
  /** Polling time of submission status cannot be negative */
48
  /** Polling time of submission status cannot be negative */
49
  CLIENT_0008("Polling time of submission status cannot be negative"),
49
  CLIENT_0008("Polling time of submission status cannot be negative"),

    
   
50

   

    
   
51
  /** Job Submission : Cannot sleep */

    
   
52
  CLIENT_0009("Cannot sleep"),

    
   
53

   
50
  ;
54
  ;
51

    
   
55

   
52
  private final String message;
56
  private final String message;
53

    
   
57

   
54
  private ClientError(String message) {
58
  private ClientError(String message) {
[+20] [20] 11 lines
client/src/main/java/org/apache/sqoop/client/core/Constants.java
Revision 085fcdb New Change
 
client/src/main/java/org/apache/sqoop/client/shell/SqoopShell.java
Revision 83f1c4f New Change
 
client/src/main/java/org/apache/sqoop/client/shell/StartCommand.java
New File
 
client/src/main/java/org/apache/sqoop/client/shell/StartJobFunction.java
New File
 
client/src/main/java/org/apache/sqoop/client/shell/StatusCommand.java
New File
 
client/src/main/java/org/apache/sqoop/client/shell/StatusJobFunction.java
New File
 
client/src/main/java/org/apache/sqoop/client/shell/StopCommand.java
New File
 
client/src/main/java/org/apache/sqoop/client/shell/StopJobFunction.java
New File
 
client/src/main/java/org/apache/sqoop/client/shell/SubmissionCommand.java
Revision 993bbde New Change
 
client/src/main/java/org/apache/sqoop/client/shell/SubmissionStartFunction.java
Revision 04bcf45 New Change
 
client/src/main/java/org/apache/sqoop/client/shell/SubmissionStatusFunction.java
Revision 29144d1 New Change
 
client/src/main/java/org/apache/sqoop/client/shell/SubmissionStopFunction.java
Revision c407d01 New Change
 
client/src/main/resources/client-resource.properties
Revision a27d246 New Change
 
docs/src/site/sphinx/CommandLineClient.rst
Revision a14898f New Change
 
  1. client/src/main/java/org/apache/sqoop/client/core/ClientError.java: Loading...
  2. client/src/main/java/org/apache/sqoop/client/core/Constants.java: Loading...
  3. client/src/main/java/org/apache/sqoop/client/shell/SqoopShell.java: Loading...
  4. client/src/main/java/org/apache/sqoop/client/shell/StartCommand.java: Loading...
  5. client/src/main/java/org/apache/sqoop/client/shell/StartJobFunction.java: Loading...
  6. client/src/main/java/org/apache/sqoop/client/shell/StatusCommand.java: Loading...
  7. client/src/main/java/org/apache/sqoop/client/shell/StatusJobFunction.java: Loading...
  8. client/src/main/java/org/apache/sqoop/client/shell/StopCommand.java: Loading...
  9. client/src/main/java/org/apache/sqoop/client/shell/StopJobFunction.java: Loading...
  10. client/src/main/java/org/apache/sqoop/client/shell/SubmissionCommand.java: Loading...
  11. client/src/main/java/org/apache/sqoop/client/shell/SubmissionStartFunction.java: Loading...
  12. client/src/main/java/org/apache/sqoop/client/shell/SubmissionStatusFunction.java: Loading...
  13. client/src/main/java/org/apache/sqoop/client/shell/SubmissionStopFunction.java: Loading...
  14. client/src/main/resources/client-resource.properties: Loading...
  15. docs/src/site/sphinx/CommandLineClient.rst: Loading...