Uploaded image for project: 'Hadoop YARN'
  1. Hadoop YARN
  2. YARN-169

Update log4j.appender.EventCounter to use org.apache.hadoop.log.metrics.EventCounter

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 2.0.0-alpha
    • 2.0.3-alpha, 0.23.9
    • nodemanager
    • None

    Description

      We should update the log4j.appender.EventCounter in hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager/src/main/resources/container-log4j.properties to use org.apache.hadoop.log.metrics.EventCounter rather than org.apache.hadoop.metrics.jvm.EventCounter to avoid triggering the following warning:

      WARNING: org.apache.hadoop.metrics.jvm.EventCounter is deprecated. Please use org.apache.hadoop.log.metrics.EventCounter in all the log4j.properties files

      Attachments

        1. YARN-169.patch
          0.9 kB
          Anthony Rojas

        Activity

          People

            anthonyr Anthony Rojas
            anthonyr Anthony Rojas
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: