YARN-3444. Fix typo capabililty. Contributed by Gabor Liptak.
This commit is contained in:
parent
a287d2fb77
commit
5ce3a77f3c
@ -265,6 +265,8 @@ Release 2.8.0 - UNRELEASED
|
||||
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)
|
||||
|
||||
YARN-3444. Fix typo capabililty. (Gabor Liptak via aajisaka)
|
||||
|
||||
Release 2.7.1 - UNRELEASED
|
||||
|
||||
INCOMPATIBLE CHANGES
|
||||
|
@ -577,10 +577,10 @@ public void run() throws YarnException, IOException, InterruptedException {
|
||||
// Dump out information about cluster capability as seen by the
|
||||
// resource manager
|
||||
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();
|
||||
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.
|
||||
if (containerMemory > maxMem) {
|
||||
|
@ -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. "
|
||||
|
@ -356,10 +356,10 @@ RegisterApplicationMasterResponse response = amRMClient
|
||||
// Dump out information about cluster capability as seen by the
|
||||
// resource manager
|
||||
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();
|
||||
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.
|
||||
if (containerMemory > maxMem) {
|
||||
|
Loading…
Reference in New Issue
Block a user