[ https://issues.apache.org/jira/browse/KAFKA-1614?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15354883#comment-15354883 ]
Sergey Vergun commented on KAFKA-1614: -------------------------------------- This is patch doesn't work with Kafka 0.10.0.0 release. $patch -p1 < KAFKA-1614_log_segments_dir_jmx_info.patch patching file core/src/main/scala/kafka/log/Log.scala Hunk #1 FAILED at 18. Hunk #2 succeeded at 133 with fuzz 2 (offset 54 lines). Hunk #3 FAILED at 208. 2 out of 3 hunks FAILED -- saving rejects to file core/src/main/scala/kafka/log/Log.scala.rej > 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)