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-20312. HiveServer2 log rotation is setup incorrectly (Madhuvanthi Radhakrishnan via smohanty)
Date Sat, 04 Mar 2017 00:00:46 GMT
Repository: ambari
Updated Branches:
  refs/heads/branch-2.5 aa1bc2f9e -> 33c28a847


AMBARI-20312. HiveServer2 log rotation is setup incorrectly (Madhuvanthi Radhakrishnan via
smohanty)


Project: http://git-wip-us.apache.org/repos/asf/ambari/repo
Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/33c28a84
Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/33c28a84
Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/33c28a84

Branch: refs/heads/branch-2.5
Commit: 33c28a847ea909bb050bc5ad9140ed6ec0e5d7d5
Parents: aa1bc2f
Author: Sumit Mohanty <smohanty@hortonworks.com>
Authored: Fri Mar 3 16:00:31 2017 -0800
Committer: Sumit Mohanty <smohanty@hortonworks.com>
Committed: Fri Mar 3 16:00:31 2017 -0800

----------------------------------------------------------------------
 .../stacks/HDP/2.5/services/HIVE/configuration/hive-log4j2.xml     | 2 +-
 .../stacks/HDP/2.5/services/HIVE/configuration/llap-cli-log4j2.xml | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/33c28a84/ambari-server/src/main/resources/stacks/HDP/2.5/services/HIVE/configuration/hive-log4j2.xml
----------------------------------------------------------------------
diff --git a/ambari-server/src/main/resources/stacks/HDP/2.5/services/HIVE/configuration/hive-log4j2.xml
b/ambari-server/src/main/resources/stacks/HDP/2.5/services/HIVE/configuration/hive-log4j2.xml
index e6c925d..079bdce 100644
--- a/ambari-server/src/main/resources/stacks/HDP/2.5/services/HIVE/configuration/hive-log4j2.xml
+++ b/ambari-server/src/main/resources/stacks/HDP/2.5/services/HIVE/configuration/hive-log4j2.xml
@@ -87,7 +87,7 @@ appender.DRFA.type = RollingFile
 appender.DRFA.name = DRFA
 appender.DRFA.fileName = ${sys:hive.log.dir}/${sys:hive.log.file}
 # Use %pid in the filePattern to append process-id@host-name to the filename if you want
separate log files for different CLI session
-appender.DRFA.filePattern = ${sys:hive.log.dir}/${sys:hive.log.file}.%d{yyyy-MM-dd}.gz
+appender.DRFA.filePattern = ${sys:hive.log.dir}/${sys:hive.log.file}.%d{yyyy-MM-dd}_%i.gz
 appender.DRFA.layout.type = PatternLayout
 appender.DRFA.layout.pattern = %d{ISO8601} %-5p [%t]: %c{2} (%F:%M(%L)) - %m%n
 appender.DRFA.policies.type = Policies

http://git-wip-us.apache.org/repos/asf/ambari/blob/33c28a84/ambari-server/src/main/resources/stacks/HDP/2.5/services/HIVE/configuration/llap-cli-log4j2.xml
----------------------------------------------------------------------
diff --git a/ambari-server/src/main/resources/stacks/HDP/2.5/services/HIVE/configuration/llap-cli-log4j2.xml
b/ambari-server/src/main/resources/stacks/HDP/2.5/services/HIVE/configuration/llap-cli-log4j2.xml
index 0b3eddb..ed52447 100644
--- a/ambari-server/src/main/resources/stacks/HDP/2.5/services/HIVE/configuration/llap-cli-log4j2.xml
+++ b/ambari-server/src/main/resources/stacks/HDP/2.5/services/HIVE/configuration/llap-cli-log4j2.xml
@@ -95,7 +95,7 @@ appender.DRFA.type = RollingRandomAccessFile
 appender.DRFA.name = DRFA
 appender.DRFA.fileName = ${sys:hive.log.dir}/${sys:hive.log.file}
 # Use %pid in the filePattern to append process-id@host-name to the filename if you want
separate log files for different CLI session
-appender.DRFA.filePattern = ${sys:hive.log.dir}/${sys:hive.log.file}.%d{yyyy-MM-dd}
+appender.DRFA.filePattern = ${sys:hive.log.dir}/${sys:hive.log.file}.%d{yyyy-MM-dd}_%i
 appender.DRFA.layout.type = PatternLayout
 appender.DRFA.layout.pattern = %d{ISO8601} %5p [%t] %c{2}: %m%n
 appender.DRFA.policies.type = Policies


Mime
View raw message