Uploaded image for project: 'Nutch'
  1. Nutch
  2. NUTCH-367

DistributedSearch thown ClassCastException

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.9.0
    • 0.9.0
    • None
    • None
    • linux / windows 2003

    Description

      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)
      =========================================================

      Attachments

        Activity

          People

            siren Sami Siren
            emanihc emanihc
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: