From f176e8a3aeca2f72896a55e9d28d320ce3d3f76c Mon Sep 17 00:00:00 2001 From: Arpit Agarwal Date: Tue, 18 Sep 2018 15:41:28 -0700 Subject: [PATCH] HDDS-501. AllocateBlockResponse.keyLocation must be an optional field. Contributed by Arpit Agarwal. --- hadoop-ozone/common/src/main/proto/OzoneManagerProtocol.proto | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hadoop-ozone/common/src/main/proto/OzoneManagerProtocol.proto b/hadoop-ozone/common/src/main/proto/OzoneManagerProtocol.proto index 242e3b5b833..975c790f784 100644 --- a/hadoop-ozone/common/src/main/proto/OzoneManagerProtocol.proto +++ b/hadoop-ozone/common/src/main/proto/OzoneManagerProtocol.proto @@ -324,7 +324,7 @@ message AllocateBlockRequest { message AllocateBlockResponse { required Status status = 1; - required KeyLocation keyLocation = 2; + optional KeyLocation keyLocation = 2; } message CommitKeyRequest {