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 3fa46394214181ed1cc7f06b886282bbdf67a10f)
This commit is contained in:
parent
c01c240f6f
commit
f164568b47
@ -344,7 +344,7 @@ void initScheduler(Configuration configuration) throws
|
||||
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…
x
Reference in New Issue
Block a user