[
https://issues.apache.org/jira/browse/SQOOP-1684?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Abraham Elmahrek updated SQOOP-1684:
------------------------------------
Attachment: SQOOP-1684.1.patch
> 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
> 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)