Hi Pinot team. I have a three node pinot cluster s...
# troubleshooting
s
Hi Pinot team. I have a three node pinot cluster setup, where each node hosts a controller,broker and server process.I have configured hdfs as my deep store and I am getting the following issue while creating a kafka table. Ingestion of records occurs but segments are not committed and no creation of new segments. The first segment is permanantly in CONSUMING state.Only the threshold number of rows( 20 records if threshold rows is set to 20) is getting ingested into my table.I am getting the followng logs
COMMITTER_UPLOADING:Aborting FSM because winner is reporting a segment while it is also committing instance=Server_172.**.***.***_8098 offset=10 now=1741199330473
2025/03/05 23:58:50.473 INFO [SegmentCompletionFSM_Stream7__0__0__20250304T1439Z] [grizzly-http-server-13] ABORTED:HOLD for instance=Server_172.**.***.***_8098offset=10
2025/03/05 23:58:50.473 INFO [SegmentCompletionManager] [grizzly-http-server-13] Removing FSM (if present):{Stream7__0__0__20250304T1439Z,ABORTED,1741199327460,Server_172.**.***.***_8098,http://controller.vip.host:9000}
2025/03/05 23:58:50.473 INFO [LLCSegmentCompletionHandlers] [grizzly-http-server-13] Response to segmentConsumed for segment:Stream7__0__0__20250304T1439Z is :{"status":"HOLD","buildTimeSec":-1,"streamPartitionMsgOffset":"10","isSplitCommitType":true}
does anyone have any idea on why I am getting this error?
m
Can you check the debug api, it should bubble up any errors, likely segment commit is failing.
d
Can you explain us in detail about the debug api in realtime segments @Mayank?
Is there any document ? For realtime segment creation also, it involves many stages as we checked through pinot-1.2v code. Kindly share us the detailed document for realtime segment creation with all steps and stages.
s
looking into the debug api, i am getting the following response.
"numSegments" : 1,
"numServers" : 3,
"numBrokers" : 3,
"segmentDebugInfos" : [ ],
"serverDebugInfos" : [ ],
"brokerDebugInfos" : [ ],
"tableSize" : {
"reportedSize" : "-1 bytes",
"estimatedSize" : "-1 bytes"
},
"ingestionStatus" : {
"ingestionState" : "UNHEALTHY",
"errorMessage" : "Did not get any response from servers for segment: Streamlz7__0__0__20250305T1027Z"
}
I am not getting a response from the server .all three servers are up .There are no issues for batch ingestion of data
m
This likely means segment commit failed. Can you check for the segment name in controller and broker log, it should have some logs/errors when it was being committed. Typically it could be the deepstore credentials (either server or controller or both unbale to talk to it)
s
I am getting the following error trace.
ERROR [RealtimeSegmentDataManager_stream9__0__0__20250312T0603Z] [stream9__0__0__20250312T0603Z] Could not send request http://controller.vip.host:9000/segmentUpload?segmentSizeBytes=6060&reason=rowLimit&buildTimeMillis=83&streamPartitionMsgOffset=5&instance=Server_ip***_8098&offset=-1&name=stream9__0__0__20250312T0603Z&rowCount=5&memoryUsedBytes=2080
org.apache.pinot.shaded.org.apache.http.conn.HttpHostConnectException: Connect to controller.vip.hsot:9000[controller.vip.host/172.20.3.97] failed: Connection refused (Connection refused)
at org.apache.pinot.shaded.org.apache.http.impl.conn.DefaultHttpClientConnectionOperator.connect(DefaultHttpClientConnectionOperator.java:156) ~[pinot-all-1.2.0-jar-with-dependencies.jar:1.2.0-cc33ac502a02e2fe830fe21e556234ee99351a7a]
Could this be the reason why I am getting this log :
COMMITTER_UPLOADING:Aborting FSM because winner is reporting a segment while it is also committing