[
https://issues.apache.org/jira/browse/HDFS-9886?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Akira AJISAKA updated HDFS-9886:
--------------------------------
Description:
{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".
was:
{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.threshold.millis" and "dfs.client.hedged.threadpool.size".
> 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: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)