Uploaded image for project: 'Hadoop HDFS'
  1. Hadoop HDFS
  2. HDFS-15720

namenode audit async logger should add some log4j config

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 3.3.0
    • 3.3.1, 3.2.3
    • hdfs
    • hadoop 3.3.0

    Description

      Hadoop project use log4j 1.2.x, we can't config some properties of logger in log4j.properties file , For example, AsyncAppender BufferSize and Blocking see https://logging.apache.org/log4j/1.2/apidocs/index.html.

      Namenode  should add some audit async logger log4j config In order to facilitate the adjustment of log4j usage and audit log output performance adjustment. 

      The new configuration is as follows

      dfs.namenode.audit.log.async.blocking false

      dfs.namenode.audit.log.async.buffer.size 128

       

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              max2049 Max Xie
              Votes:
              0 Vote for this issue
              Watchers:
              2 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 - 2h
                  2h