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 "Elek, Marton (JIRA)" <ji...@apache.org> on 2017/11/27 09:22:00 UTC

[jira] [Commented] (HDFS-12698) Ozone: Use time units in the Ozone configuration values

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

Elek, Marton commented on HDFS-12698:
-------------------------------------

Tested this patch during the weekend on a 200 node cluster (docker swarm). The cluster worked well. I fixed a few remaining configuration usage in the last patch.

> Ozone: Use time units in the Ozone configuration values
> -------------------------------------------------------
>
>                 Key: HDFS-12698
>                 URL: https://issues.apache.org/jira/browse/HDFS-12698
>             Project: Hadoop HDFS
>          Issue Type: Sub-task
>          Components: ozone
>    Affects Versions: HDFS-7240
>            Reporter: Elek, Marton
>            Assignee: Elek, Marton
>         Attachments: HDFS-12698-HDFS-7240.001.patch, HDFS-12698-HDFS-7240.002.patch, HDFS-12698-HDFS-7240.003.patch, HDFS-12698-HDFS-7240.005.patch
>
>
> In HDFS-9847 introduced a new way to configure the time related configuration with using time unit in the vaule (eg. 10s, 5m, ...).
> Because the new behavior I have seen a lot of warning during my tests:
> {code}
> 2017-10-19 18:35:19,955 [main] INFO  Configuration.deprecation (Configuration.java:logDeprecation(1306)) - No unit for scm.container.client.idle.threshold(10000) assuming MILLISECONDS
> {code}
> So we need to add the time unit for every configuration. Unfortunately we have a few configuration parameter which includes the unit in the key name (eg dfs.cblock.block.buffer.flush.interval.seconds or ozone.container.report.interval.ms).
> I suggest to remove all the units from the key name and follow the new convention where any of the units could be used. 



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

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