[
https://issues.apache.org/jira/browse/HDFS-9886?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15175312#comment-15175312
]
Brahma Reddy Battula commented on HDFS-9886:
--------------------------------------------
Nice catch [~ajisakaa], +1 (non-binding).
> 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
> Assignee: Akira AJISAKA
> Priority: Blocker
> Attachments: HDFS-9886.01.patch
>
>
> {code:title=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;
> }
> {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.read.threshold.millis" and
> "dfs.client.hedged.read.threadpool.size".
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)