Akira AJISAKA created HDFS-9886:
-----------------------------------

             Summary: Configuration properties for hedged read is broken
                 Key: HDFS-9886
                 URL: https://issues.apache.org/jira/browse/HDFS-9886
             Project: Hadoop HDFS
          Issue Type: Bug
            Reporter: Akira AJISAKA
            Priority: Blocker


{code}
  /** 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;
  }
{code}
{{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.threshold.millis" and "dfs.client.hedged.threadpool.size".



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to