You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-issues@hadoop.apache.org by "Yiqun Lin (JIRA)" <ji...@apache.org> on 2018/10/19 09:46:00 UTC

[jira] [Updated] (HDFS-9872) HDFS bytes-default configurations should accept multiply size units

     [ https://issues.apache.org/jira/browse/HDFS-9872?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Yiqun Lin updated HDFS-9872:
----------------------------
    Attachment: HDFS-9872.003.patch

> HDFS bytes-default configurations should accept multiply size units
> -------------------------------------------------------------------
>
>                 Key: HDFS-9872
>                 URL: https://issues.apache.org/jira/browse/HDFS-9872
>             Project: Hadoop HDFS
>          Issue Type: Bug
>    Affects Versions: 2.7.1
>            Reporter: Yiqun Lin
>            Assignee: Yiqun Lin
>            Priority: Major
>         Attachments: HDFS-9872.001.patch, HDFS-9872.002.patch, HDFS-9872.003.patch
>
>
> In HDFS-1314 and HDFS-9842, it had make some configurations can be friendly accept multiply size unit, such as 134217728 can be also 128m, or 8048, can be also replaced by 8k. And in some configurations, the value will be large, like in {{dfs.datanode.available-space-volume-choosing-policy.balanced-space-threshold}}, its default value is 10g, equal to 10737418240. Obviously, it's not convenient to direct transform. So we could make some hdfs bytes-default configurations which without size unit name  be friendly accepted multiply size unit.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: hdfs-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-help@hadoop.apache.org