hadoop-common-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From emanihc <eman...@gmail.com>
Subject Re: Help: DistributedSearch thown ClassCastException
Date Tue, 12 Sep 2006 12:17:16 GMT
 Hello Doug

I tried to modify DistributedSearch.java to implement the VersionedProtocol
interface,

but it seems it can't fix the problem... :(



2006/9/12, Doug Cutting <cutting@apache.org>:
>
> 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
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message