Przeglądaj źródła

YARN-3444. Fix typo capabililty. Contributed by Gabor Liptak.

Akira Ajisaka 10 lat temu
rodzic
commit
5ce3a77f3c

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

@@ -265,6 +265,8 @@ Release 2.8.0 - UNRELEASED
     YARN-3387. Previous AM's container completed status couldn't pass to current
     YARN-3387. Previous AM's container completed status couldn't pass to current
     AM if AM and RM restarted during the same time. (sandflee via jianhe)
     AM if AM and RM restarted during the same time. (sandflee via jianhe)
 
 
+    YARN-3444. Fix typo capabililty. (Gabor Liptak via aajisaka)
+
 Release 2.7.1 - UNRELEASED
 Release 2.7.1 - UNRELEASED
 
 
   INCOMPATIBLE CHANGES
   INCOMPATIBLE CHANGES

+ 2 - 2
hadoop-yarn-project/hadoop-yarn/hadoop-yarn-applications/hadoop-yarn-applications-distributedshell/src/main/java/org/apache/hadoop/yarn/applications/distributedshell/ApplicationMaster.java

@@ -577,10 +577,10 @@ public class ApplicationMaster {
     // Dump out information about cluster capability as seen by the
     // Dump out information about cluster capability as seen by the
     // resource manager
     // resource manager
     int maxMem = response.getMaximumResourceCapability().getMemory();
     int maxMem = response.getMaximumResourceCapability().getMemory();
-    LOG.info("Max mem capabililty of resources in this cluster " + maxMem);
+    LOG.info("Max mem capability of resources in this cluster " + maxMem);
     
     
     int maxVCores = response.getMaximumResourceCapability().getVirtualCores();
     int maxVCores = response.getMaximumResourceCapability().getVirtualCores();
-    LOG.info("Max vcores capabililty of resources in this cluster " + maxVCores);
+    LOG.info("Max vcores capability of resources in this cluster " + maxVCores);
 
 
     // A resource ask cannot exceed the max.
     // A resource ask cannot exceed the max.
     if (containerMemory > maxMem) {
     if (containerMemory > maxMem) {

+ 2 - 2
hadoop-yarn-project/hadoop-yarn/hadoop-yarn-applications/hadoop-yarn-applications-distributedshell/src/main/java/org/apache/hadoop/yarn/applications/distributedshell/Client.java

@@ -488,7 +488,7 @@ public class Client {
     // Memory ask has to be a multiple of min and less than max. 
     // Memory ask has to be a multiple of min and less than max. 
     // Dump out information about cluster capability as seen by the resource manager
     // Dump out information about cluster capability as seen by the resource manager
     int maxMem = appResponse.getMaximumResourceCapability().getMemory();
     int maxMem = appResponse.getMaximumResourceCapability().getMemory();
-    LOG.info("Max mem capabililty of resources in this cluster " + maxMem);
+    LOG.info("Max mem capability of resources in this cluster " + maxMem);
 
 
     // A resource ask cannot exceed the max. 
     // A resource ask cannot exceed the max. 
     if (amMemory > maxMem) {
     if (amMemory > maxMem) {
@@ -499,7 +499,7 @@ public class Client {
     }				
     }				
 
 
     int maxVCores = appResponse.getMaximumResourceCapability().getVirtualCores();
     int maxVCores = appResponse.getMaximumResourceCapability().getVirtualCores();
-    LOG.info("Max virtual cores capabililty of resources in this cluster " + maxVCores);
+    LOG.info("Max virtual cores capability of resources in this cluster " + maxVCores);
     
     
     if (amVCores > maxVCores) {
     if (amVCores > maxVCores) {
       LOG.info("AM virtual cores specified above max threshold of cluster. " 
       LOG.info("AM virtual cores specified above max threshold of cluster. " 

+ 2 - 2
hadoop-yarn-project/hadoop-yarn/hadoop-yarn-site/src/site/markdown/WritingYarnApplications.md

@@ -356,10 +356,10 @@ RegisterApplicationMasterResponse response = amRMClient
 // Dump out information about cluster capability as seen by the
 // Dump out information about cluster capability as seen by the
 // resource manager
 // resource manager
 int maxMem = response.getMaximumResourceCapability().getMemory();
 int maxMem = response.getMaximumResourceCapability().getMemory();
-LOG.info("Max mem capabililty of resources in this cluster " + maxMem);
+LOG.info("Max mem capability of resources in this cluster " + maxMem);
 
 
 int maxVCores = response.getMaximumResourceCapability().getVirtualCores();
 int maxVCores = response.getMaximumResourceCapability().getVirtualCores();
-LOG.info("Max vcores capabililty of resources in this cluster " + maxVCores);
+LOG.info("Max vcores capability of resources in this cluster " + maxVCores);
 
 
 // A resource ask cannot exceed the max.
 // A resource ask cannot exceed the max.
 if (containerMemory > maxMem) {
 if (containerMemory > maxMem) {