Uploaded image for project: 'Hadoop HDFS'
  1. Hadoop HDFS
  2. HDFS-6493

Change dfs.namenode.startup.delay.block.deletion to second instead of millisecond

VotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Trivial
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.5.0
    • Component/s: None
    • Labels:
      None
    • Target Version/s:

      Description

      Based on the discussion in https://issues.apache.org/jira/browse/HDFS-6186, the delay will be at least 30 minutes or even hours. it's not very user friendly to use milliseconds when it's likely measured in hours.
      I suggest to make the following change
      1. change the unit of this config to second
      2. rename the config key from "dfs.namenode.startup.delay.block.deletion.ms" to "dfs.namenode.startup.delay.block.deletion.sec"
      3. add the default value to hdfs-default.xml, what's the reasonable value, 30 minutes, one hour?

        Attachments

        1. HDFS-6493.001.patch
          6 kB
          Juan Yu

        Issue Links

          Activity

            People

            • Assignee:
              jyu@cloudera.com Juan Yu
              Reporter:
              jyu@cloudera.com Juan Yu

              Dates

              • Created:
                Updated:
                Resolved:

                Issue deployment