Uploaded image for project: 'Hadoop HDFS'
  1. Hadoop HDFS
  2. HDFS-7240 Scaling HDFS
  3. HDFS-12698

Ozone: Use time units in the Ozone configuration values

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • HDFS-7240
    • None
    • ozone
    • None
    • Reviewed

    Description

      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:

      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
      

      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.

      Attachments

        1. HDFS-12698-HDFS-7240.001.patch
          38 kB
          Marton Elek
        2. HDFS-12698-HDFS-7240.002.patch
          40 kB
          Marton Elek
        3. HDFS-12698-HDFS-7240.003.patch
          75 kB
          Marton Elek
        4. HDFS-12698-HDFS-7240.005.patch
          80 kB
          Marton Elek
        5. HDFS-12698-HDFS-7240.006.patch
          81 kB
          Marton Elek
        6. HDFS-12698-HDFS-7240.007.patch
          81 kB
          Marton Elek
        7. HDFS-12698-HDFS-7240.008.patch
          81 kB
          Marton Elek
        8. HDFS-12698-HDFS-7240.009.patch
          81 kB
          Marton Elek
        9. HDFS-12698-HDFS-7240.010.patch
          81 kB
          Marton Elek

        Issue Links

          Activity

            People

              elek Marton Elek
              elek Marton Elek
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: