Jatin Kumar
03/06/2025, 10:48 AM2025/03/06 07:46:03.118 INFO [HelixInstanceDataManager] [HelixTaskExecutor-message_handle_thread_20] Creating table data manager for table: captain_availability_time_REALTIME
2025/03/06 07:46:03.120 INFO [BaseTableDataManager] [HelixTaskExecutor-message_handle_thread_20] Initializing table data manager for table: captain_availability_time_REALTIME
2025/03/06 07:46:03.120 INFO [SegmentBuildTimeLeaseExtender] [HelixTaskExecutor-message_handle_thread_20] Created lease extender for table: captain_availability_time_REALTIME
2025/03/06 07:46:03.121 INFO [captain_availability_time_REALTIME-RealtimeTableDataManager] [HelixTaskExecutor-message_handle_thread_20] Initialized table data manager with data directory: /var/pinot/server/data/index/captain_availability_time_REALTIME
2025/03/06 07:46:03.121 INFO [captain_availability_time_REALTIME-RealtimeTableDataManager] [HelixTaskExecutor-message_handle_thread_20] Starting table data manager
2025/03/06 07:46:03.121 INFO [captain_availability_time_REALTIME-RealtimeTableDataManager] [HelixTaskExecutor-message_handle_thread_20] Started table data manager
2025/03/06 07:46:03.121 INFO [HelixInstanceDataManager] [HelixTaskExecutor-message_handle_thread_20] Created table data manager for table: captain_availability_time_REALTIME
2025/03/06 07:46:03.121 INFO [captain_availability_time_REALTIME-RealtimeTableDataManager] [HelixTaskExecutor-message_handle_thread_20] Adding CONSUMING segment: captain_availability_time__2__0__20250306T0746Z
2025/03/06 07:46:03.125 INFO [captain_availability_time_REALTIME-RealtimeTableDataManager] [HelixTaskExecutor-message_handle_thread_20] Adding new CONSUMING segment: captain_availability_time__2__0__20250306T0746Z
Can you please suggest? i have gone through all documents but didn’t find anything
here is my streaming config
"streamIngestionConfig": {
"streamConfigMaps": [
{
"streamType": "kafka",
"stream.kafka.consumer.type": "lowlevel",
"stream.kafka.consumer.prop.auto.offset.reset": "smallest",
"stream.kafka.consumer.factory.class.name": "org.apache.pinot.plugin.stream.kafka20.KafkaConsumerFactory",
"stream.kafka.topic.name": "bdp__prod_nrt_captain_availability_time",
"stream.kafka.decoder.class.name": "org.apache.pinot.plugin.inputformat.avro.confluent.KafkaConfluentSchemaRegistryAvroMessageDecoder",
"stream.kafka.schema.registry.url": "http://<>:8081",
"stream.kafka.decoder.prop.schema.registry.rest.url": "http://<>:8081",
"stream.kafka.broker.list": "<>:9094",
"realtime.segment.flush.threshold.rows": "0",
"realtime.segment.flush.threshold.time": "1h",
"realtime.segment.flush.threshold.segment.size": "1G",
"realtime.segment.serverUploadToDeepStore": true,
"bootstrap.servers": "<>:9094",
"group.id": "bdp__captain_availability_time__pinot_0",
"sasl.jaas.config": "org.apache.pinot.shaded.org.apache.kafka.common.security.scram.ScramLoginModule required username=\"<>\" password=\"<>\";",
"sasl.mechanism": "SCRAM-SHA-512",
"security.protocol": "SASL_PLAINTEXT"
}
],
"columnMajorSegmentBuilderEnabled": true,
"trackFilteredMessageOffsets": false
}Jatin Kumar
03/06/2025, 11:17 AMJatin Kumar
03/06/2025, 12:49 PMManish
03/06/2025, 2:27 PMcaptain_availability_time__2__0__20250306T0746Z ? Does this show up in the tableJatin Kumar
03/06/2025, 2:28 PMnull:
3 segments unavailable: [captain_availability_time__2__0__20250306T0854Z, captain_availability_time__1__0__20250306T0854Z, captain_availability_time__0__0__20250306T0854Z]Jatin Kumar
03/06/2025, 2:28 PMJatin Kumar
03/06/2025, 2:29 PMManish
03/06/2025, 2:30 PMManish
03/06/2025, 2:31 PMJatin Kumar
03/06/2025, 2:31 PMJatin Kumar
03/06/2025, 2:33 PM"mapFields": {
"captain_availability_time__0__0__20250306T1432Z": {
"Server_pinot-prod-server-4.pinot-prod-server-headless.pinot.svc.cluster.local_8098": "ERROR",
"Server_pinot-prod-server-5.pinot-prod-server-headless.pinot.svc.cluster.local_8098": "ERROR"
},
"captain_availability_time__1__0__20250306T1432Z": {
"Server_pinot-prod-server-0.pinot-prod-server-headless.pinot.svc.cluster.local_8098": "ERROR",
"Server_pinot-prod-server-1.pinot-prod-server-headless.pinot.svc.cluster.local_8098": "ERROR"
},
"captain_availability_time__2__0__20250306T1432Z": {
"Server_pinot-prod-server-2.pinot-prod-server-headless.pinot.svc.cluster.local_8098": "ERROR",
"Server_pinot-prod-server-3.pinot-prod-server-headless.pinot.svc.cluster.local_8098": "ERROR"
}
ideal state
"mapFields": {
"captain_availability_time__0__0__20250306T1432Z": {
"Server_pinot-prod-server-4.pinot-prod-server-headless.pinot.svc.cluster.local_8098": "CONSUMING",
"Server_pinot-prod-server-5.pinot-prod-server-headless.pinot.svc.cluster.local_8098": "CONSUMING"
},
"captain_availability_time__1__0__20250306T1432Z": {
"Server_pinot-prod-server-0.pinot-prod-server-headless.pinot.svc.cluster.local_8098": "CONSUMING",
"Server_pinot-prod-server-1.pinot-prod-server-headless.pinot.svc.cluster.local_8098": "CONSUMING"
},
"captain_availability_time__2__0__20250306T1432Z": {
"Server_pinot-prod-server-2.pinot-prod-server-headless.pinot.svc.cluster.local_8098": "CONSUMING",
"Server_pinot-prod-server-3.pinot-prod-server-headless.pinot.svc.cluster.local_8098": "CONSUMING"
}
},Jatin Kumar
03/06/2025, 2:34 PMJatin Kumar
03/06/2025, 2:34 PMJatin Kumar
03/06/2025, 2:37 PM"2025-03-06 14:00:00"
{
"name": "time_window_start",
"dataType": "TIMESTAMP",
"notNull": false,
"format": "TIMESTAMP",
"granularity": "1:MILLISECONDS"
},
{
"name": "time_window_end",
"dataType": "TIMESTAMP",
"notNull": false,
"format": "TIMESTAMP",
"granularity": "1:MILLISECONDS"
},
{
"name": "last_ping_time",
"dataType": "LONG",
"notNull": false,
"format": "1:MILLISECONDS:SIMPLE_DATE_FORMAT:yyyy-MM-dd HH:mm:ss",
"granularity": "1:MILLISECONDS"
}Jatin Kumar
03/06/2025, 3:12 PMManish
03/06/2025, 4:07 PMJatin Kumar
03/06/2025, 6:14 PM"upsertConfig": {
"mode": "FULL",
"enableSnapshot": true,
"enablePreload": true,
"metadataTTL": 86400,
"consistencyMode": "SNAPSHOT"
},
"task": {
"taskTypeConfigsMap": {
"UpsertCompactionTask": {
"schedule": "0 0 * * * ?",
"bufferTimePeriod": "0d",
"invalidRecordsThresholdPercent": "30",
"invalidRecordsThresholdCount": "10000",
"tableMaxNumTasks": "40",
"validDocIdsType": "SNAPSHOT"
}
}
},
"routing": {
"instanceSelectorType": "strictReplicaGroup"
},Jatin Kumar
03/07/2025, 2:03 PMJatin Kumar
03/07/2025, 4:18 PM"enablePreload": true,
to enable it i need to enable this property at server
pinot.server.instance.max.segment.preload.threadsMayank
Manish
03/10/2025, 3:03 AM