YARN-10565. Refactor CS queue initialization to simplify weight mode calculation. Contributed by Benjamin Teke.

This commit is contained in:
9uapaw 2022-03-11 15:37:44 +01:00
parent e2701e227f
commit c3124a3f6e

View File

@ -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();