[ 
https://issues.apache.org/jira/browse/PIG-3206?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Rohini Palaniswamy updated PIG-3206:
------------------------------------

    Attachment: PIG-3206-1.patch

Resorted to fetching delegation token only if kerberos credentials are there. 
Other approach is to to check if the JobConf has delegation token using 
TokenSelector for that particular hbase cluster and if not fetch the token. But 
that requires getting the cluster ID of hbase to match the service name and 
there is no clean API available in hbase to fetch the cluster id. 
                
> HBaseStorage does not work with Oozie pig action and secure HBase
> -----------------------------------------------------------------
>
>                 Key: PIG-3206
>                 URL: https://issues.apache.org/jira/browse/PIG-3206
>             Project: Pig
>          Issue Type: Bug
>            Reporter: Rohini Palaniswamy
>            Assignee: Rohini Palaniswamy
>         Attachments: PIG-3206-1.patch
>
>
> HBaseStorage always tries to fetch delegation token for a secure hbase 
> cluster. But when pig is launched through Oozie, it will fail as TGT is not 
> available in the map job. In that case, it should try and reuse the hbase 
> delegation token in JobConf passed to pig through 
> mapreduce.job.credentials.binary property.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to