HDDS-501. AllocateBlockResponse.keyLocation must be an optional field. 
Contributed by Arpit Agarwal.

(cherry picked from commit f176e8a3aeca2f72896a55e9d28d320ce3d3f76c)


Project: http://git-wip-us.apache.org/repos/asf/hadoop/repo
Commit: http://git-wip-us.apache.org/repos/asf/hadoop/commit/3b14f3c9
Tree: http://git-wip-us.apache.org/repos/asf/hadoop/tree/3b14f3c9
Diff: http://git-wip-us.apache.org/repos/asf/hadoop/diff/3b14f3c9

Branch: refs/heads/ozone-0.2
Commit: 3b14f3c98532c64c0e315f95f88f7bbee0b90b9f
Parents: 05c4ff5
Author: Arpit Agarwal <[email protected]>
Authored: Tue Sep 18 15:41:28 2018 -0700
Committer: Arpit Agarwal <[email protected]>
Committed: Tue Sep 18 15:42:08 2018 -0700

----------------------------------------------------------------------
 hadoop-ozone/common/src/main/proto/OzoneManagerProtocol.proto | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hadoop/blob/3b14f3c9/hadoop-ozone/common/src/main/proto/OzoneManagerProtocol.proto
----------------------------------------------------------------------
diff --git a/hadoop-ozone/common/src/main/proto/OzoneManagerProtocol.proto 
b/hadoop-ozone/common/src/main/proto/OzoneManagerProtocol.proto
index 242e3b5..975c790 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 {


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to