[
https://issues.apache.org/jira/browse/HADOOP-16265?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16823188#comment-16823188
]
Hudson commented on HADOOP-16265:
---------------------------------
SUCCESS: Integrated in Jenkins build Hadoop-trunk-Commit #16445 (See
[https://builds.apache.org/job/Hadoop-trunk-Commit/16445/])
HADOOP-16265. Fix bug causing Configuration#getTimeDuration to use (xkrogen:
rev 1ddb48872f6a4985f4d0baadbb183899226cff68)
* (edit)
hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/conf/TestConfiguration.java
* (edit)
hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/conf/Configuration.java
> Configuration#getTimeDuration is not consistent between default value and
> manual settings.
> ------------------------------------------------------------------------------------------
>
> Key: HADOOP-16265
> URL: https://issues.apache.org/jira/browse/HADOOP-16265
> Project: Hadoop Common
> Issue Type: Bug
> Reporter: star
> Assignee: star
> Priority: Major
> Fix For: 3.0.4, 3.3.0, 3.2.1, 3.1.3
>
> Attachments: HADOOP-16265-trunk.002.patch,
> HADOOP-16265-trunk.003.patch, HDFS-14436.001.patch
>
>
> When call getTimeDuration like this:
> {quote}conf.getTimeDuration("nn.interval", 10,
> TimeUnit.{color:#9876aa}SECONDS{color}{color:#cc7832},
> {color}TimeUnit.{color:#9876aa}MILLISECONDS{color}){color:#cc7832};{color}
> {quote}
> {color:#333333}If "nn.interval" is set manually or configured in xml file,
> 10000 will be retrurned.{color}
> If not, 10 will be returned while 10000 is expected.
> The logic is not consistent.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]