You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sqoop.apache.org by Abraham Elmahrek <ab...@cloudera.com> on 2015/02/04 20:14:43 UTC

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

-----------------------------------------------------------
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 <ab...@apache.org>
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


Re: Review Request 30632: SQOOP-2057: Skip delegation token generation flag during hbase import

Posted by Jarek Cecho <ja...@apache.org>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/30632/#review71038
-----------------------------------------------------------

Ship it!


Ship It!

- Jarek Cecho


On Feb. 4, 2015, 7:14 p.m., Abraham Elmahrek wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/30632/
> -----------------------------------------------------------
> 
> (Updated Feb. 4, 2015, 7:14 p.m.)
> 
> 
> Review request for Sqoop.
> 
> 
> Bugs: SQOOP-2057
>     https://issues.apache.org/jira/browse/SQOOP-2057
> 
> 
> Repository: sqoop-trunk
> 
> 
> Description
> -------
> 
> commit 3b38ba1ef0d5b38cd5ba04927b35eef9199d3d63
> Author: Abraham Elmahrek <ab...@apache.org>
> 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
> 
>