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

Hudson commented on SQOOP-1684:
-------------------------------

SUCCESS: Integrated in Sqoop-ant-jdk-1.6-hadoop200 #952 (See 
[https://builds.apache.org/job/Sqoop-ant-jdk-1.6-hadoop200/952/])
SQOOP-1684: Use pre-existing HBase delegation token (jarcec: 
https://git-wip-us.apache.org/repos/asf?p=sqoop.git&a=commit&h=391091768651178126e93e52b198ed19ebedf220)
* src/java/org/apache/sqoop/mapreduce/HBaseImportJob.java


> 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)

Reply via email to