hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Akira AJISAKA (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HDFS-7116) Add a metric to expose the bandwidth of balancer
Date Fri, 21 Aug 2015 09:23:46 GMT

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

Akira AJISAKA commented on HDFS-7116:
-------------------------------------

Thanks [~rakeshr] for updating the patch.
{code}
> -| `-setBalancerBandwidth` \<bandwidth in bytes per second\> | Changes the network
bandwidth used by each datanode during HDFS block balancing. \<bandwidth\> is the maximum
number of bytes per second that will be used by each datanode. This value overrides the dfs.balance.bandwidthPerSec
parameter.<C2><A0>NOTE: The new value is not persistent on the DataNode. |
> +| `-setBalancerBandwidth` \<bandwidth in bytes per second\> | Changes the network
bandwidth used by each datanode during HDFS block balancing. \<bandwidth\> is the maximum
number of bytes per second that will be used by each datanode. This value overrides the dfs.balance.bandwidthPerSec
parameter.<C2><A0>NOTE: The new value is not persistent on the DataNode. The value
is exposed via BalancerBandwidth metric. |
{code}

1. Would you remove the sentence starts with "The new value is not persistent ... "? If we
add the metric, the new value does persist on the DataNodeMetrics.
2. (minor) Would you replace {{0xC2A0}} (whitespace in UTF-8) before "NOTE:" with whitespace
as well?

> 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
>
>
> 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)

Mime
View raw message