[ 
https://issues.apache.org/jira/browse/SOLR-5466?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Erick Erickson updated SOLR-5466:
---------------------------------

    Attachment: SOLR-5466.patch

Updated patch that resolves some merge conflicts against trunk.

I noticed that, while the test succeeds, it always throws this exception both 
from a terminal and in IntelliJ, is there a way we can clean this up?

25125 T111 oasc.SolrException.log ERROR There was a problem trying to register 
as the leader:org.apache.zookeeper.KeeperException$SessionExpiredException: 
KeeperErrorCode = Session expired for /collections
                at 
org.apache.zookeeper.KeeperException.create(KeeperException.java:127)
                at 
org.apache.zookeeper.KeeperException.create(KeeperException.java:51)
                at org.apache.zookeeper.ZooKeeper.exists(ZooKeeper.java:1041)
                at 
org.apache.solr.common.cloud.SolrZkClient$3.execute(SolrZkClient.java:206)
                at 
org.apache.solr.common.cloud.SolrZkClient$3.execute(SolrZkClient.java:203)
                at 
org.apache.solr.common.cloud.ZkCmdExecutor.retryOperation(ZkCmdExecutor.java:73)
                at 
org.apache.solr.common.cloud.SolrZkClient.exists(SolrZkClient.java:203)
                at 
org.apache.solr.common.cloud.SolrZkClient.makePath(SolrZkClient.java:414)
                at 
org.apache.solr.common.cloud.SolrZkClient.makePath(SolrZkClient.java:383)
                at 
org.apache.solr.common.cloud.SolrZkClient.makePath(SolrZkClient.java:370)
                at 
org.apache.solr.cloud.ShardLeaderElectionContextBase.runLeaderProcess(ElectionContext.java:112)
                at 
org.apache.solr.cloud.ShardLeaderElectionContext.runLeaderProcess(ElectionContext.java:273)
                at 
org.apache.solr.cloud.LeaderElector.runIamLeaderProcess(LeaderElector.java:164)
                at 
org.apache.solr.cloud.LeaderElector.checkIfIamLeader(LeaderElector.java:108)
                at 
org.apache.solr.cloud.LeaderElector.access$000(LeaderElector.java:55)
                at 
org.apache.solr.cloud.LeaderElector$1.process(LeaderElector.java:137)
                at 
org.apache.zookeeper.ClientCnxn$EventThread.processEvent(ClientCnxn.java:519)
                at 
org.apache.zookeeper.ClientCnxn$EventThread.run(ClientCnxn.java:495)
        

> Add List Collections functionality to Collections API
> -----------------------------------------------------
>
>                 Key: SOLR-5466
>                 URL: https://issues.apache.org/jira/browse/SOLR-5466
>             Project: Solr
>          Issue Type: Sub-task
>          Components: scripts and tools, SolrCloud
>         Environment: All
>            Reporter: Dave Seltzer
>            Assignee: Shalin Shekhar Mangar
>            Priority: Minor
>              Labels: api, collections, rest
>         Attachments: SOLR-5466.patch, SOLR-5466.patch, SOLR-5466.patch
>
>
> The collections API lets you add, delete and modify existing collections. At 
> the moment the API does not let you get a list of current collections or view 
> information about a specific collection.
> The workaround is the use the Zookeeper API to get the list. This makes the 
> Collections API harder to work with. 
> Adding an action=LIST would significantly improve the function of this API.



--
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

Reply via email to