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

Log workAgile BoardRank to TopRank to BottomAttach filesAttach ScreenshotBulk Copy AttachmentsBulk Move AttachmentsVotersStop watchingWatchersConvert to IssueMoveLinkCloneLabelsUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    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

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            vjasani Viraj Jasani Assign to me
            vjasani Viraj Jasani
            Votes:
            0 Vote for this issue
            Watchers:
            2 Stop watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment