Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-14515

Specifically configure zookeeper-related log levels in KMS log4j

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.6.0
    • 2.9.0, 3.0.0-alpha4, 2.8.2
    • kms
    • None
    • Reviewed

    Description

      When investigating a case, we tried to turn on KMS DEBUG by setting the root logger in the log4j to DEBUG. This ends up making org.apache.zookeeper.ClientCnxn to generate 199.2M out of a 200M log file, which made the kms.log rotate very quickly.

      We should keep zookeeper's log unaffected by the root logger, and only turn it on when interested.

      Attachments

        1. HADOOP-14515.01.patch
          0.9 kB
          Xiao Chen
        2. HADOOP-14515.addendum.patch
          0.8 kB
          Xiao Chen

        Activity

          People

            xiaochen Xiao Chen
            xiaochen Xiao Chen
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: