YARN-7112. TestAMRMProxy is failing with invalid request. (Jason Lowe via wangda)
Change-Id: I432f4523921666ac218fcf9936f826a0d8d635e0
This commit is contained in:
parent
d5bc958279
commit
51881a863c
@ -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);
|
||||||
|
Loading…
Reference in New Issue
Block a user