cdap-kafka-server simply stops if the kafka.server.log.dirs is not writable
Description
Release Notes
None
Activity
Show:

NitinM June 9, 2020 at 1:30 AM
Closing issues that haven't been updated for more than 2 years.
Won't Fix
Pinned fields
Click on the next to a field label to start pinning.
Created July 5, 2017 at 8:22 PM
Updated June 9, 2020 at 1:30 AM
Resolved June 9, 2020 at 1:30 AM
If the configured directory 'kafka.server.log.dirs' is not writable by the cdap user, then the cdap kafka server simply stops without any warning/error message indicating the reason.
The cause of the error can be very time-consuming to debug.
Instead, cdap should log a proper error message in this case (perform a file-write check if it needs to).