You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ambari.apache.org by "Sumit Mohanty (JIRA)" <ji...@apache.org> on 2016/07/10 21:42:10 UTC
[jira] [Updated] (AMBARI-17644) hiveserver2-site.xml is missing
from /etc/hive2/conf/conf.server when hsi is set up by Ambari
[ https://issues.apache.org/jira/browse/AMBARI-17644?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Sumit Mohanty updated AMBARI-17644:
-----------------------------------
Status: Patch Available (was: Open)
> hiveserver2-site.xml is missing from /etc/hive2/conf/conf.server when hsi is set up by Ambari
> ---------------------------------------------------------------------------------------------
>
> Key: AMBARI-17644
> URL: https://issues.apache.org/jira/browse/AMBARI-17644
> Project: Ambari
> Issue Type: Bug
> Components: stacks
> Affects Versions: 2.4.0
> Reporter: Sumit Mohanty
> Assignee: Sumit Mohanty
> Priority: Critical
> Fix For: 2.4.0
>
> Attachments: AMBARI-17644.patch
>
>
> Currently hiveserver2-site.xml is missing from /etc/hive2/conf/conf.server when a llap cluster is setup by Ambari as shown in the below:
> {noformat}
> [root@r7-hsi-0706-r-4 ~]# ls -l /etc/hive2/conf/conf.server/
> total 68
> -rw-r--r--. 1 hive hadoop 1596 Jul 6 20:04 beeline-log4j2.properties
> -rw-r--r--. 1 hive hadoop 1434 Jul 6 20:04 hadoop-metrics2-llapdaemon.properties
> -rw-r--r--. 1 hive hadoop 1441 Jul 6 20:04 hadoop-metrics2-llaptaskscheduler.properties
> -rw-r--r--. 1 hive hadoop 0 Jul 6 20:04 hive-default.xml.template
> -rw-r--r--. 1 hive hadoop 1887 Jul 6 20:04 hive-env.sh
> -rw-r--r--. 1 hive hadoop 0 Jul 6 20:04 hive-env.sh.template
> -rw-r--r--. 1 hive hadoop 2287 Jul 6 20:04 hive-exec-log4j2.properties
> -rw-r--r--. 1 hive hadoop 2754 Jul 6 20:04 hive-log4j2.properties
> -rw-r--r--. 1 hive hadoop 24226 Jul 6 20:14 hive-site.xml
> -rw-r--r--. 1 hive hadoop 2752 Jul 6 20:04 llap-cli-log4j2.properties
> -rw-r--r--. 1 hive hadoop 4217 Jul 6 20:04 llap-daemon-log4j2.properties
> -rw-r--r--. 1 hive hadoop 6776 Jul 6 20:04 mapred-site.xml
> {noformat}
> The test framework requires hiveserver2-site.xml to be present and in a case of Hive 1, it is there as shown in the below:
> {noformat}
> root@nat-d7-0629-hs2-12-rangeroff-3:~# ls -l /etc/hive/conf/conf.server/
> total 56
> -rw-r--r-- 1 hive hadoop 1535 Jun 29 13:52 hadoop-metrics2-hivemetastore.properties
> -rw-r--r-- 1 hive hadoop 1533 Jun 29 13:54 hadoop-metrics2-hiveserver2.properties
> -rw-r--r-- 1 hive hadoop 0 Jun 29 13:52 hive-default.xml.template
> -rw-r--r-- 1 hive hadoop 2077 Jun 29 13:54 hive-env.sh
> -rw-r--r-- 1 hive hadoop 0 Jun 29 13:52 hive-env.sh.template
> -rw-r--r-- 1 hive hadoop 2652 Jun 29 13:52 hive-exec-log4j.properties
> -rw-r--r-- 1 hive hadoop 3050 Jun 29 13:52 hive-log4j.properties
> -rw-r--r-- 1 hive hadoop 563 Jun 29 13:52 hivemetastore-site.xml
> -rw-r--r-- 1 hive hadoop 677 Jun 29 13:54 hiveserver2-site.xml
> -rw-r--r-- 1 hive hadoop 20362 Jun 29 13:52 hive-site.xml
> -rw-r--r-- 1 hive hadoop 7391 Jun 29 13:52 mapred-site.xml
> {noformat}
> And its content is:
> {noformat}
> <configuration>
> <property>
> <name>hive.metastore.metrics.enabled</name>
> <value>true</value>
> </property>
> <property>
> <name>hive.security.authorization.enabled</name>
> <value>false</value>
> </property>
> <property>
> <name>hive.service.metrics.file.location</name>
> <value>/var/log/hive/hiveserver2-report.json</value>
> </property>
> <property>
> <name>hive.service.metrics.hadoop2.component</name>
> <value>hiveserver2</value>
> </property>
> <property>
> <name>hive.service.metrics.reporter</name>
> <value>JSON_FILE, JMX, HADOOP2</value>
> </property>
> </configuration>
> {noformat}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)