[
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
The new patch adds the ability to specify an HDFS location for the
hive-site.xml to be read from. I also made sure that the InputStream is always
closed.
{quote}Also, how is hbase-site.xml handled?{quote}
I took a quick look at HbaseCredentials and there's a similar
{{HBaseConfiguration.create();}} method call. It looks like there's also
{{HBaseConfiguration.create(Configuration that);}} where you can pass an HBase
config. So we could do something similar. Though this is less important
because we overlay the credential and {{<configuration>}} properties on top, so
it's still possible to specify hbase-site properties that way. For HCat, there
was no other way to set properties without putting it on the classpath. I'll
create a new JIRA nevertheless.
> 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
>
>
> 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)