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 <[EMAIL PROTECTED]>:
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) > ========================================================= >
