[
https://issues.apache.org/jira/browse/SOLR-12387?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16501744#comment-16501744
]
Noble Paul commented on SOLR-12387:
-----------------------------------
a test failure
{code}
org.apache.solr.cloud.CollectionsAPISolrJTest.testCreateCollWithDefaultClusterProperties
Failing for the past 1 build (Since Unstable#634 )
Took 1.7 sec.
Error Message
Error from server at https://127.0.0.1:40716/solr: numShards is a required
param (when using CompositeId router).
Stacktrace
org.apache.solr.client.solrj.impl.HttpSolrClient$RemoteSolrException: Error
from server at https://127.0.0.1:40716/solr: numShards is a required param
(when using CompositeId router).
at
__randomizedtesting.SeedInfo.seed([C5B61E61129CAF52:76627549ECB86DF6]:0)
at
org.apache.solr.client.solrj.impl.HttpSolrClient.executeMethod(HttpSolrClient.java:643)
at
org.apache.solr.client.solrj.impl.HttpSolrClient.request(HttpSolrClient.java:255)
at
org.apache.solr.client.solrj.impl.HttpSolrClient.request(HttpSolrClient.java:244)
at
org.apache.solr.client.solrj.impl.LBHttpSolrClient.doRequest(LBHttpSolrClient.java:483)
at
org.apache.solr.client.solrj.impl.LBHttpSolrClient.request(LBHttpSolrClient.java:413)
at
org.apache.solr.client.solrj.impl.CloudSolrClient.sendRequest(CloudSolrClient.java:1106)
at
org.apache.solr.client.solrj.impl.CloudSolrClient.requestWithRetryOnStaleState(CloudSolrClient.java:886)
at
org.apache.solr.client.solrj.impl.CloudSolrClient.request(CloudSolrClient.java:819)
{code}
> Have cluster-wide defaults for numShards, nrtReplicas, tlogReplicas,
> pullReplicas
> ---------------------------------------------------------------------------------
>
> Key: SOLR-12387
> URL: https://issues.apache.org/jira/browse/SOLR-12387
> Project: Solr
> Issue Type: Improvement
> Security Level: Public(Default Security Level. Issues are Public)
> Reporter: Noble Paul
> Assignee: Noble Paul
> Priority: Major
> Attachments: SOLR-12387.patch
>
>
> These will be cluster properties and the commands can omit these and the
> command would pick it up from the cluster properties
>
> the cluster property names are
> {code}
> "collectionDefaults": {
> "numShards":1
> "nrtReplicas":1
> "tlogReplicas":1
> }
> {code}
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]