After the 0.21 branch, MapReduce trunk doesn't compile
------------------------------------------------------

Key: MAPREDUCE-1014
URL: https://issues.apache.org/jira/browse/MAPREDUCE-1014
Project: Hadoop Map/Reduce
Issue Type: Bug
Reporter: Devaraj Das
Priority: Blocker


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)

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Search Discussions

  • Owen O'Malley (JIRA) at Sep 22, 2009 at 5:42 pm
    [ https://issues.apache.org/jira/browse/MAPREDUCE-1014?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

    Owen O'Malley resolved MAPREDUCE-1014.
    --------------------------------------

    Resolution: Fixed

    I updated the common and hdfs jars with the current ones.
    After the 0.21 branch, MapReduce trunk doesn't compile
    ------------------------------------------------------

    Key: MAPREDUCE-1014
    URL: https://issues.apache.org/jira/browse/MAPREDUCE-1014
    Project: Hadoop Map/Reduce
    Issue Type: Bug
    Affects Versions: 0.22.0
    Reporter: Devaraj Das
    Assignee: Ravi Gummadi
    Priority: Blocker
    Fix For: 0.22.0


    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)
    --
    This message is automatically generated by JIRA.
    -
    You can reply to this email to add a comment to the issue online.

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
groupmapreduce-dev @
categorieshadoop
postedSep 21, '09 at 5:07p
activeSep 22, '09 at 5:42p
posts2
users1
websitehadoop.apache.org...
irc#hadoop

1 user in discussion

Owen O'Malley (JIRA): 2 posts

People

Translate

site design / logo © 2022 Grokbase