You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hama.apache.org by "Lee Dongjin (JIRA)" <ji...@apache.org> on 2014/09/23 17:06:33 UTC
[jira] [Commented] (HAMA-920) start-bspd.sh fails with hadoop 2.5.x
[ https://issues.apache.org/jira/browse/HAMA-920?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14144872#comment-14144872 ]
Lee Dongjin commented on HAMA-920:
----------------------------------
This problem seems to be related to HADOOP-9478, applied to version 2.3.0. In this issue, a new inner class DeprecationContext was introduced. This class calls UnmodifiableMap of commons-collections on initialization, but it does not exist in current hama distribution.
[^1]: https://issues.apache.org/jira/browse/HADOOP-9478
> start-bspd.sh fails with hadoop 2.5.x
> -------------------------------------
>
> Key: HAMA-920
> URL: https://issues.apache.org/jira/browse/HAMA-920
> Project: Hama
> Issue Type: Bug
> Reporter: Lee Dongjin
>
> When build and run hama 0.6.4 with hadoop 2.5.1, start-bspd.sh fails with following messages:
> Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/commons/collections/map/UnmodifiableMap
> at org.apache.hadoop.conf.Configuration$DeprecationContext.<init>(Configuration.java:394)
> at org.apache.hadoop.conf.Configuration.<clinit>(Configuration.java:434)
> at org.apache.hama.zookeeper.ZKServerTool.main(ZKServerTool.java:37)
> Caused by: java.lang.ClassNotFoundException: org.apache.commons.collections.map.UnmodifiableMap
> at java.net.URLClassLoader$1.run(URLClassLoader.java:366)
> at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
> at java.security.AccessController.doPrivileged(Native Method)
> at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
> at java.lang.ClassLoader.loadClass(ClassLoader.java:425)
> at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
> at java.lang.ClassLoader.loadClass(ClassLoader.java:358)
> ... 3 more
> starting bspmaster, logging to /home/dongjinleekr/opt/hama-0.6.4/bin/../logs/hama-dongjinleekr-bspmaster-dongjinleekr-unix.out
> Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/commons/collections/map/UnmodifiableMap
> at org.apache.hadoop.conf.Configuration$DeprecationContext.<init>(Configuration.java:394)
> at org.apache.hadoop.conf.Configuration.<clinit>(Configuration.java:434)
> at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:62)
> at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:84)
> at org.apache.hama.BSPMasterRunner.main(BSPMasterRunner.java:56)
> Caused by: java.lang.ClassNotFoundException: org.apache.commons.collections.map.UnmodifiableMap
> at java.net.URLClassLoader$1.run(URLClassLoader.java:366)
> at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
> at java.security.AccessController.doPrivileged(Native Method)
> localhost: starting groom, logging to /home/dongjinleekr/opt/hama-0.6.4/bin/../logs/hama-dongjinleekr-groom-dongjinleekr-unix.out
> localhost: Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/commons/collections/map/UnmodifiableMap
> localhost: at org.apache.hadoop.conf.Configuration$DeprecationContext.<init>(Configuration.java:394)
> localhost: at org.apache.hadoop.conf.Configuration.<clinit>(Configuration.java:434)
> localhost: at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:62)
> localhost: at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:84)
> localhost: at org.apache.hama.GroomServerRunner.main(GroomServerRunner.java:59)
> localhost: Caused by: java.lang.ClassNotFoundException: org.apache.commons.collections.map.UnmodifiableMap
> localhost: at java.net.URLClassLoader$1.run(URLClassLoader.java:366)
> localhost: at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
> localhost: at java.security.AccessController.doPrivileged(Native Method)
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)