浏览代码

HDFS-13080. Ozone: Make finalhash in ContainerInfo of StorageContainerDatanodeProtocol.proto optional. Contributed by Elek, Marton.

Nanda kumar 7 年之前
父节点
当前提交
32245c78e2

+ 1 - 1
hadoop-hdfs-project/hadoop-hdfs/src/main/proto/StorageContainerDatanodeProtocol.proto

@@ -94,7 +94,7 @@ A container report contains the following information.
 */
 message ContainerInfo {
   required string containerName = 1;
-  required string finalhash = 2;
+  optional string finalhash = 2;
   optional int64 size = 3;
   optional int64 used = 4;
   optional int64 keyCount = 5;