Kafka index tasks failing after upgrade to 0.14.1-incubating
Affected Version
0.14.1-incubating
Description
I recently performed an upgrade on my Druid cluster from version 0.13.0-incubating to 0.14.1-incubating. This upgrade was not a rolling upgrade. I stopped all of the druid components and brought the cluster back up from scratch using version 0.14.1-incubating. Everything worked fine except that my Kafka indexing tasks are now not able to be completed successfully. The tasks enter the FAILED state with no error message or exception being thrown.
I did a little bit of debugging to try and fix this issue. I noticed that the Kafka indexing task seems to be chugging along like normal until the time it needs to roll the segments it creates off in to storage. In version 0.13.0-incubating, the Kafka task seems to render the segments in the {TASK}/index_kafka_... folder on the MiddleManager. Once rendered, the segments are then copied off into the {SEGMENTS} folder for deep-storage (file based). However, in version 0.14.1-incubating, the Kafka tasks seems to be using the {SEGMENTS} folder directly for this rendering operation instead.
In my environment, I have configured the {TASK} folder to have access to some relatively quick disk storage. However, the {SEGMENTS} folder is setup to use lesser performant storage for holding the segments long term should the Historical nodes need to access them. I'm wondering if the Kafka indexing tasks are getting killed by the MiddleManager due to the tasks taking too long to render the segments in the {SEGMENTS} folder. This perhaps would explain why I don't see any exceptions or errors thrown in the Kafka indexing task logs. The tasks appear to be working (very slowly) and then are suddenly stopped and marked as FAILED.
Did something perhaps change between 0.13.0-incubating and 0.14.1-incubating that dealt with the location of where the segments were rendered on disk before being permanently placed in deep storage?
This issue has been marked as stale due to 280 days of inactivity. It will be closed in 4 weeks if no further activity occurs. If this issue is still relevant, please simply write any comment. Even if closed, you can still revive the issue at any time or discuss it on the [email protected] list. Thank you for your contributions.
This issue has been closed due to lack of activity. If you think that is incorrect, or the issue requires additional review, you can revive the issue at any time.