Repository: ambari Updated Branches: refs/heads/trunk 22a6007e7 -> d436a843e
AMBARI-6914. Download configs wrong syntax in hive metainfo.xml of Hive (aonishuk) Project: http://git-wip-us.apache.org/repos/asf/ambari/repo Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/d436a843 Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/d436a843 Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/d436a843 Branch: refs/heads/trunk Commit: d436a843e680cd5e27c6f3cf60aaf1faa47cd2e0 Parents: 22a6007 Author: Andrew Onishuk <aonis...@hortonworks.com> Authored: Thu Aug 21 00:10:07 2014 +0300 Committer: Andrew Onishuk <aonis...@hortonworks.com> Committed: Thu Aug 21 00:10:07 2014 +0300 ---------------------------------------------------------------------- .../stacks/HDP/1.3.2/services/HIVE/metainfo.xml | 22 +++++++++++++++++ .../stacks/HDP/2.0.6/services/HIVE/metainfo.xml | 25 +++++++++++++++++--- .../2.1.GlusterFS/services/HIVE/metainfo.xml | 25 +++++++++++++++++--- 3 files changed, 66 insertions(+), 6 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/ambari/blob/d436a843/ambari-server/src/main/resources/stacks/HDP/1.3.2/services/HIVE/metainfo.xml ---------------------------------------------------------------------- diff --git a/ambari-server/src/main/resources/stacks/HDP/1.3.2/services/HIVE/metainfo.xml b/ambari-server/src/main/resources/stacks/HDP/1.3.2/services/HIVE/metainfo.xml index 96e8aba..d5dc506 100644 --- a/ambari-server/src/main/resources/stacks/HDP/1.3.2/services/HIVE/metainfo.xml +++ b/ambari-server/src/main/resources/stacks/HDP/1.3.2/services/HIVE/metainfo.xml @@ -173,6 +173,28 @@ <script>scripts/hcat_client.py</script> <scriptType>PYTHON</scriptType> </commandScript> + <configFiles> + <configFile> + <type>xml</type> + <fileName>hive-site.xml</fileName> + <dictionaryName>hive-site</dictionaryName> + </configFile> + <configFile> + <type>env</type> + <fileName>hive-env.sh</fileName> + <dictionaryName>hive-env</dictionaryName> + </configFile> + <configFile> + <type>env</type> + <fileName>hive-log4j.properties</fileName> + <dictionaryName>hive-log4j</dictionaryName> + </configFile> + <configFile> + <type>env</type> + <fileName>hive-exec-log4j.properties</fileName> + <dictionaryName>hive-exec-log4j</dictionaryName> + </configFile> + </configFiles> </component> </components> <osSpecifics> http://git-wip-us.apache.org/repos/asf/ambari/blob/d436a843/ambari-server/src/main/resources/stacks/HDP/2.0.6/services/HIVE/metainfo.xml ---------------------------------------------------------------------- diff --git a/ambari-server/src/main/resources/stacks/HDP/2.0.6/services/HIVE/metainfo.xml b/ambari-server/src/main/resources/stacks/HDP/2.0.6/services/HIVE/metainfo.xml index 985ca18..a883e36 100644 --- a/ambari-server/src/main/resources/stacks/HDP/2.0.6/services/HIVE/metainfo.xml +++ b/ambari-server/src/main/resources/stacks/HDP/2.0.6/services/HIVE/metainfo.xml @@ -186,9 +186,28 @@ <script>scripts/hcat_client.py</script> <scriptType>PYTHON</scriptType> </commandScript> - <downloads> - <source>/etc/hcatalog/conf</source> - </downloads> + <configFiles> + <configFile> + <type>xml</type> + <fileName>hive-site.xml</fileName> + <dictionaryName>hive-site</dictionaryName> + </configFile> + <configFile> + <type>env</type> + <fileName>hive-env.sh</fileName> + <dictionaryName>hive-env</dictionaryName> + </configFile> + <configFile> + <type>env</type> + <fileName>hive-log4j.properties</fileName> + <dictionaryName>hive-log4j</dictionaryName> + </configFile> + <configFile> + <type>env</type> + <fileName>hive-exec-log4j.properties</fileName> + <dictionaryName>hive-exec-log4j</dictionaryName> + </configFile> + </configFiles> </component> </components> <osSpecifics> http://git-wip-us.apache.org/repos/asf/ambari/blob/d436a843/ambari-server/src/main/resources/stacks/HDP/2.1.GlusterFS/services/HIVE/metainfo.xml ---------------------------------------------------------------------- diff --git a/ambari-server/src/main/resources/stacks/HDP/2.1.GlusterFS/services/HIVE/metainfo.xml b/ambari-server/src/main/resources/stacks/HDP/2.1.GlusterFS/services/HIVE/metainfo.xml index 8a03cf6..38280ae 100644 --- a/ambari-server/src/main/resources/stacks/HDP/2.1.GlusterFS/services/HIVE/metainfo.xml +++ b/ambari-server/src/main/resources/stacks/HDP/2.1.GlusterFS/services/HIVE/metainfo.xml @@ -44,9 +44,28 @@ <script>scripts/hcat_client.py</script> <scriptType>PYTHON</scriptType> </commandScript> - <downloads> - <source>/etc/hive-hcatalog/conf</source> - </downloads> + <configFiles> + <configFile> + <type>xml</type> + <fileName>hive-site.xml</fileName> + <dictionaryName>hive-site</dictionaryName> + </configFile> + <configFile> + <type>env</type> + <fileName>hive-env.sh</fileName> + <dictionaryName>hive-env</dictionaryName> + </configFile> + <configFile> + <type>env</type> + <fileName>hive-log4j.properties</fileName> + <dictionaryName>hive-log4j</dictionaryName> + </configFile> + <configFile> + <type>env</type> + <fileName>hive-exec-log4j.properties</fileName> + <dictionaryName>hive-exec-log4j</dictionaryName> + </configFile> + </configFiles> </component> </components> <osSpecifics>