YARN-7112. TestAMRMProxy is failing with invalid request. (Jason Lowe via wangda)

Change-Id: I432f4523921666ac218fcf9936f826a0d8d635e0
This commit is contained in:
Wangda Tan 2017-08-28 11:37:35 -07:00
parent d5bc958279
commit 51881a863c

View File

@ -128,7 +128,7 @@ protected AllocateRequest createAllocateRequest(List<NodeReport> listNode) {
ResourceBlacklistRequest resourceBlacklistRequest = ResourceBlacklistRequest ResourceBlacklistRequest resourceBlacklistRequest = ResourceBlacklistRequest
.newInstance(new ArrayList<>(), new ArrayList<>()); .newInstance(new ArrayList<>(), new ArrayList<>());
int responseId = 1; int responseId = 0;
return AllocateRequest.newInstance(responseId, 0, resourceAsk, return AllocateRequest.newInstance(responseId, 0, resourceAsk,
new ArrayList<>(), resourceBlacklistRequest); new ArrayList<>(), resourceBlacklistRequest);