[
https://issues.apache.org/jira/browse/SOLR-12181?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Steve Rowe reopened SOLR-12181:
-------------------------------
Reopening because {{IndexSizeTriggerTest}} is failing pretty regularly on
Jenkins, e.g. from
[https://jenkins.thetaphi.de/job/Lucene-Solr-master-Windows/7267/]:
{noformat}
[junit4] 2> NOTE: reproduce with: ant test
-Dtestcase=IndexSizeTriggerTest -Dtests.method=testMergeIntegration
-Dtests.seed=FE63E1B6D4971EC0 -Dtests.slow=true -Dtests.locale=smn
-Dtests.timezone=Antarctica/Mawson -Dtests.asserts=true
-Dtests.file.encoding=UTF-8
[junit4] ERROR 0.19s J0 | IndexSizeTriggerTest.testMergeIntegration <<<
[junit4] > Throwable #1: java.io.IOException:
java.util.concurrent.ExecutionException: java.lang.NullPointerException
[junit4] > at
__randomizedtesting.SeedInfo.seed([FE63E1B6D4971EC0:ADDAA30636868B3A]:0)
[junit4] > at
org.apache.solr.cloud.autoscaling.sim.SimCloudManager.request(SimCloudManager.java:540)
[junit4] > at
org.apache.solr.cloud.autoscaling.sim.SimCloudManager$1.request(SimCloudManager.java:414)
[junit4] > at
org.apache.solr.client.solrj.SolrRequest.process(SolrRequest.java:194)
[junit4] > at
org.apache.solr.client.solrj.SolrClient.deleteById(SolrClient.java:753)
[junit4] > at
org.apache.solr.client.solrj.SolrClient.deleteById(SolrClient.java:716)
[junit4] > at
org.apache.solr.cloud.autoscaling.IndexSizeTriggerTest.testMergeIntegration(IndexSizeTriggerTest.java:394)
[junit4] > at
java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[junit4] > at
java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
[junit4] > at
java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
[junit4] > at
java.base/java.lang.reflect.Method.invoke(Method.java:564)
[junit4] > at java.base/java.lang.Thread.run(Thread.java:844)
[junit4] > Caused by: java.util.concurrent.ExecutionException:
java.lang.NullPointerException
[junit4] > at
java.base/java.util.concurrent.FutureTask.report(FutureTask.java:122)
[junit4] > at
java.base/java.util.concurrent.FutureTask.get(FutureTask.java:191)
[junit4] > at
org.apache.solr.cloud.autoscaling.sim.SimCloudManager.request(SimCloudManager.java:538)
[junit4] > ... 43 more
[junit4] > Caused by: java.lang.NullPointerException
[junit4] > at
org.apache.solr.cloud.autoscaling.sim.SimClusterStateProvider.simUpdate(SimClusterStateProvider.java:1052)
[junit4] > at
org.apache.solr.cloud.autoscaling.sim.SimCloudManager.simHandleSolrRequest(SimCloudManager.java:592)
[junit4] > at
org.apache.solr.cloud.autoscaling.sim.SimCloudManager.lambda$request$12(SimCloudManager.java:537)
[junit4] > at
java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
[junit4] > at
org.apache.solr.common.util.ExecutorUtil$MDCAwareThreadPoolExecutor.lambda$execute$0(ExecutorUtil.java:192)
[junit4] > at
java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1135)
[junit4] > at
java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
[junit4] > ... 1 more
{noformat}
and from
[http://jenkins.sarowe.net/job/Lucene-Solr-reproduce-failed-tests/2192/]:
{noformat}
[junit4] 2> NOTE: reproduce with: ant test
-Dtestcase=IndexSizeTriggerTest -Dtests.method=testTrigger
-Dtests.seed=3C32A492BBE03B99 -Dtests.slow=true -Dtests.badapples=true
-Dtests.locale=sv-SE -Dtests.timezone=Pacific/Chatham -Dtests.asserts=true
-Dtests.file.encoding=ISO-8859-1
[junit4] FAILURE 0.41s J10 | IndexSizeTriggerTest.testTrigger <<<
[junit4] > Throwable #1: java.lang.AssertionError: waitFor not elapsed
but produced an event
[junit4] > at
__randomizedtesting.SeedInfo.seed([3C32A492BBE03B99:5FF99210222F48B4]:0)
[junit4] > at
org.apache.solr.cloud.autoscaling.IndexSizeTriggerTest.testTrigger(IndexSizeTriggerTest.java:177)
[junit4] > at java.lang.Thread.run(Thread.java:748)
{noformat}
and
{noformat}
[junit4] 2> NOTE: reproduce with: ant test
-Dtestcase=IndexSizeTriggerTest -Dtests.method=testSplitIntegration
-Dtests.seed=3C32A492BBE03B99 -Dtests.slow=true -Dtests.badapples=true
-Dtests.locale=sv-SE -Dtests.timezone=Pacific/Chatham -Dtests.asserts=true
-Dtests.file.encoding=ISO-8859-1
[junit4] ERROR 0.82s J12 | IndexSizeTriggerTest.testSplitIntegration <<<
[junit4] > Throwable #1: java.util.concurrent.TimeoutException
[junit4] > at
__randomizedtesting.SeedInfo.seed([3C32A492BBE03B99:5BC1DD2941FF267]:0)
[junit4] > at
org.apache.solr.cloud.CloudTestUtils.waitForState(CloudTestUtils.java:109)
[junit4] > at
org.apache.solr.cloud.autoscaling.IndexSizeTriggerTest.testSplitIntegration(IndexSizeTriggerTest.java:296)
[junit4] > at java.lang.Thread.run(Thread.java:748)
{noformat}
and from [https://jenkins.thetaphi.de/job/Lucene-Solr-master-Linux/21809/]:
{noformat}
[junit4] 2> NOTE: reproduce with: ant test
-Dtestcase=IndexSizeTriggerTest -Dtests.method=testMixedBounds
-Dtests.seed=85E6B10D5FA50C7A -Dtests.multiplier=3 -Dtests.slow=true
-Dtests.locale=ne-IN -Dtests.timezone=America/Scoresbysund -Dtests.asserts=true
-Dtests.file.encoding=UTF-8
[junit4] FAILURE 115s J2 | IndexSizeTriggerTest.testMixedBounds <<<
[junit4] > Throwable #1: java.lang.AssertionError: failed to create
testMixedBounds_collection
[junit4] > Live Nodes: [127.0.0.1:34163_solr, 127.0.0.1:35799_solr]
[junit4] > Last available state:
DocCollection(testMixedBounds_collection//collections/testMixedBounds_collection/state.json/20)={
[junit4] > "pullReplicas":"0",
[junit4] > "replicationFactor":"2",
[junit4] > "shards":{
[junit4] > "shard1":{
[junit4] > "range":"80000000-ffffffff",
[junit4] > "state":"active",
[junit4] > "replicas":{
[junit4] > "core_node3":{
[junit4] >
"core":"testMixedBounds_collection_shard1_replica_n1",
[junit4] > "base_url":"https://127.0.0.1:35799/solr",
[junit4] > "node_name":"127.0.0.1:35799_solr",
[junit4] > "state":"active",
[junit4] > "type":"NRT"},
[junit4] > "core_node5":{
[junit4] >
"core":"testMixedBounds_collection_shard1_replica_n2",
[junit4] > "base_url":"https://127.0.0.1:34163/solr",
[junit4] > "node_name":"127.0.0.1:34163_solr",
[junit4] > "state":"active",
[junit4] > "type":"NRT",
[junit4] > "leader":"true"}}},
[junit4] > "shard2":{
[junit4] > "range":"0-7fffffff",
[junit4] > "state":"inactive",
[junit4] > "replicas":{
[junit4] > "core_node7":{
[junit4] >
"core":"testMixedBounds_collection_shard2_replica_n4",
[junit4] > "base_url":"https://127.0.0.1:35799/solr",
[junit4] > "node_name":"127.0.0.1:35799_solr",
[junit4] > "state":"active",
[junit4] > "type":"NRT",
[junit4] > "leader":"true"},
[junit4] > "core_node8":{
[junit4] >
"core":"testMixedBounds_collection_shard2_replica_n6",
[junit4] > "base_url":"https://127.0.0.1:34163/solr",
[junit4] > "node_name":"127.0.0.1:34163_solr",
[junit4] > "state":"active",
[junit4] > "type":"NRT"}},
[junit4] > "stateTimestamp":"1523534322683359202"},
[junit4] > "shard2_0":{
[junit4] > "range":"0-3fffffff",
[junit4] > "state":"active",
[junit4] > "replicas":{
[junit4] > "core_node11":{
[junit4] >
"core":"testMixedBounds_collection_shard2_0_replica_n9",
[junit4] > "base_url":"https://127.0.0.1:35799/solr",
[junit4] > "node_name":"127.0.0.1:35799_solr",
[junit4] > "state":"active",
[junit4] > "type":"NRT",
[junit4] > "leader":"true"},
[junit4] > "core_node13":{
[junit4] >
"core":"testMixedBounds_collection_shard2_0_replica0",
[junit4] > "base_url":"https://127.0.0.1:34163/solr",
[junit4] > "node_name":"127.0.0.1:34163_solr",
[junit4] > "state":"active",
[junit4] > "type":"NRT"}},
[junit4] > "stateTimestamp":"1523534322683402924"},
[junit4] > "shard2_1":{
[junit4] > "range":"40000000-7fffffff",
[junit4] > "state":"active",
[junit4] > "replicas":{
[junit4] > "core_node12":{
[junit4] >
"core":"testMixedBounds_collection_shard2_1_replica_n10",
[junit4] > "base_url":"https://127.0.0.1:35799/solr",
[junit4] > "node_name":"127.0.0.1:35799_solr",
[junit4] > "state":"active",
[junit4] > "type":"NRT",
[junit4] > "leader":"true"},
[junit4] > "core_node14":{
[junit4] >
"core":"testMixedBounds_collection_shard2_1_replica0",
[junit4] > "base_url":"https://127.0.0.1:35799/solr",
[junit4] > "node_name":"127.0.0.1:35799_solr",
[junit4] > "state":"active",
[junit4] > "type":"NRT"}},
[junit4] > "stateTimestamp":"1523534322683382071"}},
[junit4] > "router":{"name":"compositeId"},
[junit4] > "maxShardsPerNode":"2",
[junit4] > "autoAddReplicas":"false",
[junit4] > "nrtReplicas":"2",
[junit4] > "tlogReplicas":"0"}
[junit4] > at
__randomizedtesting.SeedInfo.seed([85E6B10D5FA50C7A:8F650EA0121E0720]:0)
[junit4] > at
org.apache.solr.cloud.CloudTestUtils.waitForState(CloudTestUtils.java:69)
[junit4] > at
org.apache.solr.cloud.autoscaling.IndexSizeTriggerTest.testMixedBounds(IndexSizeTriggerTest.java:537)
[junit4] > at
java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[junit4] > at
java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
[junit4] > at
java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
[junit4] > at
java.base/java.lang.reflect.Method.invoke(Method.java:564)
[junit4] > at java.base/java.lang.Thread.run(Thread.java:844)
[junit4] > Caused by: java.util.concurrent.TimeoutException
[junit4] > at
org.apache.solr.cloud.CloudTestUtils.waitForState(CloudTestUtils.java:109)
[junit4] > at
org.apache.solr.cloud.CloudTestUtils.waitForState(CloudTestUtils.java:63)
[junit4] > ... 39 more
{noformat}
> Add trigger based on document count
> -----------------------------------
>
> Key: SOLR-12181
> URL: https://issues.apache.org/jira/browse/SOLR-12181
> Project: Solr
> Issue Type: Sub-task
> Security Level: Public(Default Security Level. Issues are Public)
> Components: AutoScaling
> Affects Versions: master (8.0)
> Reporter: Andrzej Bialecki
> Assignee: Andrzej Bialecki
> Priority: Major
> Fix For: 7.4, master (8.0)
>
> Attachments: SOLR-12181.patch
>
>
> This may turn out to be as simple as using a {{MetricTrigger}} but it's
> likely this will require some specialization, and we may want to add this
> type of trigger anyway for convenience.
> The two control actions associated with this trigger will be SPLITSHARD and
> (yet nonexistent) MERGESHARD.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]