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

Specifically configure zookeeper-related log levels in KMS log4j

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.6.0
    • Fix Version/s: 2.9.0, 3.0.0-alpha4, 2.8.2
    • Component/s: kms
    • Labels:
      None
    • Target Version/s:
    • Hadoop Flags:
      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

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

              Dates

              • Created:
                Updated:
                Resolved: