From 6f0756fc0e43b785d3dee72a669997d934b57e4c 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. --- .../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 f809feaed55..bb1ed469696 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) {