[ https://issues.apache.org/jira/browse/KAFKA-1614?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16161144#comment-16161144 ]
pranay kumar commented on KAFKA-1614: ------------------------------------- Thanks [~sergey.vergun] for reply. When I am trying to install I am getting below messages: {color:#8eb021}kafka@<hostname>:~$ patch -p1 < log_segments_dir_jmx_info.patch can't find file to patch at input line 14 Perhaps you used the wrong -p or --strip option? The text leading up to this was: -------------------------- |From 332e9c09af939a14e3690be3081e20fb11b05850 Mon Sep 17 00:00:00 2001 |From: Alex Demidko <dralex...@gmail.com> |Date: Wed, 23 Jul 2014 11:53:13 -0700 |Subject: [PATCH] Directory name and segments information exposed via JMX | |--- | core/src/main/scala/kafka/log/Log.scala | 20 ++++++++++++++++++++ | 1 file changed, 20 insertions(+) | |diff --git a/core/src/main/scala/kafka/log/Log.scala b/core/src/main/scala/kafka/log/Log.scala |index 46df8d9..9097fa0 100644 |--- a/core/src/main/scala/kafka/log/Log.scala |+++ b/core/src/main/scala/kafka/log/Log.scala -------------------------- File to patch:{color} But I can't locate Log.scala anywhere in my directory. What to do next? M I missing anything? > 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.4.14#64029)