hadoop-common-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From emanihc <eman...@gmail.com>
Subject Help: DistributedSearch thown ClassCastException
Date Sun, 10 Sep 2006 15:15:27 GMT
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