YARN-8723. Fix a typo in CS init error message when resource calculator is not correctly set. Contributed by Abhishek Modi.
(cherry picked from commit 3fa4639421
)
This commit is contained in:
parent
c01c240f6f
commit
f164568b47
|
@ -344,7 +344,7 @@ public class CapacityScheduler extends
|
|||
throw new YarnRuntimeException("RM uses DefaultResourceCalculator which"
|
||||
+ " used only memory as resource-type but invalid resource-types"
|
||||
+ " specified " + ResourceUtils.getResourceTypes() + ". Use"
|
||||
+ " DomainantResourceCalculator instead to make effective use of"
|
||||
+ " DominantResourceCalculator instead to make effective use of"
|
||||
+ " these resource-types");
|
||||
}
|
||||
this.usePortForNodeName = this.conf.getUsePortForNodeName();
|
||||
|
|
Loading…
Reference in New Issue