Default single-server settings spew warnings in coordinator-overlord log
Using the default settings provided by singler-server/medium, the coordinator-overlord log is filled with warnings such as:
2020-03-03T14:00:07,794 WARN [Coordinator-Exec--0] org.apache.druid.server.coordinator.rules.LoadRule - No available [_default_tier] servers or node capacity to assign segment[MySegment_2019-12-22T00:00:00.000Z_2019-12-23T00:00:00.000Z_2019-12-22T08:20:07.627Z_21]! Expected Replicants[2]
It would appear that only one historical node is created but the expected replicants is set to 2. As these are the defaults, I would expect two historicals by default or replicants set to 1.
Affected Version
This was found in apache-druid-0.17.0
Description
-
Cluster size single-server/medium
-
Configurations in use Default configuration that ships with druid-0.17.0
-
Steps to reproduce the problem Use Load Data from Unified Console GUI and load data from anywhere
After setting Replicants to 1, I get a new set of warnings in the logs:
2020-03-03T14:27:57,430 WARN [Coordinator-Exec--0] org.apache.druid.server.coordinator.helper.DruidCoordinatorRuleRunner - Uh... I have no servers. Not assigning anything... 2020-03-03T14:28:02,656 WARN [Coordinator-Exec--0] org.apache.druid.server.coordinator.helper.DruidCoordinatorRuleRunner - Uh... I have no servers. Not assigning anything... 2020-03-03T14:28:07,758 WARN [Coordinator-Exec--0] org.apache.druid.server.coordinator.helper.DruidCoordinatorRuleRunner - Uh... I have no servers. Not assigning anything... 2020-03-03T14:28:12,860 WARN [Coordinator-Exec--0] org.apache.druid.server.coordinator.helper.DruidCoordinatorRuleRunner - Uh... I have no servers. Not assigning anything... 2020-03-03T14:28:17,945 WARN [Coordinator-Exec--0] org.apache.druid.server.coordinator.helper.DruidCoordinatorRuleRunner - Uh... I have no servers. Not assigning anything... 2020-03-03T14:28:23,035 WARN [Coordinator-Exec--0] org.apache.druid.server.coordinator.helper.DruidCoordinatorRuleRunner - Uh... I have no servers. Not assigning anything... 2020-03-03T14:28:28,119 WARN [Coordinator-Exec--0] org.apache.druid.server.coordinator.helper.DruidCoordinatorRuleRunner - Uh... I have no servers. Not assigning anything... 2020-03-03T14:28:33,214 WARN [Coordinator-Exec--0] org.apache.druid.server.coordinator.helper.DruidCoordinatorRuleRunner - Uh... I have no servers. Not assigning anything... 2020-03-03T14:29:03,175 WARN [Coordinator-Exec--0] org.apache.druid.server.coordinator.helper.DruidCoordinatorBalancer - [_default_tier]: insufficient active servers. Cannot balance. 2020-03-03T14:29:08,545 WARN [Coordinator-Exec--0] org.apache.druid.server.coordinator.helper.DruidCoordinatorBalancer - [_default_tier]: insufficient active servers. Cannot balance. 2020-03-03T14:29:13,912 WARN [Coordinator-Exec--0] org.apache.druid.server.coordinator.helper.DruidCoordinatorBalancer - [_default_tier]: insufficient active servers. Cannot balance. 2020-03-03T14:29:19,253 WARN [Coordinator-Exec--0] org.apache.druid.server.coordinator.helper.DruidCoordinatorBalancer - [_default_tier]: insufficient active servers. Cannot balance. 2020-03-03T14:29:24,531 WARN [Coordinator-Exec--0] org.apache.druid.server.coordinator.helper.DruidCoordinatorBalancer - [_default_tier]: insufficient active servers. Cannot balance. 2020-03-03T14:29:29,823 WARN [Coordinator-Exec--0] org.apache.druid.server.coordinator.helper.DruidCoordinatorBalancer - [_default_tier]: insufficient active servers. Cannot balance. 2020-03-03T14:29:35,090 WARN [Coordinator-Exec--0] org.apache.druid.server.coordinator.helper.DruidCoordinatorBalancer - [_default_tier]: insufficient active servers. Cannot balance. 2020-03-03T14:29:40,362 WARN [Coordinator-Exec--0] org.apache.druid.server.coordinator.helper.DruidCoordinatorBalancer - [_default_tier]: insufficient active servers. Cannot balance. 2020-03-03T14:29:45,596 WARN [Coordinator-Exec--0] org.apache.druid.server.coordinator.helper.DruidCoordinatorBalancer - [_default_tier]: insufficient active servers. Cannot balance. 2020-03-03T14:29:50,840 WARN [Coordinator-Exec--0] org.apache.druid.server.coordinator.helper.DruidCoordinatorBalancer - [_default_tier]: insufficient active servers. Cannot balance.
This issue has been marked as stale due to 280 days of inactivity. It will be closed in 4 weeks if no further activity occurs. If this issue is still relevant, please simply write any comment. Even if closed, you can still revive the issue at any time or discuss it on the [email protected] list. Thank you for your contributions.
Same issue. When you have a single server in a Tier configured with a single replica you still get the warning about insufficient active servers
This issue is no longer marked as stale.
On druid 0.23.0 with a single Historical and after setting up replicants to 1 (on retention rules of every datasource) I just keep getting a single warn message for each coordinator cycle:
2022-10-14T14:15:48,376 WARN [Coordinator-Exec--0] org.apache.druid.server.coordinator.duty.BalanceSegments - [_default_tier]: insufficient active servers. Cannot balance.
This issue has been marked as stale due to 280 days of inactivity. It will be closed in 4 weeks if no further activity occurs. If this issue is still relevant, please simply write any comment. Even if closed, you can still revive the issue at any time or discuss it on the [email protected] list. Thank you for your contributions.
This issue has been closed due to lack of activity. If you think that is incorrect, or the issue requires additional review, you can revive the issue at any time.