lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rakhi Khatwani <rkhatw...@gmail.com>
Subject Re: java.lang.ClassCastException: java.lang.Long cannot be cast to org.apache.solr.common.util.NamedList in solr
Date Tue, 30 Jun 2009 10:36:56 GMT
Hi Noble,

i am using solr 1.3

Regards,
Raakhi

2009/6/30 Noble Paul നോബിള്‍ नोब्ळ् <noble.paul@corp.aol.com>

> which version of solr are you using?
>
> 2009/6/30 Noble Paul നോബിള്‍  नोब्ळ् <noble.paul@corp.aol.com>:
> > use the XMLResponseParser
> >
> http://wiki.apache.org/solr/Solrj#head-12c26b2d7806432c88b26cf66e236e9bd6e91849
> >
> > I guess there was some error during the update
> >
> > On Tue, Jun 30, 2009 at 3:33 PM, Rakhi Khatwani<rkhatwani@gmail.com>
> wrote:
> >> Hi,
> >>  I am integrating solr with hadoop. so i wrote a map reduce method which
> >> writes the indexes in HDFS.
> >> the map methods work fine, and in my reduce method, i call solrServer to
> >> update the indexes, but when i try accessing solrServer, i get the
> following
> >> exception
> >>
> >>
> >> java.lang.ClassCastException: java.lang.Long cannot be cast to
> >> org.apache.solr.common.util.NamedList
> >>  at
> >>
> org.apache.solr.common.util.NamedListCodec.unmarshal(NamedListCodec.java:89)
> >>  at
> >>
> org.apache.solr.client.solrj.impl.BinaryResponseParser.processResponse(BinaryResponseParser.java:39)
> >>  at
> >>
> org.apache.solr.client.solrj.impl.CommonsHttpSolrServer.request(CommonsHttpSolrServer.java:385)
> >>  at
> >>
> org.apache.solr.client.solrj.impl.CommonsHttpSolrServer.request(CommonsHttpSolrServer.java:183)
> >>  at
> >>
> org.apache.solr.client.solrj.request.UpdateRequest.process(UpdateRequest.java:217)
> >>  at org.apache.solr.client.solrj.SolrServer.add(SolrServer.java:48)
> >>  at org.apache.solr.indexer.solr.SolrWriter.close(SolrWriter.java:53)
> >>  at
> >>
> org.apache.solr.indexer.IndexerOutputFormat$1.close(IndexerOutputFormat.java:32)
> >>  at org.apache.hadoop.mapred.ReduceTask.run(ReduceTask.java:441)
> >>  at org.apache.hadoop.mapred.Child.main(Child.java:155)
> >>
> >> any suggesstions?
> >>
> >> thnx Raakhi.
> >>
> >
> >
> >
> > --
> > -----------------------------------------------------
> > Noble Paul | Principal Engineer| AOL | http://aol.com
> >
>
>
>
> --
> -----------------------------------------------------
> Noble Paul | Principal Engineer| AOL | http://aol.com
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message