YARN-8723. Fix a typo in CS init error message when resource calculator is not correctly set. Contributed by Abhishek Modi.
This commit is contained in:
parent
64ad0298d4
commit
3fa4639421
@ -348,7 +348,7 @@ void initScheduler(Configuration configuration) throws
|
|||||||
throw new YarnRuntimeException("RM uses DefaultResourceCalculator which"
|
throw new YarnRuntimeException("RM uses DefaultResourceCalculator which"
|
||||||
+ " used only memory as resource-type but invalid resource-types"
|
+ " used only memory as resource-type but invalid resource-types"
|
||||||
+ " specified " + ResourceUtils.getResourceTypes() + ". Use"
|
+ " specified " + ResourceUtils.getResourceTypes() + ". Use"
|
||||||
+ " DomainantResourceCalculator instead to make effective use of"
|
+ " DominantResourceCalculator instead to make effective use of"
|
||||||
+ " these resource-types");
|
+ " these resource-types");
|
||||||
}
|
}
|
||||||
this.usePortForNodeName = this.conf.getUsePortForNodeName();
|
this.usePortForNodeName = this.conf.getUsePortForNodeName();
|
||||||
|
Loading…
Reference in New Issue
Block a user