You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kafka.apache.org by "Jun Rao (Created) (JIRA)" <ji...@apache.org> on 2012/02/22 18:55:48 UTC

[jira] [Created] (KAFKA-280) change on-disk log layout to {log.dir}/topicname/partitionid

change on-disk log layout to {log.dir}/topicname/partitionid
------------------------------------------------------------

                 Key: KAFKA-280
                 URL: https://issues.apache.org/jira/browse/KAFKA-280
             Project: Kafka
          Issue Type: Sub-task
          Components: core
    Affects Versions: 0.8
            Reporter: Jun Rao


Currently, the on-disk layout is {log.dir}/topicname-partitionid. The problem is that there is no appropriate place to store topicname level information such as topic version. An alternative layout is {log.dir}/topicname/partitionid. Then, we can store topic level meta data under {log.dir}/topicname. 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (KAFKA-280) change on-disk log layout to {log.dir}/topicname/partitionid

Posted by "Jay Kreps (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/KAFKA-280?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13226529#comment-13226529 ] 

Jay Kreps commented on KAFKA-280:
---------------------------------

FWIW, I think this new proposal is esthetically nicer too.
                
> change on-disk log layout to {log.dir}/topicname/partitionid
> ------------------------------------------------------------
>
>                 Key: KAFKA-280
>                 URL: https://issues.apache.org/jira/browse/KAFKA-280
>             Project: Kafka
>          Issue Type: Sub-task
>          Components: core
>    Affects Versions: 0.8
>            Reporter: Jun Rao
>
> Currently, the on-disk layout is {log.dir}/topicname-partitionid. The problem is that there is no appropriate place to store topicname level information such as topic version. An alternative layout is {log.dir}/topicname/partitionid. Then, we can store topic level meta data under {log.dir}/topicname. 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (KAFKA-280) change on-disk log layout to {log.dir}/topicname/partitionid

Posted by "Neha Narkhede (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/KAFKA-280?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Neha Narkhede updated KAFKA-280:
--------------------------------

    Labels: replication  (was: )
    
> change on-disk log layout to {log.dir}/topicname/partitionid
> ------------------------------------------------------------
>
>                 Key: KAFKA-280
>                 URL: https://issues.apache.org/jira/browse/KAFKA-280
>             Project: Kafka
>          Issue Type: Sub-task
>          Components: core
>    Affects Versions: 0.8
>            Reporter: Jun Rao
>              Labels: replication
>
> Currently, the on-disk layout is {log.dir}/topicname-partitionid. The problem is that there is no appropriate place to store topicname level information such as topic version. An alternative layout is {log.dir}/topicname/partitionid. Then, we can store topic level meta data under {log.dir}/topicname. 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira