Hi everyone, I'm facing a recurring issue in our ...
# troubleshooting
a
Hi everyone, I'm facing a recurring issue in our Druid cluster (version 28.0.1). Every few months (around every 3–4 months), the cluster becomes unresponsive — it stops responding to queries and even the web console becomes inaccessible. When this happens, I see errors like the following in the logs:
Copy code
(org.jboss.netty.handler.timeout.ReadTimeoutException: [GET http://scba-live-druid-worker-prod-0:8100/druid-internal/v1/segments?counter=2&hash=1762438725728&timeout=240000] Read timed out)

com.fasterxml.jackson.core.JsonParseException: Invalid type marker byte 0x3c for expected value token
 at [Source: (SequenceInputStream); line: -1, column: 1]
From what I can tell, it seems like one of the segments being fetched is somehow corrupted, which causes the query or internal communication to hang. However, I haven’t been able to identify why or how that segment becomes corrupted. Interestingly, if I reindex the same data into a new datasource, everything works fine — the issue does not reproduce with the same input data. Has anyone encountered a similar issue or investigated something like this before? Any tips on how to debug or identify the root cause (corrupted segment, metadata inconsistency, etc.) would be really appreciated. Thanks in advance for any insights!
b
I've seen this error, but in the cases I saw, it only applied to particular queries, and was fixed years ago. I hate to ask, but I wonder if you might consider upgrading, and seeing whether that helps. That sounds very inconvenient, and unless someone finds a particular fix, it could be worth testing.
a
Hi again, thank you for your response 🙏 We’ve investigated the issue and found that it was related to a problem in Druid's real-time segment closing process. The error occurred because the system couldn't properly close the segment due to a disk-related issue. Once we identified and fixed the hardware problem on the disk side, the errors stopped occurring and haven’t resurfaced.