Browse Source

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
Vinod Kumar Vavilapalli 12 years ago
parent
commit
3ee5949912

+ 3 - 0
hadoop-yarn-project/CHANGES.txt

@@ -60,6 +60,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

+ 1 - 1
hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager/src/main/java/org/apache/hadoop/yarn/server/nodemanager/containermanager/AuxServices.java

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