Review Board 1.7.22


SQOOP-1073 Sqoop2: Introduce schema for transferred data

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

Jarek Cecho
SQOOP-1073
Reviewers
Sqoop
sqoop-sqoop2
Full implementation of the first schema drop. It is adding all facilities required to describe, create and transfer the schema. Further tweaking will be required and will be done in follow up JIRAs.
Both unit and integration tests seems to be passing.
client/src/main/java/org/apache/sqoop/client/core/Constants.java
Revision 06f8162e76122451bf0e52f8749af610a37837e8 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 360a9318f268ba7b266307df2f9f1de2d6fd4ade New Change
 
client/src/main/resources/client-resource.properties
Revision 8a570a1621ce37225d2e72b70aa332564a3ffa0a New Change
 
common/pom.xml
Revision 2921800aa1cde5f8df476ca14ca3218de11884c5 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 91f2007f00b5c0e6cefa8a7feb03257b3b13866c 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 e15c46651aad7bfe3969d051390756a14dd338b3 New Change
 
common/src/main/java/org/apache/sqoop/schema/Schema.java
New File
 
common/src/main/java/org/apache/sqoop/schema/SchemaError.java
New File
 
common/src/main/java/org/apache/sqoop/schema/type/AbstractComplexType.java
New File
 
common/src/main/java/org/apache/sqoop/schema/type/AbstractDateTime.java
New File
 
common/src/main/java/org/apache/sqoop/schema/type/AbstractNumber.java
New File
 
common/src/main/java/org/apache/sqoop/schema/type/AbstractString.java
New File
 
common/src/main/java/org/apache/sqoop/schema/type/Array.java
New File
 
common/src/main/java/org/apache/sqoop/schema/type/Binary.java
New File
 
common/src/main/java/org/apache/sqoop/schema/type/Bit.java
New File
 
common/src/main/java/org/apache/sqoop/schema/type/Column.java
New File
 
common/src/main/java/org/apache/sqoop/schema/type/Date.java
New File
 
common/src/main/java/org/apache/sqoop/schema/type/DateTime.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/pom.xml: Loading...
  5. common/src/main/java/org/apache/sqoop/json/SchemaBean.java: Loading...
  6. common/src/main/java/org/apache/sqoop/json/SubmissionBean.java: Loading...
  7. common/src/main/java/org/apache/sqoop/json/util/SchemaSerialization.java: Loading...
  8. common/src/main/java/org/apache/sqoop/model/MSubmission.java: Loading...
  9. common/src/main/java/org/apache/sqoop/schema/Schema.java: Loading...
  10. common/src/main/java/org/apache/sqoop/schema/SchemaError.java: Loading...
  11. common/src/main/java/org/apache/sqoop/schema/type/AbstractComplexType.java: Loading...
  12. common/src/main/java/org/apache/sqoop/schema/type/AbstractDateTime.java: Loading...
  13. common/src/main/java/org/apache/sqoop/schema/type/AbstractNumber.java: Loading...
  14. common/src/main/java/org/apache/sqoop/schema/type/AbstractString.java: Loading...
  15. common/src/main/java/org/apache/sqoop/schema/type/Array.java: Loading...
  16. common/src/main/java/org/apache/sqoop/schema/type/Binary.java: Loading...
  17. common/src/main/java/org/apache/sqoop/schema/type/Bit.java: Loading...
  18. common/src/main/java/org/apache/sqoop/schema/type/Column.java: Loading...
  19. common/src/main/java/org/apache/sqoop/schema/type/Date.java: Loading...
  20. common/src/main/java/org/apache/sqoop/schema/type/DateTime.java: Loading...
This diff has been split across 2 pages: 1 2 >