YARN-368. Fixed a typo in error message in Auxiliary services. Contributed by Albert Chu.
svn merge --ignore-ancestry -c 1501852 ../../trunk/ git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/branches/branch-2@1501853 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
2d88e826e1
commit
56f8a1a6f3
|
@ -43,6 +43,9 @@ Release 2.1.1-beta - UNRELEASED
|
||||||
|
|
||||||
BUG FIXES
|
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
|
Release 2.1.0-beta - 2013-07-02
|
||||||
|
|
||||||
INCOMPATIBLE CHANGES
|
INCOMPATIBLE CHANGES
|
||||||
|
|
|
@ -92,7 +92,7 @@ public class AuxServices extends AbstractService
|
||||||
String.format(YarnConfiguration.NM_AUX_SERVICE_FMT, sName), null,
|
String.format(YarnConfiguration.NM_AUX_SERVICE_FMT, sName), null,
|
||||||
AuxiliaryService.class);
|
AuxiliaryService.class);
|
||||||
if (null == sClass) {
|
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);
|
AuxiliaryService s = ReflectionUtils.newInstance(sClass, conf);
|
||||||
// TODO better use s.getName()?
|
// TODO better use s.getName()?
|
||||||
|
|
Loading…
Reference in New Issue