Elek, Marton created HDFS-12698:
-----------------------------------

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


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-dev-unsubscr...@hadoop.apache.org
For additional commands, e-mail: hdfs-dev-h...@hadoop.apache.org

Reply via email to