You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kafka.apache.org by "jaikiran pai (JIRA)" <ji...@apache.org> on 2015/01/29 07:12:34 UTC

[jira] [Updated] (KAFKA-1906) Default the Kafka log directory to a relative path within the Kafka installation directory

     [ https://issues.apache.org/jira/browse/KAFKA-1906?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

jaikiran pai updated KAFKA-1906:
--------------------------------
    Status: Patch Available  (was: Open)

> Default the Kafka log directory to a relative path within the Kafka installation directory
> ------------------------------------------------------------------------------------------
>
>                 Key: KAFKA-1906
>                 URL: https://issues.apache.org/jira/browse/KAFKA-1906
>             Project: Kafka
>          Issue Type: Improvement
>          Components: core, log
>            Reporter: jaikiran pai
>            Assignee: jaikiran pai
>         Attachments: KAFKA-1906.patch
>
>
> During one of the discussions on kafka-dev mailing list, a point was raised that the current /tmp/kafka-logs default path for storing the Kafka data wasn't probably a good idea and instead we should default it to a relative path within the Kafka installation directory:
> {quote}
> Having a relative path and keeping data under /data in the kafka distro
> would make sense. This would require some reworking of the shell scripts,
> though, as I think right now you an actually run Kafka from any directory
> and the cwd of the process will be whatever directory you start from. If we
> have a relative path in the config then the working directory will HAVE to
> be the kafka directory. This works for the simple download case but may
> making some packaging stuff harder for other use cases.
> {quote}
> The discussion is here http://mail-archives.apache.org/mod_mbox/kafka-dev/201501.mbox/%3CCAOeJiJgA38ktwH4JYFsU4w8idXybF-_ZE_B748tXSorP8Yzrhw@mail.gmail.com%3E 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)