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

Markus Jelsma edited comment on SOLR-5261 at 9/24/13 6:04 PM:
--------------------------------------------------------------

Yonik, i think there's a similar issue. Yesterday, just before you opened this 
issue we saw something similar. A slighly older trunk SolrJ could not talk to a 
trunk cluster -older- NEWER than september the 18th. We got a similar exception:

{code}
java.lang.ClassCastException: java.lang.String cannot be cast to java.util.Map
        at 
org.apache.solr.common.cloud.ClusterState.collectionFromObjects(ClusterState.java:263)
        at org.apache.solr.common.cloud.ClusterState.load(ClusterState.java:231)
        at org.apache.solr.common.cloud.ClusterState.load(ClusterState.java:207)
        at 
org.apache.solr.common.cloud.ZkStateReader.createClusterStateWatchersAndUpdate(ZkStateReader.java:299)
        at 
org.apache.solr.client.solrj.impl.CloudSolrServer.connect(CloudSolrServer.java:238)
        at 
org.apache.nutch.indexer.solr.SolrUtils.getCloudServer(SolrUtils.java:108)
        at 
org.apache.nutch.indexer.solr.SolrUtils.getSolrServers(SolrUtils.java:65)
        at org.apache.nutch.indexer.solr.SolrWriter.open(SolrWriter.java:66)
{code}

We still see this exception with both client and server updated to today's 
trunk.

edit: -older- should be newer, but you probably already got that ;)
                
      was (Author: markus17):
    Yonik, i think there's a similar issue. Yesterday, just before you opened 
this issue we saw something similar. A slighly older trunk SolrJ could not talk 
to a trunk cluster older than september the 18th. We got a similar exception:

{code}
java.lang.ClassCastException: java.lang.String cannot be cast to java.util.Map
        at 
org.apache.solr.common.cloud.ClusterState.collectionFromObjects(ClusterState.java:263)
        at org.apache.solr.common.cloud.ClusterState.load(ClusterState.java:231)
        at org.apache.solr.common.cloud.ClusterState.load(ClusterState.java:207)
        at 
org.apache.solr.common.cloud.ZkStateReader.createClusterStateWatchersAndUpdate(ZkStateReader.java:299)
        at 
org.apache.solr.client.solrj.impl.CloudSolrServer.connect(CloudSolrServer.java:238)
        at 
org.apache.nutch.indexer.solr.SolrUtils.getCloudServer(SolrUtils.java:108)
        at 
org.apache.nutch.indexer.solr.SolrUtils.getSolrServers(SolrUtils.java:65)
        at org.apache.nutch.indexer.solr.SolrWriter.open(SolrWriter.java:66)
{code}

We still see this exception with both client and server updated to today's 
trunk.
                  
> can't update current trunk or 4x with 4.4 or earlier binary protocol
> --------------------------------------------------------------------
>
>                 Key: SOLR-5261
>                 URL: https://issues.apache.org/jira/browse/SOLR-5261
>             Project: Solr
>          Issue Type: Bug
>            Reporter: Yonik Seeley
>            Assignee: Yonik Seeley
>            Priority: Blocker
>             Fix For: 4.5, 5.0
>
>         Attachments: SOLR-5261.patch
>
>
> Seems back compat in the binary protocol was broke broke sometime after 4.4

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to