You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@nutch.apache.org by "emanihc (JIRA)" <ji...@apache.org> on 2006/09/12 16:59:22 UTC

[jira] Created: (NUTCH-367) DistributedSearch thown ClassCastException

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.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

        

[jira] Resolved: (NUTCH-367) DistributedSearch thown ClassCastException

Posted by "Sami Siren (JIRA)" <ji...@apache.org>.
     [ 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