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 "Harsh J (JIRA)" <ji...@apache.org> on 2013/01/28 19:49:12 UTC

[jira] [Updated] (HADOOP-9257) HADOOP-9241 changed DN's default DU interval to 1m instead of 10m accidentally

     [ https://issues.apache.org/jira/browse/HADOOP-9257?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Harsh J updated HADOOP-9257:
----------------------------

    Attachment: HADOOP-9257.patch
    
> HADOOP-9241 changed DN's default DU interval to 1m instead of 10m accidentally
> ------------------------------------------------------------------------------
>
>                 Key: HADOOP-9257
>                 URL: https://issues.apache.org/jira/browse/HADOOP-9257
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: util
>    Affects Versions: 2.0.3-alpha
>            Reporter: Harsh J
>            Assignee: Harsh J
>         Attachments: HADOOP-9257.patch
>
>
> Suresh caught this on HADOOP-9241:
> {quote}
> Even for trivial jiras, I suggest getting the code review done before committing the code. Such changes are easy and quick to review.
> In this patch, did DU interval become 1 minute instead of 10 minutes?
> {code}
> -    this(path, 600000L);
> -    //10 minutes default refresh interval
> +    this(path, conf.getLong(CommonConfigurationKeys.FS_DU_INTERVAL_KEY,
> +                CommonConfigurationKeys.FS_DU_INTERVAL_DEFAULT));
> +  /** See <a href="{@docRoot}/../core-default.html">core-default.xml</a> */
> +  public static final String  FS_DU_INTERVAL_KEY = "fs.du.interval";
> +  /** Default value for FS_DU_INTERVAL_KEY */
> +  public static final long    FS_DU_INTERVAL_DEFAULT = 60000;
> {code}
> {quote}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira