DistributedSearch thown ClassCastException
------------------------------------------
Key: NUTCH-367
URL: http:/
/issues.apache.org/jira/browse/NUTCH-367
Project: Nutch
Issue Type: Bug
Components: searcher
Affects Versions: 0.9.0
Environment: linux / windows 2003
Reporter: emanihc
I check out directly from SVN to get the latest sources
(revision 442599),
run
"bin/nutch server 12345 ../crawl/"
"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" localhost 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
(DistributedSearch.java:284)
at
org.apache.nutch.searcher.DistributedSearch$Client.getDetail
s
(DistributedSearch.java:299)
at
org.apache.nutch.searcher.DistributedSearch$Client.main
(DistributedSearch.java:377)
=========================================================
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the
administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atl
assian.com/software/jira
|