List Info

Thread: Created: (NUTCH-367) DistributedSearch thown ClassCastException




Created: (NUTCH-367) DistributedSearch thown ClassCastException
user name
2006-09-12 14:59:22
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

        
Resolved: (NUTCH-367) DistributedSearch thown ClassCastException
user name
2006-09-19 19:36:24
     [ 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.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

        
[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )