YARN-10565. Refactor CS queue initialization to simplify weight mode calculation. Contributed by Benjamin Teke.
This commit is contained in:
parent
e2701e227f
commit
c3124a3f6e
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user