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:
Weiwei Yang 2018-08-29 10:46:13 +08:00
parent c01c240f6f
commit f164568b47
1 changed files with 1 additions and 1 deletions

View File

@ -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();