Review Board 1.7.22


SQOOP-1103 Sqoop2: Basic schema: Provide facility transfer Schema from server to client

Review Request #12091 - Created June 25, 2013 and submitted

Jarek Cecho
SQOOP-1103
Reviewers
Sqoop
sqoop-sqoop2
This is part of SQOOP-1073 that is adding facilities to transfer schema from server to client in MSubmission object. Please note that the schema is not currently persisted in the metastore which will be addressed by follow up JIRA.

 
client/src/main/java/org/apache/sqoop/client/core/Constants.java
Revision 06f8162 New Change
[20] 402 lines
[+20] [+] public class Constants {
403
      "submission.counters";
403
      "submission.counters";
404
  public static final String RES_SUBMISSION_EXECUTED_SUCCESS =
404
  public static final String RES_SUBMISSION_EXECUTED_SUCCESS =
405
      "submission.executed_success";
405
      "submission.executed_success";
406
  public static final String RES_SUBMISSION_SERVER_URL =
406
  public static final String RES_SUBMISSION_SERVER_URL =
407
      "submission.server_url";
407
      "submission.server_url";

    
   
408
  public static final String RES_CONNECTOR_SCHEMA =

    
   
409
      "submission.connector_schema";

    
   
410
  public static final String RES_HIO_SCHEMA =

    
   
411
    "submission.hio_schema";
408

    
   
412

   
409
  private Constants() {
413
  private Constants() {
410
    // Instantiation is prohibited
414
    // Instantiation is prohibited
411
  }
415
  }
412
}
416
}
client/src/main/java/org/apache/sqoop/client/utils/SubmissionDisplayer.java
Revision 360a931 New Change
 
client/src/main/resources/client-resource.properties
Revision 8a570a1 New Change
 
common/src/main/java/org/apache/sqoop/json/SchemaBean.java
New File
 
common/src/main/java/org/apache/sqoop/json/SubmissionBean.java
Revision 91f2007 New Change
 
common/src/main/java/org/apache/sqoop/json/util/SchemaSerialization.java
New File
 
common/src/main/java/org/apache/sqoop/model/MSubmission.java
Revision e15c466 New Change
 
common/src/test/java/org/apache/sqoop/json/TestSchemaBean.java
New File
 
common/src/test/java/org/apache/sqoop/json/TestSubmissionBean.java
Revision 19a5bba New Change
 
common/src/test/java/org/apache/sqoop/json/util/TestSchemaSerialization.java
New File
 
  1. client/src/main/java/org/apache/sqoop/client/core/Constants.java: Loading...
  2. client/src/main/java/org/apache/sqoop/client/utils/SubmissionDisplayer.java: Loading...
  3. client/src/main/resources/client-resource.properties: Loading...
  4. common/src/main/java/org/apache/sqoop/json/SchemaBean.java: Loading...
  5. common/src/main/java/org/apache/sqoop/json/SubmissionBean.java: Loading...
  6. common/src/main/java/org/apache/sqoop/json/util/SchemaSerialization.java: Loading...
  7. common/src/main/java/org/apache/sqoop/model/MSubmission.java: Loading...
  8. common/src/test/java/org/apache/sqoop/json/TestSchemaBean.java: Loading...
  9. common/src/test/java/org/apache/sqoop/json/TestSubmissionBean.java: Loading...
  10. common/src/test/java/org/apache/sqoop/json/util/TestSchemaSerialization.java: Loading...