[jira] [Updated] (HADOOP-17642) Could not instantiate class org.apache.hadoop.log.metrics.EventCounter
[ https://issues.apache.org/jira/browse/HADOOP-17642?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] ASF GitHub Bot updated HADOOP-17642: Labels: pull-request-available (was: ) > Could not instantiate class org.apache.hadoop.log.metrics.EventCounter > -- > > Key: HADOOP-17642 > URL: https://issues.apache.org/jira/browse/HADOOP-17642 > Project: Hadoop Common > Issue Type: Bug >Reporter: Viraj Jasani >Assignee: Viraj Jasani >Priority: Major > Labels: pull-request-available > Time Spent: 10m > Remaining Estimate: 0h > > After removal of EventCounter class, we are not able to bring up HDFS cluster. > {code:java} > log4j:ERROR Could not instantiate class > [org.apache.hadoop.log.metrics.EventCounter]. > java.lang.ClassNotFoundException: org.apache.hadoop.log.metrics.EventCounter > at java.net.URLClassLoader.findClass(URLClassLoader.java:382) > at java.lang.ClassLoader.loadClass(ClassLoader.java:418) > at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:355) > at java.lang.ClassLoader.loadClass(ClassLoader.java:351) > at java.lang.Class.forName0(Native Method) > at java.lang.Class.forName(Class.java:264) > at org.apache.log4j.helpers.Loader.loadClass(Loader.java:198) > at > org.apache.log4j.helpers.OptionConverter.instantiateByClassName(OptionConverter.java:327) > at > org.apache.log4j.helpers.OptionConverter.instantiateByKey(OptionConverter.java:124) > at > org.apache.log4j.PropertyConfigurator.parseAppender(PropertyConfigurator.java:785) > at > org.apache.log4j.PropertyConfigurator.parseCategory(PropertyConfigurator.java:768) > at > org.apache.log4j.PropertyConfigurator.configureRootCategory(PropertyConfigurator.java:648) > at > org.apache.log4j.PropertyConfigurator.doConfigure(PropertyConfigurator.java:514) > at > org.apache.log4j.PropertyConfigurator.doConfigure(PropertyConfigurator.java:580) > at > org.apache.log4j.helpers.OptionConverter.selectAndConfigure(OptionConverter.java:526) > at org.apache.log4j.LogManager.(LogManager.java:127) > at org.slf4j.impl.Log4jLoggerFactory.(Log4jLoggerFactory.java:66) > at org.slf4j.impl.StaticLoggerBinder.(StaticLoggerBinder.java:72) > at > org.slf4j.impl.StaticLoggerBinder.(StaticLoggerBinder.java:45) > at org.slf4j.LoggerFactory.bind(LoggerFactory.java:150) > at org.slf4j.LoggerFactory.performInitialization(LoggerFactory.java:124) > at org.slf4j.LoggerFactory.getILoggerFactory(LoggerFactory.java:417) > at org.slf4j.LoggerFactory.getLogger(LoggerFactory.java:362) > at org.slf4j.LoggerFactory.getLogger(LoggerFactory.java:388) > at org.apache.hadoop.conf.Configuration.(Configuration.java:229) > at org.apache.hadoop.hdfs.tools.GetConf.(GetConf.java:131) > log4j:ERROR Could not instantiate appender named "EventCounter". > {code} > We need to clean up log4j.properties to avoid instantiating appender > EventCounter. -- This message was sent by Atlassian Jira (v8.3.4#803005) - To unsubscribe, e-mail: common-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: common-issues-h...@hadoop.apache.org
[jira] [Updated] (HADOOP-17642) Could not instantiate class org.apache.hadoop.log.metrics.EventCounter
[ https://issues.apache.org/jira/browse/HADOOP-17642?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Viraj Jasani updated HADOOP-17642: -- Status: Patch Available (was: In Progress) > Could not instantiate class org.apache.hadoop.log.metrics.EventCounter > -- > > Key: HADOOP-17642 > URL: https://issues.apache.org/jira/browse/HADOOP-17642 > Project: Hadoop Common > Issue Type: Bug >Reporter: Viraj Jasani >Assignee: Viraj Jasani >Priority: Major > Labels: pull-request-available > Time Spent: 10m > Remaining Estimate: 0h > > After removal of EventCounter class, we are not able to bring up HDFS cluster. > {code:java} > log4j:ERROR Could not instantiate class > [org.apache.hadoop.log.metrics.EventCounter]. > java.lang.ClassNotFoundException: org.apache.hadoop.log.metrics.EventCounter > at java.net.URLClassLoader.findClass(URLClassLoader.java:382) > at java.lang.ClassLoader.loadClass(ClassLoader.java:418) > at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:355) > at java.lang.ClassLoader.loadClass(ClassLoader.java:351) > at java.lang.Class.forName0(Native Method) > at java.lang.Class.forName(Class.java:264) > at org.apache.log4j.helpers.Loader.loadClass(Loader.java:198) > at > org.apache.log4j.helpers.OptionConverter.instantiateByClassName(OptionConverter.java:327) > at > org.apache.log4j.helpers.OptionConverter.instantiateByKey(OptionConverter.java:124) > at > org.apache.log4j.PropertyConfigurator.parseAppender(PropertyConfigurator.java:785) > at > org.apache.log4j.PropertyConfigurator.parseCategory(PropertyConfigurator.java:768) > at > org.apache.log4j.PropertyConfigurator.configureRootCategory(PropertyConfigurator.java:648) > at > org.apache.log4j.PropertyConfigurator.doConfigure(PropertyConfigurator.java:514) > at > org.apache.log4j.PropertyConfigurator.doConfigure(PropertyConfigurator.java:580) > at > org.apache.log4j.helpers.OptionConverter.selectAndConfigure(OptionConverter.java:526) > at org.apache.log4j.LogManager.(LogManager.java:127) > at org.slf4j.impl.Log4jLoggerFactory.(Log4jLoggerFactory.java:66) > at org.slf4j.impl.StaticLoggerBinder.(StaticLoggerBinder.java:72) > at > org.slf4j.impl.StaticLoggerBinder.(StaticLoggerBinder.java:45) > at org.slf4j.LoggerFactory.bind(LoggerFactory.java:150) > at org.slf4j.LoggerFactory.performInitialization(LoggerFactory.java:124) > at org.slf4j.LoggerFactory.getILoggerFactory(LoggerFactory.java:417) > at org.slf4j.LoggerFactory.getLogger(LoggerFactory.java:362) > at org.slf4j.LoggerFactory.getLogger(LoggerFactory.java:388) > at org.apache.hadoop.conf.Configuration.(Configuration.java:229) > at org.apache.hadoop.hdfs.tools.GetConf.(GetConf.java:131) > log4j:ERROR Could not instantiate appender named "EventCounter". > {code} > We need to clean up log4j.properties to avoid instantiating appender > EventCounter. -- This message was sent by Atlassian Jira (v8.3.4#803005) - To unsubscribe, e-mail: common-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: common-issues-h...@hadoop.apache.org