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

SafeModeInfo should use DFS_NAMENODE_SAFEMODE_THRESHOLD_PCT_DEFAULT instead of 0.95

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.22.0
    • 0.22.0
    • None
    • Reviewed

    Description

      SafeMode() constructor has 0.95f default threshold hard-coded. This should be replaced by the constant DFS_NAMENODE_SAFEMODE_THRESHOLD_PCT_DEFAULT, which is correctly set to 0.999f.

      Attachments

        1. HDFS-1925-1.patch
          5 kB
          Joey Echeverria

        Activity

          People

            fwiffo Joey Echeverria
            shv Konstantin Shvachko
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: