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

Rohini Palaniswamy commented on OOZIE-1363:
-------------------------------------------

hiveToken.setService(new Text(HIVE_TOKEN)); If you don't set the service, the 
default is new Text(""), and if hive.metastore.token.signature is null, then 
the token with service as new Text("") is picked up. Since you set the service 
to something, you had to do the other stuff. 


                
> Add HiveCredentials to allow Oozie to connect to a secure Hive Metastore
> ------------------------------------------------------------------------
>
>                 Key: OOZIE-1363
>                 URL: https://issues.apache.org/jira/browse/OOZIE-1363
>             Project: Oozie
>          Issue Type: Bug
>          Components: action, security
>    Affects Versions: trunk
>            Reporter: Robert Kanter
>            Assignee: Robert Kanter
>             Fix For: trunk
>
>         Attachments: cred.patch
>
>
> We should add a HiveCredentials class so that Oozie can connect to a secure 
> Hive metastore.  It should be relatively similar to the HCatCredentials 
> class.  

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