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

Robert Kanter commented on OOZIE-1363:
--------------------------------------

After a lot of trial and error (and confusion :(), I was able to get it to work 
with HCatCredentials.  

The key seems to be that in addition to the {{<credentials>}} section, you must 
have the following {{hive.metastore}} properties specified in the hive action's 
{{<configuration>}}:

{code:xml}
<property>
   <name>hive.metastore.local</name>
   <value>false</value>
</property>
<property>
   <name>hive.metastore.uris</name>
   <value>thrift://METASTORE_HOST:9083</value>
</property>
<property>
   <name>hive.metastore.sasl.enabled</name>
   <value>true</value>
</property>
{code}

I'll do some more double-checking and then I'll close the JIRA. 

Thanks for your help Rohini.
                
> 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