-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/30632/
-----------------------------------------------------------

Review request for Sqoop.


Bugs: SQOOP-2057
    https://issues.apache.org/jira/browse/SQOOP-2057


Repository: sqoop-trunk


Description
-------

commit 3b38ba1ef0d5b38cd5ba04927b35eef9199d3d63
Author: Abraham Elmahrek <[email protected]>
Date:   Fri Jan 30 13:21:00 2015 -0800

    SQOOP-2057: Skip delegation token generation flag during hbase import

:100644 100644 ac8758b... 39c2765... M  
src/java/org/apache/sqoop/mapreduce/HBaseImportJob.java


Diffs
-----

  src/java/org/apache/sqoop/mapreduce/HBaseImportJob.java ac8758b 

Diff: https://reviews.apache.org/r/30632/diff/


Testing
-------

tested import with oozie and without oozie in a kerberized server with 3 nodes.

Commands tried from CLI:
1. sqoop import --connect jdbc:mysql://****/****  --username **** --password 
**** --table test --hbase-table test --column-family te --hbase-row-key id 
--hbase-create-table
2. sqoop import -Dsqoop.hbase.security.token.skip=true --connect 
jdbc:mysql://****/****  --username **** --password **** --table test 
--hbase-table test --column-family te --hbase-row-key id --hbase-create-table

1 succeeds and 2 fails.

Command tried from oozie:
1. import --connect jdbc:mysql://****/****  --username **** --password **** 
--table test --hbase-table test --column-family te --hbase-row-key id 
--hbase-create-table

Modified oozie to pass "sqoop.hbase.security.token.skip=true" in order to 
succeed.


Thanks,

Abraham Elmahrek

Reply via email to