hadoop-common-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From wan...@apache.org
Subject [04/50] hadoop git commit: HADOOP-14413. Add Javadoc comment for jitter parameter on CachingGetSpaceUsed (Contributed by Erik Krogen via Daniel Templeton)
Date Mon, 22 May 2017 20:48:08 GMT
HADOOP-14413. Add Javadoc comment for jitter parameter on CachingGetSpaceUsed
(Contributed by Erik Krogen via Daniel Templeton)


Project: http://git-wip-us.apache.org/repos/asf/hadoop/repo
Commit: http://git-wip-us.apache.org/repos/asf/hadoop/commit/09f28da2
Tree: http://git-wip-us.apache.org/repos/asf/hadoop/tree/09f28da2
Diff: http://git-wip-us.apache.org/repos/asf/hadoop/diff/09f28da2

Branch: refs/heads/YARN-5734
Commit: 09f28da2d2aae1487bae85ff110794f8346f92a4
Parents: 4aae2d4
Author: Daniel Templeton <templedf@apache.org>
Authored: Thu May 11 11:02:20 2017 -0700
Committer: Daniel Templeton <templedf@apache.org>
Committed: Thu May 11 12:06:06 2017 -0700

----------------------------------------------------------------------
 .../src/main/java/org/apache/hadoop/fs/CachingGetSpaceUsed.java   | 3 +++
 1 file changed, 3 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hadoop/blob/09f28da2/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/fs/CachingGetSpaceUsed.java
----------------------------------------------------------------------
diff --git a/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/fs/CachingGetSpaceUsed.java
b/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/fs/CachingGetSpaceUsed.java
index a2b6980..92476d7 100644
--- a/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/fs/CachingGetSpaceUsed.java
+++ b/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/fs/CachingGetSpaceUsed.java
@@ -65,6 +65,9 @@ public abstract class CachingGetSpaceUsed implements Closeable, GetSpaceUsed
{
    *
    * @param path        the path to check disk usage in
    * @param interval    refresh the disk usage at this interval
+   * @param jitter      randomize the refresh interval timing by this amount;
+   *                    the actual interval will be chosen uniformly between
+   *                    {@code interval-jitter} and {@code interval+jitter}
    * @param initialUsed use this value until next refresh
    * @throws IOException if we fail to refresh the disk usage
    */


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


Mime
View raw message