[
https://issues.apache.org/jira/browse/KAFKA-1614?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15229387#comment-15229387
]
ASF GitHub Bot commented on KAFKA-1614:
---------------------------------------
GitHub user xdralex opened a pull request:
https://github.com/apache/kafka/pull/1196
KAFKA-1614: Partition log directory name and segments information exposed
via JMX
This is an updated version of
https://issues.apache.org/jira/browse/KAFKA-1614 patch which was made for
0.8.1.1 version.
It makes partition log directory and single segments information exposed
via JMX. This is useful to:
* monitor disks usage in a cluster and on single broker;
* calculate disk space taken by different topics;
* estimate space to be freed when segments are expired.
Yahoo's Kafka Manager uses it to show information about topics and
partitions sizes:


Our internal tool uses it to show how segments sizes were changing over
time:

@junrao could you please review when you have time?
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/metamx/kafka KAFKA-1614
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/kafka/pull/1196.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 #1196
----
commit 0920c851d324b18bcd6538dccd0e4cbfa6422c75
Author: Alexander Demidko <[email protected]>
Date: 2016-04-06T23:42:45Z
Partition log directory name and segments information exposed via JMX
----
> Partition log directory name and segments information exposed via JMX
> ---------------------------------------------------------------------
>
> Key: KAFKA-1614
> URL: https://issues.apache.org/jira/browse/KAFKA-1614
> Project: Kafka
> Issue Type: Improvement
> Components: log
> Affects Versions: 0.8.1.1
> Reporter: Alexander Demidko
> Assignee: Alexander Demidko
> Attachments: log_segments_dir_jmx_info.patch
>
>
> Makes partition log directory and single segments information exposed via
> JMX. This is useful to:
> - monitor disks usage in a cluster and on single broker
> - calculate disk space taken by different topics
> - estimate space to be freed when segments are expired
> Patch attached.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)