From c0dacda54652e32ddd0ac1bc8c1d1af404cc22bd Mon Sep 17 00:00:00 2001 From: Akira Ajisaka Date: Tue, 26 Sep 2017 02:03:30 +0900 Subject: [PATCH] YARN-7153. Remove duplicated code in AMRMClientAsyncImpl.java. Contributed by Sen Zhao. (cherry picked from commit e928ee583c5a1367e24eab34057f8d8496891452) --- .../yarn/client/api/async/impl/AMRMClientAsyncImpl.java | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-client/src/main/java/org/apache/hadoop/yarn/client/api/async/impl/AMRMClientAsyncImpl.java b/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-client/src/main/java/org/apache/hadoop/yarn/client/api/async/impl/AMRMClientAsyncImpl.java index c075be4e004..089884a12f6 100644 --- a/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-client/src/main/java/org/apache/hadoop/yarn/client/api/async/impl/AMRMClientAsyncImpl.java +++ b/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-client/src/main/java/org/apache/hadoop/yarn/client/api/async/impl/AMRMClientAsyncImpl.java @@ -141,11 +141,7 @@ extends AMRMClientAsync { handlerThread.interrupt(); super.serviceStop(); } - - public void setHeartbeatInterval(int interval) { - heartbeatIntervalMs.set(interval); - } - + public List> getMatchingRequests( Priority priority, String resourceName,