YARN-7466. addendum patch for failing unit test. (Contributed by Chandni Singh)

This commit is contained in:
Eric Yang 2017-12-19 18:42:27 -05:00
parent 989c75109a
commit 94a2ac6b71

View File

@ -177,7 +177,7 @@ public AllocateResponse allocate(
List<ContainerId> releases, String labelExpression) throws Exception {
List<ResourceRequest> reqs =
createReq(new String[] { host }, memory, priority, numContainers,
labelExpression, 0L);
labelExpression, -1);
return allocate(reqs, releases);
}