hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Arpit Agarwal (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HDFS-13181) DiskBalancer: Add an configuration for valid plan hours
Date Fri, 23 Feb 2018 19:18:01 GMT

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

Arpit Agarwal commented on HDFS-13181:
--------------------------------------

Hi [~bharatviswa], thanks for this patch.

We can avoid hard-coding the time unit as hours. Instead just call the setting something like
{{DFS_DISK_BALANCER_PLAN_VALIDITY_PERIOD}} and parse it as a Configuration.getTimeDuration().
Then admins can specify plan validity with human-readable suffixes. The default can be written
as {{1d}}. Also update the docs in hdfs-default.xml to mention this. 


> DiskBalancer: Add an configuration for valid plan hours 
> --------------------------------------------------------
>
>                 Key: HDFS-13181
>                 URL: https://issues.apache.org/jira/browse/HDFS-13181
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: diskbalancer
>            Reporter: Bharat Viswanadham
>            Assignee: Bharat Viswanadham
>            Priority: Major
>         Attachments: HDFS-13181.00.patch
>
>
> Add a configuration for valid plan hours, instead of constant 24 hours in the code.



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


Mime
View raw message