You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sqoop.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2014/11/10 05:29:33 UTC

[jira] [Commented] (SQOOP-1684) Use pre-existing HBase delegation token

    [ https://issues.apache.org/jira/browse/SQOOP-1684?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14204328#comment-14204328 ] 

ASF subversion and git services commented on SQOOP-1684:
--------------------------------------------------------

Commit 391091768651178126e93e52b198ed19ebedf220 in sqoop's branch refs/heads/trunk from [~jarcec]
[ https://git-wip-us.apache.org/repos/asf?p=sqoop.git;h=3910917 ]

SQOOP-1684: Use pre-existing HBase delegation token

(Abraham Elmahrek via Jarek Jarcec Cecho)


> Use pre-existing HBase delegation token
> ---------------------------------------
>
>                 Key: SQOOP-1684
>                 URL: https://issues.apache.org/jira/browse/SQOOP-1684
>             Project: Sqoop
>          Issue Type: Bug
>          Components: hbase-integration
>    Affects Versions: 1.4.5
>            Reporter: Abraham Elmahrek
>            Assignee: Abraham Elmahrek
>             Fix For: 1.4.6
>
>         Attachments: SQOOP-1684.1.patch
>
>
> The following code snippet will fail when running from Oozie: https://github.com/apache/sqoop/blob/branch-1.4.5/src/java/org/apache/sqoop/mapreduce/HBaseImportJob.java#L180
> {code}
> // Obtain security token if needed
> if ((Boolean)isHBaseSecurityEnabled.invoke(null, conf)) {
>    obtainAuthTokenForJob.invoke(user, conf, job);
> }
> {code}
> The reason being re-authentication is not possible when running from Oozie. oozie will provide delegation tokens. Sqoop should continue to run if delegation tokens are present.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)