You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by "Masatake Iwasaki (JIRA)" <ji...@apache.org> on 2016/05/24 02:22:13 UTC

[jira] [Comment Edited] (HADOOP-13196) DF default interval value is not consistent

    [ https://issues.apache.org/jira/browse/HADOOP-13196?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15297543#comment-15297543 ] 

Masatake Iwasaki edited comment on HADOOP-13196 at 5/24/16 2:21 AM:
--------------------------------------------------------------------

bq. Changed the default value to 3000 to make sure its backward compatible.

I think this is incompatible change for the code using {{DF(File path, Configuration conf)}}.

3000 is used if {{DF}} is run as main class (or core-default.xml is not in the classpath) otherwise 60000 has been the default value.


was (Author: iwasakims):
bq. Changed the default value to 3000 to make sure its backward compatible.

I think this is incompatible change for the code using {{DF(File path, Configuration conf)}}.

3000 is used if {{DF}} is run as main class (or core-default.xml is not in the classpath) otherwise 60000 has been the default value since HADOOP-6233.

> DF default interval value is not consistent
> -------------------------------------------
>
>                 Key: HADOOP-13196
>                 URL: https://issues.apache.org/jira/browse/HADOOP-13196
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: fs
>            Reporter: Wei-Chiu Chuang
>            Assignee: Wei-Chiu Chuang
>            Priority: Trivial
>         Attachments: HADOOP-13196.001.patch
>
>
> In {{core-default.xml}}, the value of the property {{fs.df.interval}} is 60000. This value is defined in {{CommonConfigurationKeysPublic.FS_DF_INTERVAL_DEFAULT}}, however, this value is never used.
> When this property is used in {{DF}}, the default value is {{DF.DF_INTERVAL_DEFAULT}} = 3000.
> This can cause potential confusion and should be fixed.



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

---------------------------------------------------------------------
To unsubscribe, e-mail: common-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-issues-help@hadoop.apache.org