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:
parent
58d75576c4
commit
3ee5949912
|
@ -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
|
||||
|
|
|
@ -92,7 +92,7 @@ public class AuxServices extends AbstractService
|
|||
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()?
|
||||
|
|
Loading…
Reference in New Issue