Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
3.2.3, 3.3.2
Description
It calls the QueueConfigurations#getEffectiveMinCapacity to get the wrong value when I use the YarnClient. I found some bugs with QueueConfigurationsPBImpl#mergeLocalToBuilder.
private void mergeLocalToBuilder() { if (this.effMinResource != null) { builder .setEffectiveMinCapacity(convertToProtoFormat(this.effMinResource)); } if (this.effMaxResource != null) { builder .setEffectiveMaxCapacity(convertToProtoFormat(this.effMaxResource)); } if (this.configuredMinResource != null) { builder.setEffectiveMinCapacity( convertToProtoFormat(this.configuredMinResource)); } if (this.configuredMaxResource != null) { builder.setEffectiveMaxCapacity( convertToProtoFormat(this.configuredMaxResource)); } }
configuredMinResource was incorrectly assigned to effMinResource. This causes the real effMinResource to be overwritten and configuredMinResource is null.
Attachments
Issue Links
- is caused by
-
YARN-7254 UI and metrics changes related to absolute resource configuration
-
- Resolved
-
- links to