Review Board 1.7.22


SQOOP-885 Allow excluding some tables from import-all-tables tools

Review Request #10134 - Created March 26, 2013 and submitted

Abraham Elmahrek
SQOOP-885
Reviewers
Sqoop
jarcec, kate
sqoop-trunk
commit 2898f99a2a0009c3a84a8d327f1be7b0c6a4fc7e
Author: Abraham Elmahrek <abraham@elmahrek.com>
Date:   Mon Mar 25 23:25:13 2013 -0700

    SQOOP-885 Allow excluding some tables from import-all-tables tools
    
    Added argument "--exclude-tables" which accepts a comma separated
    list of tables to exclude from the import process.
    Added a test case to validate table import exclusion.
    Updated documentation.

:100644 100644 5d340b9... 6b639f5... M	src/docs/man/sqoop-import-all-tables.txt
:100644 100644 9f9bc88... 8c3a4f5... M	src/docs/user/import-all-tables.txt
:100644 100644 a5f72f7... 3ca4a87... M	src/java/com/cloudera/sqoop/tool/BaseSqoopTool.java
:100644 100644 08bab1e... 64e7ada... M	src/java/org/apache/sqoop/SqoopOptions.java
:100644 100644 9874bae... 59308de... M	src/java/org/apache/sqoop/tool/BaseSqoopTool.java
:100644 100644 158a3f1... 76c8daf... M	src/java/org/apache/sqoop/tool/ImportAllTablesTool.java
:100644 100644 133bc8f... ce87eac... M	src/test/com/cloudera/sqoop/TestAllTables.java
Added test case. Executed import all test cases.
src/docs/man/sqoop-import-all-tables.txt
Revision 5d340b9967488c2d1d6e72d2f4d69aa8f4906bda New Change
[20] 57 lines
[+20]
58
  if set) to compress data as it is written to HDFS
58
  if set) to compress data as it is written to HDFS
59

    
   
59

   
60
--compression-codec (codec)::
60
--compression-codec (codec)::
61
  Uses the Hadoop +codec+ class to compress data as it is written to HDFS.
61
  Uses the Hadoop +codec+ class to compress data as it is written to HDFS.
62

    
   
62

   

    
   
63
--exclude-tables (codec)::

    
   
64
  Comma separated list of tables to exclude from import process.

    
   
65

   
63

    
   
66

   
64
include::output-args.txt[]
67
include::output-args.txt[]
65

    
   
68

   
66
include::input-args.txt[]
69
include::input-args.txt[]
67

    
   
70

   
[+20] [20] 57 lines
src/docs/user/import-all-tables.txt
Revision 9f9bc885bf6464093604a90303b28839297586ce New Change
 
src/java/com/cloudera/sqoop/tool/BaseSqoopTool.java
Revision a5f72f7a6280cbe53914a8628bce032120e7d2f4 New Change
 
src/java/org/apache/sqoop/SqoopOptions.java
Revision 08bab1e4d39824b25bc055bb8a7b96fde18cad81 New Change
 
src/java/org/apache/sqoop/tool/BaseSqoopTool.java
Revision 9874bae773d5de260a8859d9f1b0349b56a89b12 New Change
 
src/java/org/apache/sqoop/tool/ImportAllTablesTool.java
Revision 158a3f18823ae4ea7511d1b71a75a23b4458809d New Change
 
src/test/com/cloudera/sqoop/TestAllTables.java
Revision 133bc8f69be1f7e7f3cf0a788779de4156cc27bd New Change
 
  1. src/docs/man/sqoop-import-all-tables.txt: Loading...
  2. src/docs/user/import-all-tables.txt: Loading...
  3. src/java/com/cloudera/sqoop/tool/BaseSqoopTool.java: Loading...
  4. src/java/org/apache/sqoop/SqoopOptions.java: Loading...
  5. src/java/org/apache/sqoop/tool/BaseSqoopTool.java: Loading...
  6. src/java/org/apache/sqoop/tool/ImportAllTablesTool.java: Loading...
  7. src/test/com/cloudera/sqoop/TestAllTables.java: Loading...