-
Notifications
You must be signed in to change notification settings - Fork 607
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
INFO Skipping proposal precomputing because load monitor does not have enough snapshots. (com.linkedin.kafka.cruisecontrol.analyzer.GoalOptimizer) #1602
Comments
"... load monitor does not have enough snapshots" -> It is likely that your Cruise Control instance fails to collect metrics. There should be some relevant messages on (1) Cruise control logs and/or (2) Kafka logs (I assume you are using Cruise Control Metrics reporter) -- can you please share those? |
i am not able to gather any metrics from the brokers : able to gather this [root@node3 cruise-control]# cccli -a 192.168.1.8:9090 kafka_cluster_state Brokers: LogDirs of brokers with replicas: Under Replicated, Offline, and Under MinIsr Partitions: |
Your broker logs show no indication of being configured properly to work with CruiseControlMetrics reporter. Please follow the steps documented in the Quick Start. |
@efeg : is it necessary that the broker should be on the same java version as cruise control as the section of the quick start that says "Modify Kafka server configuration to set metric.reporters to com.linkedin.kafka.cruisecontrol.metricsreporter.CruiseControlMetricsReporter. For Apache Kafka, server properties are located at ./config/server.properties." gives exception |
@efeg: any operation that i am trying to do except to get the state from cruise control fails |
That is correct. To use the latest version of
This is expected because in your current setup there is no metric collection, which CC can use to create windows. Hope it helps! |
i'm trying to solve this problem and in my case i update my java version to java 11 and it solved |
i am unable to open a UI CC and none of the command is successful for me other that /state command
USER TASK ID CLIENT ADDRESS START TIME STATUS REQUEST URL
16b57bd6-1247-4ecf-a3da-a09061a27401 192.168.1.3 2021-06-30T14:01:23Z Completed GET /kafkacruisecontrol/kafka_cluster_state
ff4b9be8-23d2-4f59-adc4-011989827b81 192.168.1.3 2021-06-30T14:11:24Z CompletedWithError GET /kafkacruisecontrol/proposals?allow_capacity_estimation=False
26b20beb-5e50-4300-bd48-23094f662861 192.168.1.3 2021-06-30T14:15:01Z CompletedWithError GET /kafkacruisecontrol/proposals
e6a306f7-5ab0-43ec-b955-747f3427f63e 192.168.1.3 2021-06-30T14:19:12Z CompletedWithError GET /kafkacruisecontrol/load
a25abd53-99c4-47b1-a1f1-55bac1c91179 192.168.1.3 2021-06-30T14:07:46Z Completed GET /kafkacruisecontrol/state
32108ef4-d754-45e2-8d76-abca4f1aad05 192.168.1.3 2021-06-30T14:18:28Z Completed GET /kafkacruisecontrol/state
680f426e-688b-4fd3-9d21-337d0014784f 192.168.1.3 2021-06-30T14:12:17Z CompletedWithError POST /kafkacruisecontrol/rebalance?allow_capacity_estimation=False&dryrun=False [root@node3 cruise-control]#
The text was updated successfully, but these errors were encountered: