hadoop-common-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Doug Cutting <cutt...@apache.org>
Subject Re: Help: DistributedSearch thown ClassCastException
Date Mon, 11 Sep 2006 17:41:08 GMT
It looks like DistributedSearch.Protocol needs to implement the 
VersionedProtocol interface.  Probably this exception could be improved...

Doug

emanihc wrote:
> hello all
> 
> I check out directly from SVN to get the sources,
> 
> run "bin/nutch server 12345 ../crawl/"
> 
> run "bin/nutch 'org.apache.nutch.searcher.DistributedSearch$Client' 'www'
> localhost 12345"
> 
> and then it thrown Exception below:
> 
> ========================================================
> $ bin/nutch 'org.apache.nutch.searcher.DistributedSearch$Client' "www"
> localhos
> t 12345
> STATS: 1 servers, 5 segments.
> Total hits: 9
> Exception in thread "main" java.lang.ClassCastException: $Proxy0
>        at org.apache.hadoop.ipc.RPC.getProxy(RPC.java:241)
>        at org.apache.nutch.searcher.DistributedSearch$Client.getRemote
> (Distribu
> tedSearch.java:284)
>        at org.apache.nutch.searcher.DistributedSearch$Client.getDetails
> (Distrib
> utedSearch.java:299)
>        at org.apache.nutch.searcher.DistributedSearch$Client.main
> (DistributedSe
> arch.java:377)
> =========================================================
> 

Mime
View raw message