YARN-368. Fixed a typo in error message in Auxiliary services. Contributed by Albert Chu.

git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1501852 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Vinod Kumar Vavilapalli 2013-07-10 17:02:08 +00:00
parent 58d75576c4
commit 3ee5949912
2 changed files with 4 additions and 1 deletions

View File

@ -60,6 +60,9 @@ Release 2.1.1-beta - UNRELEASED
BUG FIXES
YARN-368. Fixed a typo in error message in Auxiliary services. (Albert Chu
via vinodkv)
Release 2.1.0-beta - 2013-07-02
INCOMPATIBLE CHANGES

View File

@ -92,7 +92,7 @@ public void serviceInit(Configuration conf) throws Exception {
String.format(YarnConfiguration.NM_AUX_SERVICE_FMT, sName), null,
AuxiliaryService.class);
if (null == sClass) {
throw new RuntimeException("No class defiend for " + sName);
throw new RuntimeException("No class defined for " + sName);
}
AuxiliaryService s = ReflectionUtils.newInstance(sClass, conf);
// TODO better use s.getName()?