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

Configuration properties for hedged read is broken

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.8.0, 3.0.0-alpha1
    • Component/s: None
    • Labels:
      None
    • Target Version/s:
    • Hadoop Flags:
      Reviewed

      Description

      HdfsClientConfigKeys.java
        /** dfs.client.hedged.read configuration properties */
        interface HedgedRead {
          String  THRESHOLD_MILLIS_KEY = PREFIX + "threshold.millis";
          long    THRESHOLD_MILLIS_DEFAULT = 500;
          String  THREADPOOL_SIZE_KEY = PREFIX + "threadpool.size";
          int     THREADPOOL_SIZE_DEFAULT = 0;
        }
      

      PREFIX is not defined in the interface, so "dfs.client" is used as PREFIX. Therefore, the properties are "dfs.client.threshold.millis" and "dfs.client.threadpool.size". They should be "dfs.client.hedged.read.threshold.millis" and "dfs.client.hedged.read.threadpool.size".

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                ajisakaa Akira Ajisaka
                Reporter:
                ajisakaa Akira Ajisaka
              • Votes:
                0 Vote for this issue
                Watchers:
                6 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: