Skip to content

Commit b46ec61

Browse files
committed
HDFS-15660. StorageTypeProto is not compatiable between 3.x and 2.6. Contributed by Ryan Wu.
(cherry picked from commit da1ea25)
1 parent 3101299 commit b46ec61

File tree

1 file changed

+1
-1
lines changed
  • hadoop-hdfs-project/hadoop-hdfs-client/src/main/proto

1 file changed

+1
-1
lines changed

hadoop-hdfs-project/hadoop-hdfs-client/src/main/proto/hdfs.proto

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,7 @@ message StorageTypeQuotaInfosProto {
182182
}
183183

184184
message StorageTypeQuotaInfoProto {
185-
required StorageTypeProto type = 1;
185+
optional StorageTypeProto type = 1 [default = DISK];
186186
required uint64 quota = 2;
187187
required uint64 consumed = 3;
188188
}

0 commit comments

Comments
 (0)