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

Robert Kanter updated OOZIE-1724:
---------------------------------

    Attachment: OOZIE-1724.patch

Actually, on second thought, I'm not sure we need to do something like this for 
HBase.  We need to do this for HCat because Oozie talks with HCat for the HCat 
dependencies and stuff and that's why it's a server config.  HBase is only used 
for HBaseCredentials so it's a bit different.  I'll create a JIRA nonetheless 
and we can discuss it there.  

I'm also not sure putting it in the sharelib is a good idea either.  This is a 
server config.  The sharelib stuff is all at the action-level, so now we'd be 
mixing in a server-level config file there.  Though I agree it would be nice to 
not have to restart Oozie if you update the file.  

The new patch adds the log message.

> Make it easier to specify the HCat hive-site.xml for the Oozie Server
> ---------------------------------------------------------------------
>
>                 Key: OOZIE-1724
>                 URL: https://issues.apache.org/jira/browse/OOZIE-1724
>             Project: Oozie
>          Issue Type: Improvement
>    Affects Versions: 4.0.0
>            Reporter: Robert Kanter
>            Assignee: Robert Kanter
>         Attachments: OOZIE-1724.patch, OOZIE-1724.patch, OOZIE-1724.patch, 
> OOZIE-1724.patch
>
>
> Currently, to specify the hive-site.xml to configure Oozie to talk to the 
> HCatalog server (see 
> http://oozie.apache.org/docs/4.0.0/AG_Install.html#HCatalog_Configuration) it 
> requires you to put the hive-site.xml in the classpath, which means you'd put 
> it in the libext and run the oozie-setup.sh.  
> It would be much easier if we added an oozie-site.xml config property to 
> specify this file, similar to how we specify the core/mapred/yarn/etc-site 
> files for Hadoop (see 
> http://oozie.apache.org/docs/4.0.0/AG_HadoopConfiguration.html).
> Something like:
> {code:xml}
> <property>
>      <name>oozie.service.HCatAccessorService.hcat.configuration</name>
>      <value>path/to/hive-site.xml</value>
> </property>
> {code}



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to