lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Markus Jelsma (Commented) (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (SOLR-3258) Ping query caused exception..Invalid version (expected 2, but 60) or the data in not in 'javabin' format
Date Tue, 20 Mar 2012 14:43:37 GMT

    [ https://issues.apache.org/jira/browse/SOLR-3258?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13233451#comment-13233451
] 

Markus Jelsma commented on SOLR-3258:
-------------------------------------

It seems i found the problem. The solr.xml file on one of the nodes received a typo. Instead
shard="shard1" i had shard_a="shard1". It's pretty hard to reproduce but after removing the
ZK data directories you can start the nodes with one core having a bad shard parameter. Originally
only one node had a corrupt solr.xml file but i could only reproduce by corrupting the file
on both nodes and starting Solr.


                
> Ping query caused exception..Invalid version (expected 2, but 60) or the data in not
in 'javabin' format
> --------------------------------------------------------------------------------------------------------
>
>                 Key: SOLR-3258
>                 URL: https://issues.apache.org/jira/browse/SOLR-3258
>             Project: Solr
>          Issue Type: Bug
>         Environment: solr-impl 4.0-SNAPSHOT 1302403 - markus - 2012-03-19 13:55:51 
>            Reporter: Markus Jelsma
>             Fix For: 4.0
>
>         Attachments: debugging.patch, zkdump.txt
>
>
> In a test set-up with nodes=2, shards=3 and cores=6 we often see this exception in the
logs. Once every few ping requests this is thrown, other request return a proper OK.
> Ping request handler:
> {code}
> <requestHandler name="/admin/ping" class="solr.PingRequestHandler">
>     <lst name="invariants">
>       <str name="qt">select</str>
>       <str name="q">*:*</str>
>       <int name="rows">0</int>
>     </lst>
>     <lst name="defaults">
>       <str name="wt">json</str>
>       <str name="echoParams">all</str>
>       <bool name="omitHeader">true</bool>
>     </lst>
>   </requestHandler>
> {code}
> Exception:
> {code}
> 2012-03-20 13:16:06,405 INFO [solr.core.SolrCore] - [http-80-18] - : [core_a] webapp=/solr
path=/admin/ping params={} status=500 QTime=7 
> 2012-03-20 13:16:06,406 ERROR [solr.servlet.SolrDispatchFilter] - [http-80-18] - : null:org.apache.solr.common.SolrException:
Ping query caused exception: org.apache.solr.client.solrj.SolrServerException: java.lang.RuntimeException:
Invalid version (expected 2, but 60) or the data in not in 'javabin' format
>         at org.apache.solr.handler.PingRequestHandler.handleRequestBody(PingRequestHandler.java:77)
>         at org.apache.solr.handler.RequestHandlerBase.handleRequest(RequestHandlerBase.java:129)
>         at org.apache.solr.core.SolrCore.execute(SolrCore.java:1540)
>         at org.apache.solr.servlet.SolrDispatchFilter.execute(SolrDispatchFilter.java:435)
>         at org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:256)
>         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
>         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
>         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
>         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
>         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
>         at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
>         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
>         at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293)
>         at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:859)
>         at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:602)
>         at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
>         at java.lang.Thread.run(Thread.java:662)
> Caused by: org.apache.solr.common.SolrException: org.apache.solr.client.solrj.SolrServerException:
java.lang.RuntimeException: Invalid version (expected 2, but 60) or the data in not in 'javabin'
format
>         at org.apache.solr.handler.component.SearchHandler.handleRequestBody(SearchHandler.java:298)
>         at org.apache.solr.handler.RequestHandlerBase.handleRequest(RequestHandlerBase.java:129)
>         at org.apache.solr.core.SolrCore.execute(SolrCore.java:1540)
>         at org.apache.solr.handler.PingRequestHandler.handleRequestBody(PingRequestHandler.java:68)
>         ... 16 more
> Caused by: org.apache.solr.client.solrj.SolrServerException: java.lang.RuntimeException:
Invalid version (expected 2, but 60) or the data in not in 'javabin' format
>         at org.apache.solr.client.solrj.impl.LBHttpSolrServer.request(LBHttpSolrServer.java:278)
>         at org.apache.solr.handler.component.HttpShardHandler$1.call(HttpShardHandler.java:158)
>         at org.apache.solr.handler.component.HttpShardHandler$1.call(HttpShardHandler.java:123)
>         at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
>         at java.util.concurrent.FutureTask.run(FutureTask.java:138)
>         at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
>         at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
>         at java.util.concurrent.FutureTask.run(FutureTask.java:138)
>         at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
>         at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
>         ... 1 more
> Caused by: java.lang.RuntimeException: Invalid version (expected 2, but 60) or the data
in not in 'javabin' format
>         at org.apache.solr.common.util.JavaBinCodec.unmarshal(JavaBinCodec.java:109)
>         at org.apache.solr.client.solrj.impl.BinaryResponseParser.processResponse(BinaryResponseParser.java:41)
>         at org.apache.solr.client.solrj.impl.CommonsHttpSolrServer.request(CommonsHttpSolrServer.java:468)
>         at org.apache.solr.client.solrj.impl.CommonsHttpSolrServer.request(CommonsHttpSolrServer.java:251)
>         at org.apache.solr.client.solrj.impl.LBHttpSolrServer.request(LBHttpSolrServer.java:251)
>         ... 10 more
> {code}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


Mime
View raw message