You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ambari.apache.org by sm...@apache.org on 2016/07/12 23:04:16 UTC
ambari git commit: AMBARI-17635. Disable async logging for
HiveServer2 + Hive 2.x (Prasanth Jayachandran via smohanty)
Repository: ambari
Updated Branches:
refs/heads/trunk df8bc26ae -> 1cdbb353d
AMBARI-17635. Disable async logging for HiveServer2 + Hive 2.x (Prasanth Jayachandran via smohanty)
Project: http://git-wip-us.apache.org/repos/asf/ambari/repo
Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/1cdbb353
Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/1cdbb353
Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/1cdbb353
Branch: refs/heads/trunk
Commit: 1cdbb353dda0c2100d84335a3cf99f0689eb516e
Parents: df8bc26
Author: Sumit Mohanty <sm...@hortonworks.com>
Authored: Tue Jul 12 16:04:03 2016 -0700
Committer: Sumit Mohanty <sm...@hortonworks.com>
Committed: Tue Jul 12 16:04:03 2016 -0700
----------------------------------------------------------------------
.../HIVE/configuration/hiveserver2-interactive-site.xml | 9 +++++++++
1 file changed, 9 insertions(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/ambari/blob/1cdbb353/ambari-server/src/main/resources/stacks/HDP/2.5/services/HIVE/configuration/hiveserver2-interactive-site.xml
----------------------------------------------------------------------
diff --git a/ambari-server/src/main/resources/stacks/HDP/2.5/services/HIVE/configuration/hiveserver2-interactive-site.xml b/ambari-server/src/main/resources/stacks/HDP/2.5/services/HIVE/configuration/hiveserver2-interactive-site.xml
index 1652c91..1fc75a3 100644
--- a/ambari-server/src/main/resources/stacks/HDP/2.5/services/HIVE/configuration/hiveserver2-interactive-site.xml
+++ b/ambari-server/src/main/resources/stacks/HDP/2.5/services/HIVE/configuration/hiveserver2-interactive-site.xml
@@ -40,4 +40,13 @@ limitations under the License.
<value>/var/log/hive/hiveserver2Interactive-report.json</value>
<on-ambari-upgrade add="true"/>
</property>
+ <property>
+ <name>hive.async.log.enabled</name>
+ <value>false</value>
+ <description>Whether to enable Log4j2's asynchronous logging. Asynchronous logging can give significant performance improvement as logging will be handled in separate thread that uses LMAX disruptor queue for buffering log messages. Refer https://logging.apache.org/log4j/2.x/manual/async.html for benefits and drawbacks.</description>
+ <value-attributes>
+ <type>boolean</type>
+ </value-attributes>
+ <on-ambari-upgrade add="true"/>
+ </property>
</configuration>