[ 
https://issues.apache.org/jira/browse/HDFS-7116?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14707928#comment-14707928
 ] 

Tsz Wo Nicholas Sze commented on HDFS-7116:
-------------------------------------------

> Expose metric named "BalancerBandwidth" in the Datanode metrics to get the 
> bandwidth of balancer.

By "bandwidth of balancer", I guess you mean 
dfs.datanode.balance.bandwidthPerSec, which can be changed in runtime by the 
"dfsadmin –setBalancerBandwidth" command.  This seems wrong to show it in 
metric since it is a mostly constant value.  Just like that we won't show other 
conf values in metric.

How about adding a new dfsadmin command?

> Add a metric to expose the bandwidth of balancer
> ------------------------------------------------
>
>                 Key: HDFS-7116
>                 URL: https://issues.apache.org/jira/browse/HDFS-7116
>             Project: Hadoop HDFS
>          Issue Type: New Feature
>          Components: balancer & mover
>            Reporter: Akira AJISAKA
>            Assignee: Rakesh R
>         Attachments: HDFS-7116-00.patch, HDFS-7116-01.patch, 
> HDFS-7116-02.patch, HDFS-7116-03.patch, HDFS-7116-04.patch, HDFS-7116-05.patch
>
>
> Now reading logs is the only way to check how the balancer bandwidth is set. 
> It would be useful for administrators if they can get the value of the same. 
> This jira to discuss & implement the way to access the balancer bandwidth 
> value of the datanode.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to