Issue Details (XML | Word | Printable)

Key: NUTCH-367
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Major Major
Assignee: Sami Siren
Reporter: emanihc
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Nutch

DistributedSearch thown ClassCastException

Created: 12/Sep/06 02:58 PM   Updated: 18/Apr/07 03:44 PM
Return to search
Component/s: searcher
Affects Version/s: 0.9.0
Fix Version/s: 0.9.0

Time Tracking:
Not Specified

Environment: linux / windows 2003

Resolution Date: 19/Sep/06 07:34 PM


 Description  « Hide
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.getDetails
(DistributedSearch.java:299)
at org.apache.nutch.searcher.DistributedSearch$Client.main
(DistributedSearch.java:377)
=========================================================



 All   Comments   Work Log   Change History   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
No work has yet been logged on this issue.