You are viewing a plain text version of this content. The canonical link for it is here.
Posted to mapreduce-issues@hadoop.apache.org by "Devaraj Das (JIRA)" <ji...@apache.org> on 2009/09/21 19:07:15 UTC
[jira] Created: (MAPREDUCE-1014) After the 0.21 branch, MapReduce
trunk doesn't compile
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.
[jira] Updated: (MAPREDUCE-1014) After the 0.21 branch, MapReduce
trunk doesn't compile
Posted by "Ravi Gummadi (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/MAPREDUCE-1014?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Ravi Gummadi updated MAPREDUCE-1014:
------------------------------------
Affects Version/s: 0.22.0
Fix Version/s: 0.22.0
Issue is only in trunk. Not in 0.21 branch.
> 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.
[jira] Commented: (MAPREDUCE-1014) After the 0.21 branch, MapReduce
trunk doesn't compile
Posted by "Ravi Gummadi (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/MAPREDUCE-1014?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12758159#action_12758159 ]
Ravi Gummadi commented on MAPREDUCE-1014:
-----------------------------------------
hdfs-trunk seems fine(I don't see the issue Devaraj mentioned above). Could some other JIRA fixed hdfs build issue ?
> 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.
[jira] Resolved: (MAPREDUCE-1014) After the 0.21 branch, MapReduce
trunk doesn't compile
Posted by "Owen O'Malley (JIRA)" <ji...@apache.org>.
[ 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.
[jira] Commented: (MAPREDUCE-1014) After the 0.21 branch, MapReduce
trunk doesn't compile
Posted by "Ravi Gummadi (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/MAPREDUCE-1014?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12758146#action_12758146 ]
Ravi Gummadi commented on MAPREDUCE-1014:
-----------------------------------------
build.xml is looking for jars with "0.22.0-dev" as version, but trunk/lib/ has jars with name containing "0.21.0-dev"
Just renaming the jars in lib/ to have "0.22.0-dev" is solving the build issue.
> 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
> Assignee: Ravi Gummadi
> 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.
[jira] Assigned: (MAPREDUCE-1014) After the 0.21 branch, MapReduce
trunk doesn't compile
Posted by "Ravi Gummadi (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/MAPREDUCE-1014?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Ravi Gummadi reassigned MAPREDUCE-1014:
---------------------------------------
Assignee: Ravi Gummadi
> 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
> Assignee: Ravi Gummadi
> 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.
[jira] Commented: (MAPREDUCE-1014) After the 0.21 branch, MapReduce
trunk doesn't compile
Posted by "Hudson (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/MAPREDUCE-1014?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12758329#action_12758329 ]
Hudson commented on MAPREDUCE-1014:
-----------------------------------
Integrated in Hadoop-Mapreduce-trunk-Commit #60 (See [http://hudson.zones.apache.org/hudson/job/Hadoop-Mapreduce-trunk-Commit/60/])
. Fix the libraries for common and hdfs. (omalley)
> 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.
[jira] Commented: (MAPREDUCE-1014) After the 0.21 branch, MapReduce
trunk doesn't compile
Posted by "Devaraj Das (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/MAPREDUCE-1014?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12757967#action_12757967 ]
Devaraj Das commented on MAPREDUCE-1014:
----------------------------------------
Seems like hdfs-trunk doesn't compile as well. When ant is run, build fails with:
BUILD FAILED
/foo/hdfs-trunk/build.xml:257: Error while expanding /foo/hdfs-trunk/lib/hadoop-mapred-0.22.0-dev.jar
> 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.