Review Board 1.7.22


Sqoop2: Export sub directories option

Review Request #11588 - Created June 1, 2013 and updated

Vasanth kumar RJ
SQOOP-1063
Reviewers
Sqoop
sqoop-sqoop2
Introducing new option for exporting the sub directories of the given input directory.

Added new input 
Input configuration

Input directory: /input
Recursive: true
Test case written and executed.
core/src/main/java/org/apache/sqoop/framework/configuration/InputForm.java
Revision d5cbeec New Change
[20] 24 lines
[+20]
25
 */
25
 */
26
@FormClass
26
@FormClass
27
public class InputForm {
27
public class InputForm {
28

    
   
28

   
29
  @Input(size = 255) public String inputDirectory;
29
  @Input(size = 255) public String inputDirectory;

    
   
30

   

    
   
31
  @Input(size = 255) public Boolean recursiveExport;
30
}
32
}
core/src/main/resources/framework-resources.properties
Revision 7ecb9ae New Change
 
execution/mapreduce/src/main/java/org/apache/sqoop/execution/mapreduce/MapreduceExecutionEngine.java
Revision 5c0a027 New Change
 
execution/mapreduce/src/main/java/org/apache/sqoop/job/JobConstants.java
Revision 7fd9a01 New Change
 
execution/mapreduce/src/main/java/org/apache/sqoop/job/etl/HdfsExportPartitioner.java
Revision b3590dc New Change
 
execution/mapreduce/src/test/java/org/apache/sqoop/job/TestHdfsExtract.java
Revision b7079dd New Change
 
  1. core/src/main/java/org/apache/sqoop/framework/configuration/InputForm.java: Loading...
  2. core/src/main/resources/framework-resources.properties: Loading...
  3. execution/mapreduce/src/main/java/org/apache/sqoop/execution/mapreduce/MapreduceExecutionEngine.java: Loading...
  4. execution/mapreduce/src/main/java/org/apache/sqoop/job/JobConstants.java: Loading...
  5. execution/mapreduce/src/main/java/org/apache/sqoop/job/etl/HdfsExportPartitioner.java: Loading...
  6. execution/mapreduce/src/test/java/org/apache/sqoop/job/TestHdfsExtract.java: Loading...