From 32245c78e2ddc3ee3135169ff960f65aef7f7661 Mon Sep 17 00:00:00 2001 From: Nanda kumar Date: Tue, 30 Jan 2018 20:12:11 +0530 Subject: [PATCH] HDFS-13080. Ozone: Make finalhash in ContainerInfo of StorageContainerDatanodeProtocol.proto optional. Contributed by Elek, Marton. --- .../src/main/proto/StorageContainerDatanodeProtocol.proto | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hadoop-hdfs-project/hadoop-hdfs/src/main/proto/StorageContainerDatanodeProtocol.proto b/hadoop-hdfs-project/hadoop-hdfs/src/main/proto/StorageContainerDatanodeProtocol.proto index 6aa6af7833..9a82c9466a 100644 --- a/hadoop-hdfs-project/hadoop-hdfs/src/main/proto/StorageContainerDatanodeProtocol.proto +++ b/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;