From 5323b0048b743771276ba860b10c27b23a70bf9e Mon Sep 17 00:00:00 2001 From: Jian He Date: Mon, 13 Nov 2017 15:37:39 -0800 Subject: [PATCH] YARN-7466. ResourceRequest has a different default for allocationRequestId than Container. Contributed by Chandni Singh --- .../hadoop-yarn-api/src/main/proto/yarn_protos.proto | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-api/src/main/proto/yarn_protos.proto b/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-api/src/main/proto/yarn_protos.proto index e69c07bcbb..7769c48fb7 100644 --- a/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-api/src/main/proto/yarn_protos.proto +++ b/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-api/src/main/proto/yarn_protos.proto @@ -388,7 +388,7 @@ message ResourceRequestProto { optional bool relax_locality = 5 [default = true]; optional string node_label_expression = 6; optional ExecutionTypeRequestProto execution_type_request = 7; - optional int64 allocation_request_id = 8 [default = 0]; + optional int64 allocation_request_id = 8 [default = -1]; optional ProfileCapabilityProto profile = 9; }