[
https://issues.apache.org/jira/browse/HDFS-12009?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16061371#comment-16061371
]
Andrew Wang commented on HDFS-12009:
------------------------------------
Thanks for the review and commit Xiao!
> Accept human-friendly units in dfsadmin -setBalancerBandwidth and -setQuota
> ---------------------------------------------------------------------------
>
> Key: HDFS-12009
> URL: https://issues.apache.org/jira/browse/HDFS-12009
> Project: Hadoop HDFS
> Issue Type: Bug
> Components: shell
> Affects Versions: 3.0.0-alpha3
> Reporter: Andrew Wang
> Assignee: Andrew Wang
> Fix For: 3.0.0-alpha4
>
> Attachments: HDFS-12009.001.patch, HDFS-12009.002.patch
>
>
> We support human readable units now. The default balancing bandwidth in the
> conf is "10m". However, human readable units are not supported by dfsadmin
> -setBalancerBandwidth. This means you can't pass the output of "hdfs getconf
> -confKey dfs.datanode.balance.bandwidthPerSec" to "hdfs dfsadmin
> -setBalancerBandwidth".
> This is a regression from pre-human readable units.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]