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

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

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.0.0-alpha
    • Fix Version/s: 2.0.3-alpha, 0.23.9
    • Component/s: nodemanager
    • Labels:
      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

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

              Dates

              • Created:
                Updated:
                Resolved: