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

Default value of dfs.datanode.directoryscan.throttle.limit.ms.per.sec should be consistent

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Trivial
    • Resolution: Fixed
    • None
    • 2.8.0, 3.0.0-alpha1
    • datanode
    • None
    • Reviewed

    Description

      Always see following error log while running:

      ERROR datanode.DirectoryScanner (DirectoryScanner.java:<init>(430)) - dfs.datanode.directoryscan.throttle.limit.ms.per.sec set to value below 1 ms/sec. Assuming default value of 1000
      
      <property>
        <name>dfs.datanode.directoryscan.throttle.limit.ms.per.sec</name>
        <value>0</value>
      ...
      

      The default value should be 1000 and consistent with DFS_DATANODE_DIRECTORYSCAN_THROTTLE_LIMIT_MS_PER_SEC_DEFAULT

      Attachments

        1. HDFS-9274.001.patch
          0.7 kB
          Yi Liu

        Activity

          People

            hitliuyi Yi Liu
            hitliuyi Yi Liu
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: