Review Board 1.7.22


Fix for SQOOP-107

Review Request #11041 - Created May 10, 2013 and updated

Shruti Joshi
https://issues.cloudera.org/browse/SQOOP-107
Reviewers
Sqoop
sqoop-trunk
Sqoop does not support importing data into hbase when table contains composite key.
ant test (default) was a success.
src/docs/man/hbase-args.txt
Revision 7164e93 New Change
[20] 26 lines
[+20]
27
--hbase-create-table::
27
--hbase-create-table::
28
  If specified, create missing HBase tables
28
  If specified, create missing HBase tables
29

    
   
29

   
30
--hbase-row-key (col)::
30
--hbase-row-key (col)::
31
  Specifies which input column to use as the row key
31
  Specifies which input column to use as the row key

    
   
32
  If input table contains composite key, value of

    
   
33
  (col) must be a comma-separated list of composite

    
   
34
  key attributes
32

    
   
35

   
33
--hbase-table (table-name)::
36
--hbase-table (table-name)::
34
  Specifies an HBase table to use as the target instead of HDFS
37
  Specifies an HBase table to use as the target instead of HDFS
35

    
   
38

   
36

    
   
39

   
src/docs/user/hbase.txt
Revision 24c8df8 New Change
 
src/docs/user/hbase-args.txt
Revision 36b930b New Change
 
src/java/org/apache/sqoop/hbase/HBasePutProcessor.java
Revision 6aca97f New Change
 
src/java/org/apache/sqoop/hbase/ToStringPutTransformer.java
Revision 13c765c New Change
 
src/test/com/cloudera/sqoop/hbase/HBaseImportAddRowKeyTest.java
Revision bd1cd2d New Change
 
  1. src/docs/man/hbase-args.txt: Loading...
  2. src/docs/user/hbase.txt: Loading...
  3. src/docs/user/hbase-args.txt: Loading...
  4. src/java/org/apache/sqoop/hbase/HBasePutProcessor.java: Loading...
  5. src/java/org/apache/sqoop/hbase/ToStringPutTransformer.java: Loading...
  6. src/test/com/cloudera/sqoop/hbase/HBaseImportAddRowKeyTest.java: Loading...