[ https://issues.apache.org/jira/browse/HADOOP-16265?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16822169#comment-16822169 ]
Erik Krogen commented on HADOOP-16265: -------------------------------------- Hey [~starphin] - I got [~shv] to add you as a contributor so that you can have JIRAs assigned to you. I took the liberty of assigning this to you and marking the patch as available so that Jenkins will run. By the way, when submitting a patch against {{trunk}}, you don't need to include the branch in the patch name. This is only necessary when submitting a patch against other branches; trunk is the default. > 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 > 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: common-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: common-issues-h...@hadoop.apache.org