From b652e915fbd92b6969fffd8e177d9966abb4223b Mon Sep 17 00:00:00 2001 From: Bharat Viswanadham Date: Thu, 12 Apr 2018 21:51:20 -0700 Subject: [PATCH] HADOOP-15379. Make IrqHandler.bind() public. Contributed by Ajay Kumar (cherry picked from commit ec1e8c1a8ca3d01b82ca82d73ba1132b6625d659) --- .../java/org/apache/hadoop/service/launcher/IrqHandler.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/service/launcher/IrqHandler.java b/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/service/launcher/IrqHandler.java index 30bb91c7f4b..17aa9639c31 100644 --- a/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/service/launcher/IrqHandler.java +++ b/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/service/launcher/IrqHandler.java @@ -86,7 +86,7 @@ public final class IrqHandler implements SignalHandler { * Bind to the interrupt handler. * @throws IllegalArgumentException if the exception could not be set */ - void bind() { + public void bind() { Preconditions.checkState(signal == null, "Handler already bound"); try { signal = new Signal(name);