Return-Path: X-Original-To: apmail-lucene-solr-user-archive@minotaur.apache.org Delivered-To: apmail-lucene-solr-user-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 4C2CB17FF7 for ; Fri, 8 May 2015 05:54:24 +0000 (UTC) Received: (qmail 64706 invoked by uid 500); 8 May 2015 05:54:20 -0000 Delivered-To: apmail-lucene-solr-user-archive@lucene.apache.org Received: (qmail 64640 invoked by uid 500); 8 May 2015 05:54:20 -0000 Mailing-List: contact solr-user-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: solr-user@lucene.apache.org Delivered-To: mailing list solr-user@lucene.apache.org Received: (qmail 64622 invoked by uid 99); 8 May 2015 05:54:19 -0000 Received: from Unknown (HELO spamd4-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 08 May 2015 05:54:19 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd4-us-west.apache.org (ASF Mail Server at spamd4-us-west.apache.org) with ESMTP id 612FFC092D for ; Fri, 8 May 2015 05:54:19 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd4-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 2.88 X-Spam-Level: ** X-Spam-Status: No, score=2.88 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=3, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=disabled Authentication-Results: spamd4-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx1-us-east.apache.org ([10.40.0.8]) by localhost (spamd4-us-west.apache.org [10.40.0.11]) (amavisd-new, port 10024) with ESMTP id aDYnpC4nzXpj for ; Fri, 8 May 2015 05:54:13 +0000 (UTC) Received: from mail-la0-f49.google.com (mail-la0-f49.google.com [209.85.215.49]) by mx1-us-east.apache.org (ASF Mail Server at mx1-us-east.apache.org) with ESMTPS id E368743638 for ; Fri, 8 May 2015 05:54:12 +0000 (UTC) Received: by lagv1 with SMTP id v1so45606202lag.3 for ; Thu, 07 May 2015 22:52:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=ca9Uw3ISIQ3/4xhdP9c7DJX1LSTkx2uh1Ht6HWyJXRM=; b=BXsNTa+aBl6sOV6xFR7z/mzN6FLdjDcURnOnV2c/CAMWgvBx+mPwEtMRMcMwraNGkV 3k/bCy7dhNQXNakQu0l04Gm6FABFzROBPDFJABpz+guFTBZ6bRU0YBVUwDMW1Aadzt+9 XZcM/zudDjfhHGWkXJJAFlUCw1wGnvazOpFq2EWPRNycwMII3t6BR+pa7nGso32JVqhs P//PuKMXGfPzMDF10eQPDBZbjyqEythWLzOYYAJj6e47wj88BAKrajReu5ULnEj1LeV4 Lx5FJZFNSZR3y9yIpTyjJLr7fL6VLOJzWustaGhDD68D0T7bqB5ixsb69t//8Zcb0Hx4 sYmQ== MIME-Version: 1.0 X-Received: by 10.152.42.164 with SMTP id p4mr1596123lal.3.1431064360447; Thu, 07 May 2015 22:52:40 -0700 (PDT) Received: by 10.25.30.73 with HTTP; Thu, 7 May 2015 22:52:40 -0700 (PDT) In-Reply-To: <554B692A.6050402@elyograg.org> References: <554B692A.6050402@elyograg.org> Date: Fri, 8 May 2015 11:22:40 +0530 Message-ID: Subject: Re: solr.war built from solr 4.7.2 not working From: Rahul Singh To: solr-user@lucene.apache.org Content-Type: multipart/alternative; boundary=001a11c33f98daf5b605158ba25d --001a11c33f98daf5b605158ba25d Content-Type: text/plain; charset=UTF-8 response inline. On Thu, May 7, 2015 at 7:01 PM, Shawn Heisey wrote: > On 5/7/2015 3:43 AM, Rahul Singh wrote: > > I have tried to deploy solr.war from building it from 4.7.2 but it is > > showing the below mentioned error. Has anyone faced the same? any lead > > would also be appreciated. > > > > Error Message: > > > > { > > "responseHeader": { > > "status": 500, > > "QTime": 33 > > }, > > "error": { > > "msg": "parsing error", > > "trace": > > "org.apache.solr.client.solrj.impl.HttpSolrServer$RemoteSolrException: > > parsing error > > Did you change the source code in any way before you compiled it? You > haven't said what you're actually doing that resulted in this error, or > given any other details about your setup. It's good that you've given > us the full response with the error, but additional details, like the > request that generated the error and any errors found in the Solr log, > are important. > > just made few build files changes to include my jar for overriding lucene default similarity. logs showing following error... ERROR - 2015-05-08 11:15:25.738; org.apache.solr.common.SolrException; null:java.lang.IllegalArgumentException: You cannot set an index-time bo ost on an unindexed field, or one that omits norms at org.apache.lucene.document.Field.setBoost(Field.java:452) at org.apache.lucene.document.DocumentStoredFieldVisitor.stringField(DocumentStoredFieldVisitor.java:75) at org.apache.lucene.codecs.compressing.CompressingStoredFieldsReader.readField(CompressingStoredFieldsReader.java:187) at org.apache.lucene.codecs.compressing.CompressingStoredFieldsReader.visitDocument(CompressingStoredFieldsReader.java:351) at org.apache.lucene.index.SegmentReader.document(SegmentReader.java:287) at org.apache.lucene.index.BaseCompositeReader.document(BaseCompositeReader.java:110) at org.apache.lucene.index.IndexReader.document(IndexReader.java:446) at org.apache.solr.search.SolrIndexSearcher.doc(SolrIndexSearcher.java:659) at org.apache.solr.response.BinaryResponseWriter$Resolver.writeResultsBody(BinaryResponseWriter.java:147) at org.apache.solr.response.BinaryResponseWriter$Resolver.writeResults(BinaryResponseWriter.java:174) at org.apache.solr.response.BinaryResponseWriter$Resolver.resolve(BinaryResponseWriter.java:87) at org.apache.solr.common.util.JavaBinCodec.writeVal(JavaBinCodec.java:158) at org.apache.solr.common.util.JavaBinCodec.writeNamedList(JavaBinCodec.java:148) at org.apache.solr.common.util.JavaBinCodec.writeKnownType(JavaBinCodec.java:242) at org.apache.solr.common.util.JavaBinCodec.writeVal(JavaBinCodec.java:153) at org.apache.solr.common.util.JavaBinCodec.marshal(JavaBinCodec.java:96) at org.apache.solr.response.BinaryResponseWriter.write(BinaryResponseWriter.java:51) at org.apache.solr.servlet.SolrDispatchFilter.writeResponse(SolrDispatchFilter.java:749) at org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:428) at org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:205) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:220) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:950) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:408) at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1040) Because the error comes from HttpSolrServer and is embedded in a Solr > response, I'm guessing this is a distributed request ... but I can't > tell if it's SolrCloud or "manual" sharding. > its solr cloud sharding and it's is a solr cloud implementation with two nodes both of them using the same war. > With no other information to go on, I do have some possible ideas: > > You might have changed something fundamental in the source code that > makes the distributed request incompatible with the target core/server. > > There might be mixed versions ... either multiple copies of jars on the > classpath from different versions of Solr, or a version with your code > changes trying to talk to another instance without your changes. > > Are there error messages in the Solr log on the instance of Solr that > received the distributed request? > > Thanks, > Shawn > > --001a11c33f98daf5b605158ba25d--