Uploaded image for project: 'Ambari'
  1. Ambari
  2. AMBARI-25565

ConfigHelper.java logging consumes most server logs for clusters with many hosts

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.7.5
    • Fix Version/s: 2.7.6
    • Component/s: ambari-server
    • Labels:
      None

      Description

      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:

      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...
      

      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(...).

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                dmitriusan Dmitry Lysnichenko
                Reporter:
                dvitiiuk Dmytro Vitiuk
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 20m
                  20m