YARN-4404. Corrected typo in javadoc.

Contributed by Yesha Vora
This commit is contained in:
Eric Yang 2019-03-15 18:04:04 -04:00
parent 44b8451821
commit 03f3c8aed2
2 changed files with 4 additions and 4 deletions

View File

@ -240,7 +240,7 @@ private static String validateContainerIdAndVersion(
}
/**
* Utility method to validate a list resource requests, by insuring that the
* Utility method to validate a list resource requests, by ensuring that the
* requested memory/vcore is non-negative and not greater than max
*/
public static void normalizeAndValidateRequests(List<ResourceRequest> ask,

View File

@ -195,7 +195,7 @@ private static ContainerStatus createAbnormalContainerStatus(
}
/**
* Utility method to normalize a resource request, by insuring that the
* Utility method to normalize a resource request, by ensuring that the
* requested memory is a multiple of minMemory and is not zero.
*/
@VisibleForTesting
@ -210,7 +210,7 @@ public static void normalizeRequest(
}
/**
* Utility method to normalize a resource request, by insuring that the
* Utility method to normalize a resource request, by ensuring that the
* requested memory is a multiple of increment resource and is not zero.
*
* @return normalized resource
@ -304,7 +304,7 @@ public static void normalizeAndValidateRequest(ResourceRequest resReq,
}
/**
* Utility method to validate a resource request, by insuring that the
* Utility method to validate a resource request, by ensuring that the
* requested memory/vcore is non-negative and not greater than max
*
* @throws InvalidResourceRequestException when there is invalid request