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

    • Bug
    • Status: Closed
    • Trivial
    • Resolution: Fixed
    • None
    • 2.5.0
    • None
    • None

    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

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            jyu@cloudera.com Juan Yu
            jyu@cloudera.com Juan Yu
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment