[jira] [Commented] (SOLR-5679) Shard splitting fails with ClassCastException on clusterstate.json with router as string

2014-02-19 Thread Brett Hoerner (JIRA)

[ 
https://issues.apache.org/jira/browse/SOLR-5679?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13906475#comment-13906475
 ] 

Brett Hoerner commented on SOLR-5679:
-

[~shalinmangar], is there a ticket for the auto-upgrade of clusterstate?

Thanks a lot for this patch, btw!

 Shard splitting fails with ClassCastException on clusterstate.json with 
 router as string
 

 Key: SOLR-5679
 URL: https://issues.apache.org/jira/browse/SOLR-5679
 Project: Solr
  Issue Type: Bug
  Components: SolrCloud
Affects Versions: 4.6, 4.6.1
Reporter: Shalin Shekhar Mangar
Assignee: Shalin Shekhar Mangar
 Fix For: 4.7


 SOLR-5246 added support for splitting collections configured with a 
 router.field but the fix was not back-compatible.
 After upgrading an old SolrCloud cluster to 4.6 or 4.6.1, shard splitting can 
 fail with the following message:
 {quote}
 ERROR o.a.s.handler.admin.CoreAdminHandler - ERROR executing split:
 java.lang.ClassCastException: java.lang.String cannot be cast to java.util.Map
 at 
 org.apache.solr.handler.admin.CoreAdminHandler.handleSplitAction(CoreAdminHandler.java:285)
  [solr-core-4.6.1.jar:4.6.1 1560866 - mark - 2014-01-23 20:21:50]
 at 
 org.apache.solr.handler.admin.CoreAdminHandler.handleRequestBody(CoreAdminHandler.java:193)
  [solr-core-4.6.1.jar:4.6.1 1560866 - mark - 2014-01-23 20:21:50]
 at 
 org.apache.solr.handler.RequestHandlerBase.handleRequest(RequestHandlerBase.java:135)
  [solr-core-4.6.1.jar:4.6.1 1560866 - mark - 2014-01-23 20:21:50]
 {quote}
 This happens because the cluster state still contains the router as a string. 
 The clusterstate.json is supposed to auto-upgrade if cluster state is 
 upgraded but according to the user report that did not happen. In any case, 
 we need to fix the core admin split.



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

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



[jira] [Commented] (SOLR-5679) Shard splitting fails with ClassCastException on clusterstate.json with router as string

2014-01-30 Thread ASF subversion and git services (JIRA)

[ 
https://issues.apache.org/jira/browse/SOLR-5679?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13886703#comment-13886703
 ] 

ASF subversion and git services commented on SOLR-5679:
---

Commit 1562872 from sha...@apache.org in branch 'dev/trunk'
[ https://svn.apache.org/r1562872 ]

SOLR-5679: SOLR-5679: Shard splitting fails with ClassCastException on 
collections upgraded from 4.5 and earlier versions

 Shard splitting fails with ClassCastException on clusterstate.json with 
 router as string
 

 Key: SOLR-5679
 URL: https://issues.apache.org/jira/browse/SOLR-5679
 Project: Solr
  Issue Type: Bug
  Components: SolrCloud
Affects Versions: 4.6, 4.6.1
Reporter: Shalin Shekhar Mangar
Assignee: Shalin Shekhar Mangar
 Fix For: 4.7


 SOLR-5246 added support for splitting collections configured with a 
 router.field but the fix was not back-compatible.
 After upgrading an old SolrCloud cluster to 4.6 or 4.6.1, shard splitting can 
 fail with the following message:
 {quote}
 ERROR o.a.s.handler.admin.CoreAdminHandler - ERROR executing split:
 java.lang.ClassCastException: java.lang.String cannot be cast to java.util.Map
 at 
 org.apache.solr.handler.admin.CoreAdminHandler.handleSplitAction(CoreAdminHandler.java:285)
  [solr-core-4.6.1.jar:4.6.1 1560866 - mark - 2014-01-23 20:21:50]
 at 
 org.apache.solr.handler.admin.CoreAdminHandler.handleRequestBody(CoreAdminHandler.java:193)
  [solr-core-4.6.1.jar:4.6.1 1560866 - mark - 2014-01-23 20:21:50]
 at 
 org.apache.solr.handler.RequestHandlerBase.handleRequest(RequestHandlerBase.java:135)
  [solr-core-4.6.1.jar:4.6.1 1560866 - mark - 2014-01-23 20:21:50]
 {quote}
 This happens because the cluster state still contains the router as a string. 
 The clusterstate.json is supposed to auto-upgrade if cluster state is 
 upgraded but according to the user report that did not happen. In any case, 
 we need to fix the core admin split.



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

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



[jira] [Commented] (SOLR-5679) Shard splitting fails with ClassCastException on clusterstate.json with router as string

2014-01-30 Thread ASF subversion and git services (JIRA)

[ 
https://issues.apache.org/jira/browse/SOLR-5679?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13886707#comment-13886707
 ] 

ASF subversion and git services commented on SOLR-5679:
---

Commit 1562873 from sha...@apache.org in branch 'dev/branches/branch_4x'
[ https://svn.apache.org/r1562873 ]

SOLR-5679: Shard splitting fails with ClassCastException on collections 
upgraded from 4.5 and earlier versions

 Shard splitting fails with ClassCastException on clusterstate.json with 
 router as string
 

 Key: SOLR-5679
 URL: https://issues.apache.org/jira/browse/SOLR-5679
 Project: Solr
  Issue Type: Bug
  Components: SolrCloud
Affects Versions: 4.6, 4.6.1
Reporter: Shalin Shekhar Mangar
Assignee: Shalin Shekhar Mangar
 Fix For: 4.7


 SOLR-5246 added support for splitting collections configured with a 
 router.field but the fix was not back-compatible.
 After upgrading an old SolrCloud cluster to 4.6 or 4.6.1, shard splitting can 
 fail with the following message:
 {quote}
 ERROR o.a.s.handler.admin.CoreAdminHandler - ERROR executing split:
 java.lang.ClassCastException: java.lang.String cannot be cast to java.util.Map
 at 
 org.apache.solr.handler.admin.CoreAdminHandler.handleSplitAction(CoreAdminHandler.java:285)
  [solr-core-4.6.1.jar:4.6.1 1560866 - mark - 2014-01-23 20:21:50]
 at 
 org.apache.solr.handler.admin.CoreAdminHandler.handleRequestBody(CoreAdminHandler.java:193)
  [solr-core-4.6.1.jar:4.6.1 1560866 - mark - 2014-01-23 20:21:50]
 at 
 org.apache.solr.handler.RequestHandlerBase.handleRequest(RequestHandlerBase.java:135)
  [solr-core-4.6.1.jar:4.6.1 1560866 - mark - 2014-01-23 20:21:50]
 {quote}
 This happens because the cluster state still contains the router as a string. 
 The clusterstate.json is supposed to auto-upgrade if cluster state is 
 upgraded but according to the user report that did not happen. In any case, 
 we need to fix the core admin split.



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

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