incubator-hama-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Edward J. Yoon (JIRA)" <j...@apache.org>
Subject [jira] [Reopened] (HAMA-405) NoClassDefFoundError: org/apache/commons/cli/ParseException running bin/hama zookeeper
Date Mon, 27 Jun 2011 01:39:47 GMT

     [ https://issues.apache.org/jira/browse/HAMA-405?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Edward J. Yoon reopened HAMA-405:
---------------------------------


{code}

the logs showed
2011-06-25 08:13:48,984 ERROR org.apache.hama.bsp.GroomServer: Got fatal exception while reinitializing
GroomServer: java.net.UnknownHostException: unknown host: local
       at org.apache.hadoop.ipc.Client$Connection.<init>(Client.java:195)
       at org.apache.hadoop.ipc.Client.getConnection(Client.java:850)
       at org.apache.hadoop.ipc.Client.call(Client.java:720)
       at org.apache.hadoop.ipc.RPC$Invoker.invoke(RPC.java:220)
       at $Proxy4.getProtocolVersion(Unknown Source)
       at org.apache.hadoop.ipc.RPC.getProxy(RPC.java:359)
       at org.apache.hadoop.ipc.RPC.getProxy(RPC.java:346)
       at org.apache.hadoop.ipc.RPC.getProxy(RPC.java:383)
       at org.apache.hadoop.ipc.RPC.waitForProxy(RPC.java:314)
       at org.apache.hadoop.ipc.RPC.waitForProxy(RPC.java:291)
       at org.apache.hama.bsp.GroomServer.initialize(GroomServer.java:279)
       at org.apache.hama.bsp.GroomServer.run(GroomServer.java:600)
       at java.lang.Thread.run(Thread.java:680)

and yes, jps was only showing zookeeper, but no groomaster
79938 Jps
79830 ZooKeeperRunner

As temporary workaround, I added local to my /etc/hosts (mac os x 10.6).

I relaunched, and now jps shows:
80227 GroomServerRunner
80134 ZooKeeperRunner
80165 BSPMasterRunner


--> could it be that local value is interpreted as a hostname ?
<name>bsp.master.address</name>
<value>local</value>


Going to http://localhost:40013/ redirects me to http://localhost:40013/bspmaster.jsp which
shows a 500
HTTP ERROR 500
Problem accessing /bspmaster.jsp. Reason:
   JSP support not configured

--> probably jetty-jsp dependency missing in the dist.

Tks
{code}

Exclusions seems too complex!

I'd like to revert this patch and add only used dependencies if you are ok.

> 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
>            Assignee: Edward J. Yoon
>             Fix For: 0.3.0
>
>         Attachments: HAMA-405.patch, HAMA-405.patch, HAMA-405_again.patch, HAMA-405_v4.patch
>
>
> 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

        

Mime
View raw message