Browse Source

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

Arpit Agarwal 6 years ago
parent
commit
f176e8a3ae
1 changed files with 1 additions and 1 deletions
  1. 1 1
      hadoop-ozone/common/src/main/proto/OzoneManagerProtocol.proto

+ 1 - 1
hadoop-ozone/common/src/main/proto/OzoneManagerProtocol.proto

@@ -324,7 +324,7 @@ message AllocateBlockRequest {
 
 
 message AllocateBlockResponse {
 message AllocateBlockResponse {
     required Status status = 1;
     required Status status = 1;
-    required KeyLocation keyLocation = 2;
+    optional KeyLocation keyLocation = 2;
 }
 }
 
 
 message CommitKeyRequest {
 message CommitKeyRequest {