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

Correct the description of dfs.datanode.disk.check.timeout in hdfs-default.xml

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.3.0
    • Component/s: documentation
    • Labels:
      None

      Description

      The description of dfs.datanode.disk.check.timeout in hdfs-default.xml is as follows:

      <property>
        <name>dfs.datanode.disk.check.timeout</name>
        <value>10m</value>
        <description>
          Maximum allowed time for a disk check to complete during DataNode
          startup. If the check does not complete within this time interval
          then the disk is declared as failed. This setting supports
          multiple time unit suffixes as described in dfs.heartbeat.interval.
          If no suffix is specified then milliseconds is assumed.
        </description>
      </property>
      

      I don't think the value of this config is used only during DataNode startup. I think it's used whenever checking volumes.
      The description is misleading so we need to correct it.

        Attachments

        1. HDFS-13949.1.patch
          2 kB
          Toshihiro Suzuki

          Activity

            People

            • Assignee:
              brfrn169 Toshihiro Suzuki
              Reporter:
              brfrn169 Toshihiro Suzuki
            • Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: