From issues-return-81947-archive-asf-public=cust-asf.ponee.io@ambari.apache.org Wed Oct 7 15:27:04 2020 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mxout1-he-de.apache.org (mxout1-he-de.apache.org [95.216.194.37]) by mx-eu-01.ponee.io (Postfix) with ESMTPS id 13177180674 for ; Wed, 7 Oct 2020 17:27:04 +0200 (CEST) Received: from mail.apache.org (mailroute1-lw-us.apache.org [207.244.88.153]) by mxout1-he-de.apache.org (ASF Mail Server at mxout1-he-de.apache.org) with SMTP id 75FAA64C8E for ; Wed, 7 Oct 2020 15:27:03 +0000 (UTC) Received: (qmail 14515 invoked by uid 500); 7 Oct 2020 15:27:02 -0000 Mailing-List: contact issues-help@ambari.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@ambari.apache.org Delivered-To: mailing list issues@ambari.apache.org Received: (qmail 14489 invoked by uid 99); 7 Oct 2020 15:27:02 -0000 Received: from mailrelay1-us-west.apache.org (HELO mailrelay1-us-west.apache.org) (209.188.14.139) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 07 Oct 2020 15:27:02 +0000 Received: from jira2-he-de.apache.org (static.54.33.119.168.clients.your-server.de [168.119.33.54]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id B2068428C7 for ; Wed, 7 Oct 2020 15:27:01 +0000 (UTC) Received: from jira2-he-de.apache.org (localhost.localdomain [127.0.0.1]) by jira2-he-de.apache.org (ASF Mail Server at jira2-he-de.apache.org) with ESMTP id 48521C8193C for ; Wed, 7 Oct 2020 15:27:00 +0000 (UTC) Date: Wed, 7 Oct 2020 15:27:00 +0000 (UTC) From: "Dmitry Lysnichenko (Jira)" To: issues@ambari.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Resolved] (AMBARI-25565) ConfigHelper.java logging consumes most server logs for clusters with many hosts MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/AMBARI-25565?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Dmitry Lysnichenko resolved AMBARI-25565. ----------------------------------------- Resolution: Fixed > ConfigHelper.java logging consumes most server logs for clusters with many hosts > -------------------------------------------------------------------------------- > > Key: AMBARI-25565 > URL: https://issues.apache.org/jira/browse/AMBARI-25565 > Project: Ambari > Issue Type: Bug > Components: ambari-server > Affects Versions: 2.7.5 > Reporter: Dmytro Vitiuk > Assignee: Dmitry Lysnichenko > Priority: Major > Fix For: 2.7.6 > > Time Spent: 10m > Remaining Estimate: 0h > > Now for each config update we calculate config changes for each host in the cluster. There we are logging all config versions that are used for config changes calculation: > {code} > 2020-10-03 20:12:46,872 INFO [pool-28-thread-1] ConfigHelper:2051 - For configs update on host 3 will be used following cluster desired configs {zoo.cfg={tag=TOPOLOGY_RESOLVED}, zookeeper-log4j={tag=TOPOLOGY_RESOLVED... > {code} > So in the case we have a lot of hosts in the cluster most server log capacity is spent on config versions logging. We need to reduce logging level for some log calls in ConfigHelper.getHostActualConfigsExcludeCluster(...). -- This message was sent by Atlassian Jira (v8.3.4#803005)