From 1512fdf92f95a599664d6e760db19ccea1d644b2 Mon Sep 17 00:00:00 2001 From: gliptak Date: Mon, 9 Mar 2015 20:52:59 -0400 Subject: [PATCH] Fixed typo (capability) --- .../hadoop/yarn/applications/distributedshell/Client.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-applications/hadoop-yarn-applications-distributedshell/src/main/java/org/apache/hadoop/yarn/applications/distributedshell/Client.java b/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-applications/hadoop-yarn-applications-distributedshell/src/main/java/org/apache/hadoop/yarn/applications/distributedshell/Client.java index 0e9a4e4a495fa..5a90880ee8549 100644 --- a/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-applications/hadoop-yarn-applications-distributedshell/src/main/java/org/apache/hadoop/yarn/applications/distributedshell/Client.java +++ b/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 boolean run() throws IOException, YarnException { // 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 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. if (amMemory > maxMem) { @@ -499,7 +499,7 @@ public boolean run() throws IOException, YarnException { } 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) { LOG.info("AM virtual cores specified above max threshold of cluster. "