Review Board 1.7.22


SQOOP-723 Add possibility to have synchronous submissions in Sqoop 2

Review Request #10383 - Created April 9, 2013 and submitted

Abraham Elmahrek
SQOOP-723
Reviewers
Sqoop
jarcec, kate
sqoop-trunk
commit 0ce5525d2cb74a154b3c70694c8463640f87fdbb
Author: Abraham Elmahrek <abraham@elmahrek.com>
Date:   Mon Apr 8 09:06:27 2013 -0700

    SQOOP-723 Add possibility to have synchronous submissions in Sqoop 2

:100644 100644 cc956d0... de6b362... M	client/src/main/java/org/apache/sqoop/client/core/Constants.java
:100644 100644 cefe0a2... e9a33bf... M	client/src/main/java/org/apache/sqoop/client/shell/SubmissionStartFunction.java
:100644 100644 feb09e0... bfc005d... M	client/src/main/resources/client-resource.properties
Ran all unit tests and integration tests.
Manually tested synchronous execution.
client/src/main/java/org/apache/sqoop/client/core/Constants.java
Revision cc956d0f9306a08ef9084e7b878f82e3e355d617 New Change
[20] 40 lines
[+20] [+] public class Constants {
41
  public static final String OPT_PORT = "port";
41
  public static final String OPT_PORT = "port";
42
  public static final String OPT_WEBAPP = "webapp";
42
  public static final String OPT_WEBAPP = "webapp";
43
  public static final String OPT_SERVER = "server";
43
  public static final String OPT_SERVER = "server";
44
  public static final String OPT_CLIENT = "client";
44
  public static final String OPT_CLIENT = "client";
45
  public static final String OPT_PROTOCOL = "protocol";
45
  public static final String OPT_PROTOCOL = "protocol";

    
   
46
  public static final String OPT_SYNCHRONOUS = "synchronous";

    
   
47
  public static final String OPT_POLL_TIMEOUT = "poll-timeout";
46

    
   
48

   
47
  public static final char OPT_XID_CHAR = 'x';
49
  public static final char OPT_XID_CHAR = 'x';
48
  public static final char OPT_ALL_CHAR = 'a';
50
  public static final char OPT_ALL_CHAR = 'a';
49
  public static final char OPT_JID_CHAR = 'j';
51
  public static final char OPT_JID_CHAR = 'j';
50
  public static final char OPT_CID_CHAR = 'c';
52
  public static final char OPT_CID_CHAR = 'c';
[+20] [20] 238 lines
[+20] public class Constants {
289
  public static final String RES_SQOOP_PROMPT_SHELL_LOADEDRC =
291
  public static final String RES_SQOOP_PROMPT_SHELL_LOADEDRC =
290
      "sqoop.prompt_shell_loadedrc";
292
      "sqoop.prompt_shell_loadedrc";
291

    
   
293

   
292
  public static final String RES_SUBMISSION_USAGE =
294
  public static final String RES_SUBMISSION_USAGE =
293
      "submission.usage";
295
      "submission.usage";

    
   
296
  public static final String RES_PROMPT_SYNCHRONOUS =

    
   
297
      "submission.prompt_synchronous";

    
   
298
  public static final String RES_PROMPT_POLL_TIMEOUT =

    
   
299
      "submission.prompt_poll_timeout";
294

    
   
300

   
295
  public static final String RES_UPDATE_USAGE =
301
  public static final String RES_UPDATE_USAGE =
296
      "update.usage";
302
      "update.usage";
297
  public static final String RES_UPDATE_UPDATING_CONN =
303
  public static final String RES_UPDATE_UPDATING_CONN =
298
      "update.conn";
304
      "update.conn";
[+20] [20] 58 lines
client/src/main/java/org/apache/sqoop/client/shell/SubmissionStartFunction.java
Revision cefe0a2cfd1e7add6802e1f18d40c5e8e717ec96 New Change
 
client/src/main/resources/client-resource.properties
Revision feb09e0d40dc66e5475b9183d6d98a19eb98f357 New Change
 
  1. client/src/main/java/org/apache/sqoop/client/core/Constants.java: Loading...
  2. client/src/main/java/org/apache/sqoop/client/shell/SubmissionStartFunction.java: Loading...
  3. client/src/main/resources/client-resource.properties: Loading...