From 51881a863cb596ff01106d8bd386066e56c38a2a Mon Sep 17 00:00:00 2001 From: Wangda Tan Date: Mon, 28 Aug 2017 11:37:35 -0700 Subject: [PATCH] YARN-7112. TestAMRMProxy is failing with invalid request. (Jason Lowe via wangda) Change-Id: I432f4523921666ac218fcf9936f826a0d8d635e0 --- .../hadoop/yarn/client/api/impl/BaseAMRMProxyE2ETest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-client/src/test/java/org/apache/hadoop/yarn/client/api/impl/BaseAMRMProxyE2ETest.java b/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-client/src/test/java/org/apache/hadoop/yarn/client/api/impl/BaseAMRMProxyE2ETest.java index 0b6205415c..fcc3c7bb5c 100644 --- a/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-client/src/test/java/org/apache/hadoop/yarn/client/api/impl/BaseAMRMProxyE2ETest.java +++ b/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-client/src/test/java/org/apache/hadoop/yarn/client/api/impl/BaseAMRMProxyE2ETest.java @@ -128,7 +128,7 @@ protected AllocateRequest createAllocateRequest(List listNode) { ResourceBlacklistRequest resourceBlacklistRequest = ResourceBlacklistRequest .newInstance(new ArrayList<>(), new ArrayList<>()); - int responseId = 1; + int responseId = 0; return AllocateRequest.newInstance(responseId, 0, resourceAsk, new ArrayList<>(), resourceBlacklistRequest);