Details
-
Bug
-
Status: Closed
-
Blocker
-
Resolution: Fixed
-
0.22.0
-
None
-
None
Description
When ant is run, the build fails with compilation problems. The first of that is:
compile-mapred-classes:
[taskdef] log4j:ERROR Could not instantiate class [org.apache.hadoop.metrics.jvm.EventCounter].
[taskdef] java.lang.ClassNotFoundException: org.apache.hadoop.metrics.jvm.EventCounter
[taskdef] at org.apache.tools.ant.AntClassLoader.findClassInComponents(AntClassLoader.java:1383)
[taskdef] at org.apache.tools.ant.AntClassLoader.findClass(AntClassLoader.java:1324)
[taskdef] at org.apache.tools.ant.AntClassLoader.loadClass(AntClassLoader.java:1072)
[taskdef] at java.lang.ClassLoader.loadClass(ClassLoader.java:254)
[taskdef] at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:402)
[taskdef] at java.lang.Class.forName0(Native Method)
[taskdef] at java.lang.Class.forName(Class.java:169)
[taskdef] at org.apache.log4j.helpers.Loader.loadClass(Loader.java:179)
[taskdef] at org.apache.log4j.helpers.OptionConverter.instantiateByClassName(OptionConverter.java:320)
[taskdef] at org.apache.log4j.helpers.OptionConverter.instantiateByKey(OptionConverter.java:121)
[taskdef] at org.apache.log4j.PropertyConfigurator.parseAppender(PropertyConfigurator.java:664)
[taskdef] at org.apache.log4j.PropertyConfigurator.parseCategory(PropertyConfigurator.java:647)
[taskdef] at org.apache.log4j.PropertyConfigurator.configureRootCategory(PropertyConfigurator.java:544)
[taskdef] at org.apache.log4j.PropertyConfigurator.doConfigure(PropertyConfigurator.java:440)
[taskdef] at org.apache.log4j.PropertyConfigurator.doConfigure(PropertyConfigurator.java:476)