Prashant Pandey
01/20/2022, 6:21 AMMayank
Prashant Pandey
01/20/2022, 6:48 AMPrashant Pandey
01/20/2022, 7:11 AMInstance controller-2.controller-headless.pinot.svc.cluster.local_9000 is not leader of cluster pinot-de due to current session 100002f971b0002 does not match leader session 3000524ba270004Prashant Pandey
01/20/2022, 7:12 AMSubbu Subramaniam
01/20/2022, 5:35 PMPrashant Pandey
01/20/2022, 5:38 PMPrashant Pandey
01/20/2022, 5:39 PMSubbu Subramaniam
01/20/2022, 5:46 PMPrashant Pandey
01/21/2022, 2:11 PMWhat are the sizes of your segments, have you run the provisioner helping to size it appropriately?We have around 16k segments with an uncompressed size of 7.2T. So around 450M.
have you run the provisioner helping to size it appropriately?@Tanmay Movva Can you answer this please?
Lastly, your last segment in partition 6 was created on 20220119T1533Z. If yuo can please look in the logs around this time in the controller (info, warn. error, whatever) you may get a clue.We have three controllers. Here’s the most pertinent logs I see at that time: controller-0:
2022/01/19 15:33:18.991 WARN [ZKHelixManager] [pool-1-thread-5] Instance controller-0.controller-headless.pinot.svc.cluster.local_9000 is not leader of cluster pinot-prod due to current session 200040e14e70029 does not match leader session 200040e14e7001f",
-----------------------------------------------
2022/01/19 15:33:23.768 WARN [ConsumerConfig] [grizzly-http-server-1] The configuration 'realtime.segment.flush.threshold.rows' was supplied but isn't a known config.",
-----------------------------------------------
"2022/01/19 15:33:23.768 WARN [ConsumerConfig] [grizzly-http-server-1] The configuration 'stream.kafka.decoder.prop.schema.registry.url' was supplied but isn't a known config.",
controller-1:
Surprisingly, there are no logs from this controller at that time. At least not present in our system.
controller-2:
"2022/01/19 15:33:00.332 WARN [TopStateHandoffReportStage] [HelixController-pipeline-default-pinot-prod-(577ee9ef_DEFAULT)] Event 577ee9ef_DEFAULT : Cannot confirm top state missing start time. Use the current system time as the start time.",
-----------------------------------------------
"2022/01/19 15:33:01.506 WARN [TopStateHandoffReportStage] [HelixController-pipeline-default-pinot-prod-(a000d206_DEFAULT)] Event a000d206_DEFAULT : Cannot confirm top state missing start time. Use the current system time as the start time.",
-----------------------------------------------
"2022/01/19 15:33:23.709 WARN [ZkBaseDataAccessor] [HelixController-pipeline-task-pinot-prod-(761a1878_TASK)] Fail to read record for paths: {/pinot-prod/INSTANCES/Broker_broker-2.broker-headless.pinot.svc.cluster.local_8099/MESSAGES/c9a14adc-0d79-4e26-bfa6-ac61b6e86534=-101}",
-----------------------------------------------
"2022/01/19 15:33:27.281 WARN [ZkBaseDataAccessor] [HelixController-pipeline-default-pinot-prod-(19f6e886_DEFAULT)] Fail to read record for paths: {/pinot-prod/INSTANCES/Broker_broker-0.broker-headless.pinot.svc.cluster.local_8099/MESSAGES/113f8b3f-97da-48fc-becd-a5b5eb097306=-101}",Prashant Pandey
01/21/2022, 2:17 PMDid you restart your controller around the time mentioned above?I can’t say this definitely, but I can presume not because we didn’t have any issues with Pinot at that time, so there wouldn’t have been any reason to restart.
Subbu Subramaniam
01/21/2022, 5:39 PMPrashant Pandey
01/29/2022, 3:05 PM[0.000s][warning][gc] -Xloggc is deprecated. Will use -Xlog:gc:/opt/pinot/gc-pinot-server.log instead.
SLF4J: Class path contains multiple SLF4J bindings.
SLF4J: Found binding in [jar:file:/opt/pinot/lib/pinot-all-0.9.1-jar-with-dependencies.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: Found binding in [jar:file:/opt/pinot/plugins/pinot-input-format/pinot-parquet/pinot-parquet-0.9.1-shaded.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: Found binding in [jar:file:/opt/pinot/plugins/pinot-metrics/pinot-yammer/pinot-yammer-0.9.1-shaded.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: Found binding in [jar:file:/opt/pinot/plugins/pinot-metrics/pinot-dropwizard/pinot-dropwizard-0.9.1-shaded.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: Found binding in [jar:file:/opt/pinot/plugins/pinot-file-system/pinot-s3/pinot-s3-0.9.1-shaded.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: Found binding in [jar:file:/opt/pinot/plugins/pinot-environment/pinot-azure/pinot-azure-0.9.1-shaded.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: See <http://www.slf4j.org/codes.html#multiple_bindings> for an explanation.
SLF4J: Actual binding is of type [org.apache.logging.slf4j.Log4jLoggerFactory]
WARNING: sun.reflect.Reflection.getCallerClass is not supported. This will impact performance.
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by org.codehaus.groovy.reflection.CachedClass (file:/opt/pinot/lib/pinot-all-0.9.1-jar-with-dependencies.jar) to method java.lang.Object.finalize()
WARNING: Please consider reporting this to the maintainers of org.codehaus.groovy.reflection.CachedClass
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
WARNING: All illegal access operations will be denied in a future release
2022/01/20 10:01:48.592 WARN [PinotMetricUtils] [Start a Pinot [SERVER]] More than one PinotMetricsFactory was found: [class org.apache.pinot.plugin.metrics.dropwizard.DropwizardMetricsFactory, class org.apache.pinot.plugin.metrics.yammer.YammerMetricsFactory]
2022/01/20 10:01:49.469 WARN [ParticipantHealthReportTask] [Start a Pinot [SERVER]] ParticipantHealthReportTimerTask already stopped
2022/01/20 10:01:49.696 WARN [ParticipantManager] [Start a Pinot [SERVER]] found another instance with same instanceName: Server_server-realtime-5.server-realtime-headless.pinot.svc.cluster.local_8098 in cluster pinot-prod
2022/01/20 10:02:24.844 WARN [CallbackHandler] [Start a Pinot [SERVER]] Callback handler received event in wrong order. Listener: org.apache.helix.messaging.handling.HelixTaskExecutor@791de65b, path: /pinot-prod/INSTANCES/Server_server-realtime-5.server-realtime-headless.pinot.svc.cluster.local_8098/MESSAGES, expected types: [CALLBACK, FINALIZE] but was INIT
Jan 20, 2022 10:02:27 AM org.glassfish.grizzly.http.server.NetworkListener start
INFO: Started listener bound to [0.0.0.0:8097]
Jan 20, 2022 10:02:27 AM org.glassfish.grizzly.http.server.HttpServer start
INFO: [HttpServer] Started.
Nothing after this! We have a total of 32 partitions so ideally they should be consuming as well? This might be a different issue, but looks like I’ll need to sort this out first before adding any realtime servers. Thanks 🙂Mayank
Subbu Subramaniam
01/29/2022, 4:49 PMPrashant Pandey
02/04/2022, 10:55 AMpinot.server.instance.realtime.alloc.offheap=true)
3. The CPU utilization was less than 50%.
So I am going to be adding more memory to my pods. But I am trying to understand why you said that we definitely need more realtime servers. How did you reach that conclusion?Prashant Pandey
02/04/2022, 10:55 AMmake sure these servers are tagged correctlyThis was the issue, this was fixed. Thanks!
Subbu Subramaniam
02/04/2022, 5:58 PMPrashant Pandey
02/09/2022, 3:50 PMPrashant Pandey
03/08/2022, 7:10 AMnumHosts --> 6 |8 |10 |12 |
numHours
1 --------> 11.63G/11.63G |11.63G/11.63G |11.63G/11.63G |5.81G/5.81G |
2 --------> 12.78G/12.78G |12.78G/12.78G |12.78G/12.78G |6.39G/6.39G |
numHosts --> 6 |8 |10 |12 |
numHours
1 --------> 2.57G |2.57G |2.57G |2.57G |
2 --------> 5.15G |5.15G |5.15G |5.15G |
numHosts --> 6 |8 |10 |12 |
numHours
1 --------> 6.48G |6.48G |6.48G |3.24G |
2 --------> 12.78G |12.78G |12.78G |6.39G |
numHosts --> 6 |8 |10 |12 |
numHours
1 --------> 4 |4 |4 |2 |
2 --------> 2 |2 |2 |1 |Subbu Subramaniam
03/08/2022, 4:52 PMSubbu Subramaniam
03/08/2022, 4:53 PMSubbu Subramaniam
03/08/2022, 4:54 PM