|
@@ -195,7 +195,7 @@ public class SchedulerUtils {
|
|
}
|
|
}
|
|
|
|
|
|
/**
|
|
/**
|
|
- * 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.
|
|
* requested memory is a multiple of minMemory and is not zero.
|
|
*/
|
|
*/
|
|
@VisibleForTesting
|
|
@VisibleForTesting
|
|
@@ -210,7 +210,7 @@ public class SchedulerUtils {
|
|
}
|
|
}
|
|
|
|
|
|
/**
|
|
/**
|
|
- * 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.
|
|
* requested memory is a multiple of increment resource and is not zero.
|
|
*
|
|
*
|
|
* @return normalized resource
|
|
* @return normalized resource
|
|
@@ -304,7 +304,7 @@ public class SchedulerUtils {
|
|
}
|
|
}
|
|
|
|
|
|
/**
|
|
/**
|
|
- * 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
|
|
* requested memory/vcore is non-negative and not greater than max
|
|
*
|
|
*
|
|
* @throws InvalidResourceRequestException when there is invalid request
|
|
* @throws InvalidResourceRequestException when there is invalid request
|