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 13:47:40 GMT

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

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

I've redeployed with your patch. This is very peculiar indeed! The stack trace shows a ping
failing and at the bottom some that work well. I've also noticed the /select handler not being
there so i've did a manual request on /select?q=*:* and i _sometimes_ get the same error.
Some work, some don't.

Does this help a bit?

{code}
2012-03-20 13:45:30,352 INFO [solr.core.SolrCore] - [http-80-17] - : [] webapp=/solr path=/admin/ping
params={} status=500 QTime=7 
2012-03-20 13:45:30,352 ERROR [solr.servlet.SolrDispatchFilter] - [http-80-17] - : 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, input: <html><head><title>Apache
Tomcat/6.0.35 - Error report</title><style><!--H1 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:22px;}
H2 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:16px;}
H3 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:14px;}
BODY {font-family:Tahoma,Arial,sans-serif;color:black;background-color:white;} B {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;}
P {font-family:Tahoma,Arial,sans-serif;background:white;color:black;font-size:12px;}A {color
: black;}A.name {color : black;}HR {color : #525D76;}--></style> </head><body><h1>HTTP
Status 404 - /solr/select</h1><HR size="1" noshade="noshade"><p><b>type</b>
Status report</p><p><b>message</b> <u>/solr/select</u></p><p><b>description</b>
<u>The requested resource (/solr/select) is not available.</u></p><HR
size="1" noshade="noshade"><h3>Apache Tomcat/6.0.35</h3></body></html>
        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, input: <html><head><title>Apache Tomcat/6.0.35 - Error report</title><style><!--H1
{font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:22px;}
H2 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:16px;}
H3 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:14px;}
BODY {font-family:Tahoma,Arial,sans-serif;color:black;background-color:white;} B {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;}
P {font-family:Tahoma,Arial,sans-serif;background:white;color:black;font-size:12px;}A {color
: black;}A.name {color : black;}HR {color : #525D76;}--></style> </head><body><h1>HTTP
Status 404 - /solr/select</h1><HR size="1" noshade="noshade"><p><b>type</b>
Status report</p><p><b>message</b> <u>/solr/select</u></p><p><b>description</b>
<u>The requested resource (/solr/select) is not available.</u></p><HR
size="1" noshade="noshade"><h3>Apache Tomcat/6.0.35</h3></body></html>
        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, input: <html><head><title>Apache
Tomcat/6.0.35 - Error report</title><style><!--H1 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:22px;}
H2 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:16px;}
H3 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:14px;}
BODY {font-family:Tahoma,Arial,sans-serif;color:black;background-color:white;} B {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;}
P {font-family:Tahoma,Arial,sans-serif;background:white;color:black;font-size:12px;}A {color
: black;}A.name {color : black;}HR {color : #525D76;}--></style> </head><body><h1>HTTP
Status 404 - /solr/select</h1><HR size="1" noshade="noshade"><p><b>type</b>
Status report</p><p><b>message</b> <u>/solr/select</u></p><p><b>description</b>
<u>The requested resource (/solr/select) is not available.</u></p><HR
size="1" noshade="noshade"><h3>Apache Tomcat/6.0.35</h3></body></html>
        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, input: <html><head><title>Apache Tomcat/6.0.35
- Error report</title><style><!--H1 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:22px;}
H2 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:16px;}
H3 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:14px;}
BODY {font-family:Tahoma,Arial,sans-serif;color:black;background-color:white;} B {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;}
P {font-family:Tahoma,Arial,sans-serif;background:white;color:black;font-size:12px;}A {color
: black;}A.name {color : black;}HR {color : #525D76;}--></style> </head><body><h1>HTTP
Status 404 - /solr/select</h1><HR size="1" noshade="noshade"><p><b>type</b>
Status report</p><p><b>message</b> <u>/solr/select</u></p><p><b>description</b>
<u>The requested resource (/solr/select) is not available.</u></p><HR
size="1" noshade="noshade"><h3>Apache Tomcat/6.0.35</h3></body></html>
        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

2012-03-20 13:45:30,585 INFO [solr.core.SolrCore] - [http-80-3] - : [] webapp=/solr path=/select
params={omitHeader=true&fl=id,score&shard.url=nl2.index.openindex.io:80/solr/|nl1.index.openindex.io:80/solr/openindex_a/&NOW=1332251130581&start=0&q=*:*&distrib=false&isShard=true&wt=javabin&fsv=true&rows=0&version=2}
hits=0 status=0 QTime=0 
2012-03-20 13:45:30,586 INFO [solr.core.SolrCore] - [http-80-17] - : [] webapp=/solr path=/admin/ping
params={} status=0 QTime=5 
2012-03-20 13:45:30,587 INFO [solr.core.SolrCore] - [http-80-17] - : [] webapp=/solr path=/admin/ping
params={} status=0 QTime=6
{code}
                
> 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
>
>
> 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