GitHub user dguy opened a pull request: https://github.com/apache/kafka/pull/1942
KAFKA-4233: StateDirectory fails to create directory if any parent directory does not exist Change the creation of the directories, in the StateDirectory constructor, to use mkdirs so any parents get created. Throw an exception if the directory doesn't exist and couldn't be created You can merge this pull request into a Git repository by running: $ git pull https://github.com/dguy/kafka kafka-4233 Alternatively you can review and apply these changes as the patch at: https://github.com/apache/kafka/pull/1942.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #1942 ---- commit 0c4696a6ceaac1598fe612004c1ccb827bbbaffd Author: Damian Guy <damian....@gmail.com> Date: 2016-09-30T10:21:40Z create parent dirs and check dir was created ---- --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. ---