Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-9257

HADOOP-9241 changed DN's default DU interval to 1m instead of 10m accidentally

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Duplicate
    • 2.0.3-alpha
    • None
    • util
    • None

    Description

      Suresh caught this on HADOOP-9241:

      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?

      -    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;
      

      Attachments

        1. HADOOP-9257.patch
          1 kB
          Harsh J

        Activity

          People

            qwertymaniac Harsh J
            qwertymaniac Harsh J
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: