Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-16206 Migrate from Log4j1 to Log4j2
  3. HADOOP-18648

Avoid loading kms log4j properties dynamically by KMSWebServer

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 3.4.0
    • 3.4.0
    • kms
    • Reviewed

    Description

      Log4j2 does not support loading of log4j properties (/xml/json/yaml) dynamically by applications. It no longer supports overriding the loading of properties using "log4j.defaultInitOverride" the way log4j1 does.

      For KMS, instead of loading the properties file dynamically, we should add the log4j properties file as part of HADOOP_OPTS.

      Attachments

        Issue Links

          Activity

            People

              vjasani Viraj Jasani
              vjasani Viraj Jasani
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: