ambari-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From smoha...@apache.org
Subject ambari git commit: AMBARI-17635. Disable async logging for HiveServer2 + Hive 2.x (Prasanth Jayachandran via smohanty)
Date Tue, 12 Jul 2016 23:04:37 GMT
Repository: ambari
Updated Branches:
  refs/heads/branch-2.4 1c9a7c0ab -> a5ba8ae88


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/a5ba8ae8
Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/a5ba8ae8
Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/a5ba8ae8

Branch: refs/heads/branch-2.4
Commit: a5ba8ae8869841193c2e4b3839421a1926c7e2ab
Parents: 1c9a7c0
Author: Sumit Mohanty <smohanty@hortonworks.com>
Authored: Tue Jul 12 16:04:03 2016 -0700
Committer: Sumit Mohanty <smohanty@hortonworks.com>
Committed: Tue Jul 12 16:04:31 2016 -0700

----------------------------------------------------------------------
 .../HIVE/configuration/hiveserver2-interactive-site.xml     | 9 +++++++++
 1 file changed, 9 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/a5ba8ae8/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>


Mime
View raw message