You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kafka.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2016/04/07 01:55:25 UTC
[jira] [Commented] (KAFKA-1614) Partition log directory name and
segments information exposed via JMX
[ 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:
![topics](https://cloud.githubusercontent.com/assets/1021271/14336342/aa3a197a-fc17-11e5-9ae8-7a4a8bf32562.png)
![partitions](https://cloud.githubusercontent.com/assets/1021271/14336348/b38e2354-fc17-11e5-930d-9b36c7aae1e8.png)
Our internal tool uses it to show how segments sizes were changing over time:
![segments](https://cloud.githubusercontent.com/assets/1021271/14336349/b566ed8c-fc17-11e5-811f-d9bca5e2e099.png)
@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 <dr...@gmail.com>
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)