Consider changing the value of 'kafka.server.log.dirs'

Description

My kafka server crashed due to:

This may be due to the fact that the kafka log files are configured to be under /tmp.
Sources:
https://issues.apache.org/jira/browse/KAFKA-4076
https://serverfault.com/questions/377348/when-does-tmp-get-cleared
https://linux.die.net/man/8/tmpwatch

I also found this on the singlenode cluster where kafka crashed, which may be related:

Release Notes

None

Attachments

1

Activity

Show:

NitinMJune 9, 2020 at 1:30 AM

Closing issues that haven't been updated for more than 2 years.

Derek WoodJune 15, 2017 at 6:35 AM

Note that it is the default in cdap-default.xml that is specifying /tmp. We don't redefine it anywhere in our Coopr templates.

Terence YimJune 15, 2017 at 3:07 AM

Agree. We should change the coopr template to use /data/cdap/kafka . The directory already exist, I don't know why we are not using that

Won't Fix
Pinned fields
Click on the next to a field label to start pinning.

Details

Assignee

Reporter

Components

Priority

Created June 15, 2017 at 1:47 AM
Updated June 9, 2020 at 1:30 AM
Resolved June 9, 2020 at 1:30 AM