From c3124a3f6e9948f60cfc84c5b431a5cf82818a33 Mon Sep 17 00:00:00 2001 From: 9uapaw Date: Fri, 11 Mar 2022 15:37:44 +0100 Subject: [PATCH] YARN-10565. Refactor CS queue initialization to simplify weight mode calculation. Contributed by Benjamin Teke. --- .../server/resourcemanager/scheduler/capacity/ParentQueue.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/capacity/ParentQueue.java b/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/main/java/org/apache/hadoop/yarn/server/resourcemanager/scheduler/capacity/ParentQueue.java index c0ad7f89fd..671ed21c43 100644 --- a/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/main/java/org/apache/hadoop/yarn/server/resourcemanager/scheduler/capacity/ParentQueue.java +++ b/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/main/java/org/apache/hadoop/yarn/server/resourcemanager/scheduler/capacity/ParentQueue.java @@ -1280,7 +1280,7 @@ public void updateClusterResource(Resource clusterResource, labelManager.getResourceByLabel(null, clusterResource), RMNodeLabelsManager.NO_LABEL, this); } catch (IOException e) { - LOG.error("Fatal issue found: e", e); + LOG.error("Error during updating cluster resource: ", e); throw new YarnRuntimeException("Fatal issue during scheduling", e); } finally { writeLock.unlock();