From 1b1a25cca653d9a66904cbcd423fdf6994ead128 Mon Sep 17 00:00:00 2001 From: Karthik Kambatla Date: Fri, 23 Dec 2016 11:40:56 -0800 Subject: [PATCH] YARN-6000. Make AllocationFileLoaderService.Listener public. (Tao Jie via kasha) (cherry picked from commit 4d3f73acc0a5cabc748132889dbe670bea178a3f) --- .../scheduler/fair/AllocationFileLoaderService.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/main/java/org/apache/hadoop/yarn/server/resourcemanager/scheduler/fair/AllocationFileLoaderService.java b/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/main/java/org/apache/hadoop/yarn/server/resourcemanager/scheduler/fair/AllocationFileLoaderService.java index a6556158eb2..163a265918e 100644 --- a/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/main/java/org/apache/hadoop/yarn/server/resourcemanager/scheduler/fair/AllocationFileLoaderService.java +++ b/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/main/java/org/apache/hadoop/yarn/server/resourcemanager/scheduler/fair/AllocationFileLoaderService.java @@ -639,7 +639,7 @@ public class AllocationFileLoaderService extends AbstractService { return defaultPermissions; } - interface Listener { + public interface Listener { void onReload(AllocationConfiguration info) throws IOException; } }