AMBARI-18865. Kafka still showing log.cleanup.interval.mins (Bharat Viswanadham via alejandro)
Project: http://git-wip-us.apache.org/repos/asf/ambari/repo Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/422c30f0 Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/422c30f0 Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/422c30f0 Branch: refs/heads/branch-3.0-perf Commit: 422c30f0ed6c2448e929b72a6d4e7a89afa32fe9 Parents: 1f4a72f Author: Alejandro Fernandez <afernan...@hortonworks.com> Authored: Mon Apr 17 10:51:40 2017 -0700 Committer: Andrew Onishuk <aonis...@hortonworks.com> Committed: Mon Apr 24 14:59:56 2017 +0300 ---------------------------------------------------------------------- .../KAFKA/0.8.1/configuration/kafka-broker.xml | 9 +++++++++ 1 file changed, 9 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/ambari/blob/422c30f0/ambari-server/src/main/resources/common-services/KAFKA/0.8.1/configuration/kafka-broker.xml ---------------------------------------------------------------------- diff --git a/ambari-server/src/main/resources/common-services/KAFKA/0.8.1/configuration/kafka-broker.xml b/ambari-server/src/main/resources/common-services/KAFKA/0.8.1/configuration/kafka-broker.xml index e270b84..f2b4a76 100644 --- a/ambari-server/src/main/resources/common-services/KAFKA/0.8.1/configuration/kafka-broker.xml +++ b/ambari-server/src/main/resources/common-services/KAFKA/0.8.1/configuration/kafka-broker.xml @@ -157,6 +157,15 @@ <value>10</value> <description>The frequency in minutes that the log cleaner checks whether any log segment is eligible for deletion to meet the retention policies. </description> + <deleted>true</deleted> + <on-ambari-upgrade add="false"/> + </property> + <property> + <name>log.retention.check.interval.ms</name> + <value>600000</value> + <description> + The frequency in milliseconds that the log cleaner checks whether any log segment is eligible for deletion to meet the retention policies. + </description> <on-ambari-upgrade add="true"/> </property> <property>