From 78b45977b1a192aa0764445071c21a0617c6aa7f Mon Sep 17 00:00:00 2001 From: Arpit Agarwal Date: Mon, 21 Jan 2019 20:45:09 -0800 Subject: [PATCH] HDFS-14222. Make ThrottledAsyncChecker constructor public. Contributed by Arpit Agarwal. (cherry picked from commit 6f0756fc0e43b785d3dee72a669997d934b57e4c) --- .../hdfs/server/datanode/checker/ThrottledAsyncChecker.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/datanode/checker/ThrottledAsyncChecker.java b/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/datanode/checker/ThrottledAsyncChecker.java index 9227d94e110..3ef0883e88a 100644 --- a/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/datanode/checker/ThrottledAsyncChecker.java +++ b/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/datanode/checker/ThrottledAsyncChecker.java @@ -88,7 +88,7 @@ public class ThrottledAsyncChecker implements AsyncChecker { */ private final Map> completedChecks; - ThrottledAsyncChecker(final Timer timer, + public ThrottledAsyncChecker(final Timer timer, final long minMsBetweenChecks, final long diskCheckTimeout, final ExecutorService executorService) {