Repository: hadoop Updated Branches: refs/heads/branch-2 3766e5489 -> 7213c935c
HADOOP-14413. Add Javadoc comment for jitter parameter on CachingGetSpaceUsed (Contributed by Erik Krogen via Daniel Templeton) (cherry picked from commit 09f28da2d2aae1487bae85ff110794f8346f92a4) Project: http://git-wip-us.apache.org/repos/asf/hadoop/repo Commit: http://git-wip-us.apache.org/repos/asf/hadoop/commit/7213c935 Tree: http://git-wip-us.apache.org/repos/asf/hadoop/tree/7213c935 Diff: http://git-wip-us.apache.org/repos/asf/hadoop/diff/7213c935 Branch: refs/heads/branch-2 Commit: 7213c935c664c02511e0ffd380623f82888e17f9 Parents: 3766e54 Author: Daniel Templeton <templ...@apache.org> Authored: Thu May 11 11:02:20 2017 -0700 Committer: Daniel Templeton <templ...@apache.org> Committed: Thu May 11 12:06:39 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/7213c935/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-unsubscr...@hadoop.apache.org For additional commands, e-mail: common-commits-h...@hadoop.apache.org