[ 
https://issues.apache.org/jira/browse/HAMA-405?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13053520#comment-13053520
 ] 

Joseph Boyd commented on HAMA-405:
----------------------------------

While looking into this, I suspect the problem was introduced in HAMA-402 , 
where several dependencies were removed from the advice of the 'mvn 
dependency:analyze' report.

The report is correct, hama doesn't depend on those item, but instead has a 
transitive dependency on them. As one example, commons-cli jar, referenced in 
the error in the description, is required by hadoop-core, not by hama.



> NoClassDefFoundError: org/apache/commons/cli/ParseException running bin/hama 
> zookeeper
> --------------------------------------------------------------------------------------
>
>                 Key: HAMA-405
>                 URL: https://issues.apache.org/jira/browse/HAMA-405
>             Project: Hama
>          Issue Type: Bug
>          Components: build 
>    Affects Versions: 0.3.0
>            Reporter: Joseph Boyd
>
> It was reported on the mailing list that the current SVN head generates an 
> error when running zookeeper on the command line
> $ bin/hama zookeeper
> Exception in thread "main" java.lang.NoClassDefFoundError:
> org/apache/commons/cli/ParseException
> at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:59)
> at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:79)
> at org.apache.hama.ZooKeeperRunner.main(ZooKeeperRunner.java:41)
> Caused by: java.lang.ClassNotFoundException:
> org.apache.commons.cli.ParseException
> at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
> at java.security.AccessController.doPrivileged(Native Method)
> at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
> at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
> at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
> at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
> ... 3 more

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to