[ http://issues.apache.org/jira/browse/NUTCH-367?page=all ]
Sami Siren resolved NUTCH-367.
------------------------------
Fix Version/s: 0.9.0
Resolution: Fixed
Assignee: Sami Siren
I just committed a fix for this together with testcase, thanks for reporting it.
> 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
> Assigned To: Sami Siren
> Fix For: 0.9.0
>
>
> 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)
> =========================================================
--
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.atlassian.com/software/jira
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Nutch-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/nutch-developers