This is documentation for MapR Version 5.0. You can also refer to MapR documentation for the latest release.

Skip to end of metadata
Go to start of metadata

After an upgrade to 4.0.x, the hadoop fs command returns the following warning message:

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

This message does not cause any problems, but you can suppress it by modifying the following file:

/opt/mapr/hadoop/hadoop-0.20.2/conf/log4j.properties

In this file, replace the following line:

log4j.appender.EventCounter=org.apache.hadoop.log.EventCounter

with this line:

log4j.appender.EventCounter=org.apache.hadoop.log.metrics.EventCounter

  • No labels