diff --git a/hadoop-hdds/interface-admin/src/main/resources/proto.lock b/hadoop-hdds/interface-admin/src/main/resources/proto.lock index 8e898afc5c11..45b040844815 100644 --- a/hadoop-hdds/interface-admin/src/main/resources/proto.lock +++ b/hadoop-hdds/interface-admin/src/main/resources/proto.lock @@ -187,6 +187,22 @@ { "name": "DecommissionScm", "integer": 40 + }, + { + "name": "SingleNodeQuery", + "integer": 41 + }, + { + "name": "GetContainersOnDecomNode", + "integer": 42 + }, + { + "name": "GetMetrics", + "integer": 43 + }, + { + "name": "GetContainerBalancerStatusInfo", + "integer": 44 } ] }, @@ -497,6 +513,30 @@ "name": "decommissionScmRequest", "type": "DecommissionScmRequestProto", "optional": true + }, + { + "id": 45, + "name": "singleNodeQueryRequest", + "type": "SingleNodeQueryRequestProto", + "optional": true + }, + { + "id": 46, + "name": "getContainersOnDecomNodeRequest", + "type": "GetContainersOnDecomNodeRequestProto", + "optional": true + }, + { + "id": 47, + "name": "getMetricsRequest", + "type": "GetMetricsRequestProto", + "optional": true + }, + { + "id": 48, + "name": "containerBalancerStatusInfoRequest", + "type": "ContainerBalancerStatusInfoRequestProto", + "optional": true } ] }, @@ -772,6 +812,30 @@ "name": "decommissionScmResponse", "type": "DecommissionScmResponseProto", "optional": true + }, + { + "id": 45, + "name": "singleNodeQueryResponse", + "type": "SingleNodeQueryResponseProto", + "optional": true + }, + { + "id": 46, + "name": "getContainersOnDecomNodeResponse", + "type": "GetContainersOnDecomNodeResponseProto", + "optional": true + }, + { + "id": 47, + "name": "getMetricsResponse", + "type": "GetMetricsResponseProto", + "optional": true + }, + { + "id": 48, + "name": "containerBalancerStatusInfoResponse", + "type": "ContainerBalancerStatusInfoResponseProto", + "optional": true } ] }, @@ -1059,6 +1123,12 @@ "name": "containers", "type": "ContainerInfoProto", "is_repeated": true + }, + { + "id": 2, + "name": "containerCount", + "type": "int64", + "optional": true } ] }, @@ -1156,6 +1226,28 @@ } ] }, + { + "name": "SingleNodeQueryRequestProto", + "fields": [ + { + "id": 1, + "name": "uuid", + "type": "UUID", + "required": true + } + ] + }, + { + "name": "SingleNodeQueryResponseProto", + "fields": [ + { + "id": 1, + "name": "datanode", + "type": "Node", + "optional": true + } + ] + }, { "name": "DatanodeUsageInfoRequestProto", "fields": [ @@ -1204,6 +1296,12 @@ "name": "hosts", "type": "string", "is_repeated": true + }, + { + "id": 2, + "name": "force", + "type": "bool", + "optional": true } ] }, @@ -1271,6 +1369,12 @@ "name": "endInHours", "type": "int64", "optional": true + }, + { + "id": 3, + "name": "force", + "type": "bool", + "optional": true } ] }, @@ -1832,6 +1936,42 @@ "name": "iterations", "type": "int32", "optional": true + }, + { + "id": 10, + "name": "balancingInterval", + "type": "int32", + "optional": true + }, + { + "id": 11, + "name": "moveTimeout", + "type": "int32", + "optional": true + }, + { + "id": 12, + "name": "moveReplicationTimeout", + "type": "int32", + "optional": true + }, + { + "id": 13, + "name": "networkTopologyEnable", + "type": "bool", + "optional": true + }, + { + "id": 14, + "name": "includeNodes", + "type": "string", + "optional": true + }, + { + "id": 15, + "name": "excludeNodes", + "type": "string", + "optional": true } ] }, @@ -1888,6 +2028,145 @@ } ] }, + { + "name": "ContainerBalancerStatusInfoRequestProto", + "fields": [ + { + "id": 1, + "name": "traceID", + "type": "string", + "optional": true + } + ] + }, + { + "name": "ContainerBalancerStatusInfoResponseProto", + "fields": [ + { + "id": 1, + "name": "isRunning", + "type": "bool", + "optional": true + }, + { + "id": 2, + "name": "containerBalancerStatusInfo", + "type": "ContainerBalancerStatusInfoProto", + "optional": true + } + ] + }, + { + "name": "ContainerBalancerStatusInfoProto", + "fields": [ + { + "id": 1, + "name": "startedAt", + "type": "uint64", + "optional": true + }, + { + "id": 2, + "name": "configuration", + "type": "ContainerBalancerConfigurationProto", + "optional": true + }, + { + "id": 3, + "name": "iterationsStatusInfo", + "type": "ContainerBalancerTaskIterationStatusInfoProto", + "is_repeated": true + } + ] + }, + { + "name": "ContainerBalancerTaskIterationStatusInfoProto", + "fields": [ + { + "id": 1, + "name": "iterationNumber", + "type": "int32", + "optional": true + }, + { + "id": 2, + "name": "iterationResult", + "type": "string", + "optional": true + }, + { + "id": 3, + "name": "sizeScheduledForMove", + "type": "int64", + "optional": true + }, + { + "id": 4, + "name": "dataSizeMoved", + "type": "int64", + "optional": true + }, + { + "id": 5, + "name": "containerMovesScheduled", + "type": "int64", + "optional": true + }, + { + "id": 6, + "name": "containerMovesCompleted", + "type": "int64", + "optional": true + }, + { + "id": 7, + "name": "containerMovesFailed", + "type": "int64", + "optional": true + }, + { + "id": 8, + "name": "containerMovesTimeout", + "type": "int64", + "optional": true + }, + { + "id": 9, + "name": "sizeEnteringNodes", + "type": "NodeTransferInfoProto", + "is_repeated": true + }, + { + "id": 10, + "name": "sizeLeavingNodes", + "type": "NodeTransferInfoProto", + "is_repeated": true + }, + { + "id": 11, + "name": "iterationDuration", + "type": "int64", + "optional": true + } + ] + }, + { + "name": "NodeTransferInfoProto", + "fields": [ + { + "id": 1, + "name": "uuid", + "type": "string", + "optional": true + }, + { + "id": 2, + "name": "dataVolume", + "type": "int64", + "optional": true + } + ] + }, { "name": "DecommissionScmRequestProto", "fields": [ @@ -1915,6 +2194,67 @@ "optional": true } ] + }, + { + "name": "GetContainersOnDecomNodeRequestProto", + "fields": [ + { + "id": 1, + "name": "datanodeDetails", + "type": "DatanodeDetailsProto", + "required": true + } + ] + }, + { + "name": "ContainersOnDecomNodeProto", + "fields": [ + { + "id": 1, + "name": "name", + "type": "string", + "required": true + }, + { + "id": 2, + "name": "id", + "type": "ContainerID", + "is_repeated": true + } + ] + }, + { + "name": "GetContainersOnDecomNodeResponseProto", + "fields": [ + { + "id": 1, + "name": "containersOnDecomNode", + "type": "ContainersOnDecomNodeProto", + "is_repeated": true + } + ] + }, + { + "name": "GetMetricsRequestProto", + "fields": [ + { + "id": 1, + "name": "query", + "type": "string", + "optional": true + } + ] + }, + { + "name": "GetMetricsResponseProto", + "fields": [ + { + "id": 1, + "name": "metricsJson", + "type": "string", + "optional": true + } + ] } ], "services": [ diff --git a/hadoop-hdds/interface-client/src/main/resources/proto.lock b/hadoop-hdds/interface-client/src/main/resources/proto.lock index e59b77b93d47..e97243906e3d 100644 --- a/hadoop-hdds/interface-client/src/main/resources/proto.lock +++ b/hadoop-hdds/interface-client/src/main/resources/proto.lock @@ -86,6 +86,14 @@ { "name": "StreamWrite", "integer": 20 + }, + { + "name": "FinalizeBlock", + "integer": 21 + }, + { + "name": "Echo", + "integer": 22 } ] }, @@ -271,6 +279,10 @@ { "name": "IMPORT_CONTAINER_METADATA_FAILED", "integer": 46 + }, + { + "name": "BLOCK_ALREADY_FINALIZED", + "integer": 47 } ] }, @@ -594,6 +606,18 @@ "name": "version", "type": "uint32", "optional": true + }, + { + "id": 25, + "name": "finalizeBlock", + "type": "FinalizeBlockRequestProto", + "optional": true + }, + { + "id": 26, + "name": "echo", + "type": "EchoRequestProto", + "optional": true } ] }, @@ -725,6 +749,18 @@ "name": "getCommittedBlockLength", "type": "GetCommittedBlockLengthResponseProto", "optional": true + }, + { + "id": 22, + "name": "finalizeBlock", + "type": "FinalizeBlockResponseProto", + "optional": true + }, + { + "id": 23, + "name": "echo", + "type": "EchoResponseProto", + "optional": true } ] }, @@ -1009,6 +1045,28 @@ } ] }, + { + "name": "FinalizeBlockRequestProto", + "fields": [ + { + "id": 1, + "name": "blockID", + "type": "DatanodeBlockID", + "required": true + } + ] + }, + { + "name": "FinalizeBlockResponseProto", + "fields": [ + { + "id": 1, + "name": "blockData", + "type": "BlockData", + "required": true + } + ] + }, { "name": "GetBlockRequestProto", "fields": [ @@ -1101,6 +1159,46 @@ } ] }, + { + "name": "EchoRequestProto", + "fields": [ + { + "id": 1, + "name": "payload", + "type": "bytes", + "optional": true + }, + { + "id": 2, + "name": "payloadSizeResp", + "type": "int32", + "optional": true + }, + { + "id": 3, + "name": "sleepTimeMs", + "type": "int32", + "optional": true + }, + { + "id": 4, + "name": "readOnly", + "type": "bool", + "optional": true + } + ] + }, + { + "name": "EchoResponseProto", + "fields": [ + { + "id": 1, + "name": "payload", + "type": "bytes", + "optional": true + } + ] + }, { "name": "ChunkInfo", "fields": [ @@ -1196,11 +1294,25 @@ "name": "data", "type": "bytes", "optional": true + }, + { + "id": 4, + "name": "block", + "type": "PutBlockRequestProto", + "optional": true } ] }, { - "name": "WriteChunkResponseProto" + "name": "WriteChunkResponseProto", + "fields": [ + { + "id": 1, + "name": "committedBlockLength", + "type": "GetCommittedBlockLengthResponseProto", + "optional": true + } + ] }, { "name": "ReadChunkRequestProto", @@ -2012,6 +2124,17 @@ } ] }, + { + "name": "DatanodeIDProto", + "fields": [ + { + "id": 1, + "name": "uuid", + "type": "UUID", + "required": true + } + ] + }, { "name": "DatanodeDetailsProto", "fields": [ @@ -2069,11 +2192,29 @@ "type": "int64", "optional": true }, + { + "id": 10, + "name": "currentVersion", + "type": "int32", + "optional": true + }, { "id": 100, "name": "uuid128", "type": "UUID", "optional": true + }, + { + "id": 101, + "name": "level", + "type": "uint32", + "optional": true + }, + { + "id": 102, + "name": "id", + "type": "DatanodeIDProto", + "optional": true } ] }, @@ -2347,6 +2488,18 @@ "name": "leaderID128", "type": "UUID", "optional": true + }, + { + "id": 101, + "name": "leaderDatanodeID", + "type": "DatanodeIDProto", + "optional": true + }, + { + "id": 102, + "name": "suggestedLeaderDatanodeID", + "type": "DatanodeIDProto", + "optional": true } ] }, @@ -2445,6 +2598,12 @@ "name": "freeSpaceToSpare", "type": "int64", "optional": true + }, + { + "id": 8, + "name": "pipelineCount", + "type": "int64", + "optional": true } ] }, @@ -3302,6 +3461,92 @@ "optional": true } ] + }, + { + "name": "NodeTopology", + "fields": [ + { + "id": 1, + "name": "name", + "type": "string", + "optional": true + }, + { + "id": 2, + "name": "location", + "type": "string", + "optional": true + }, + { + "id": 3, + "name": "cost", + "type": "uint32", + "optional": true + }, + { + "id": 4, + "name": "level", + "type": "uint32", + "optional": true + } + ] + }, + { + "name": "NetworkNode", + "fields": [ + { + "id": 1, + "name": "datanodeDetails", + "type": "DatanodeDetailsProto", + "optional": true + }, + { + "id": 3, + "name": "innerNode", + "type": "InnerNode", + "optional": true + } + ] + }, + { + "name": "ChildrenMap", + "fields": [ + { + "id": 1, + "name": "networkName", + "type": "string", + "optional": true + }, + { + "id": 2, + "name": "networkNode", + "type": "NetworkNode", + "optional": true + } + ] + }, + { + "name": "InnerNode", + "fields": [ + { + "id": 1, + "name": "nodeTopology", + "type": "NodeTopology", + "optional": true + }, + { + "id": 2, + "name": "numOfLeaves", + "type": "uint32", + "optional": true + }, + { + "id": 3, + "name": "childrenMap", + "type": "ChildrenMap", + "is_repeated": true + } + ] } ], "package": { diff --git a/hadoop-hdds/interface-server/src/main/resources/proto.lock b/hadoop-hdds/interface-server/src/main/resources/proto.lock index bb5748eab298..10b246418d05 100644 --- a/hadoop-hdds/interface-server/src/main/resources/proto.lock +++ b/hadoop-hdds/interface-server/src/main/resources/proto.lock @@ -2396,6 +2396,10 @@ { "name": "AddScm", "integer": 15 + }, + { + "name": "GetClusterTree", + "integer": 16 } ] }, @@ -2663,6 +2667,12 @@ "name": "addScmRequestProto", "type": "hadoop.hdds.AddScmRequestProto", "optional": true + }, + { + "id": 16, + "name": "getClusterTreeRequest", + "type": "GetClusterTreeRequestProto", + "optional": true } ] }, @@ -2746,6 +2756,12 @@ "name": "addScmResponse", "type": "hadoop.hdds.AddScmResponseProto", "optional": true + }, + { + "id": 16, + "name": "getClusterTreeResponse", + "type": "GetClusterTreeResponseProto", + "optional": true } ] }, @@ -2947,6 +2963,20 @@ "is_repeated": true } ] + }, + { + "name": "GetClusterTreeRequestProto" + }, + { + "name": "GetClusterTreeResponseProto", + "fields": [ + { + "id": 1, + "name": "clusterTree", + "type": "InnerNode", + "required": true + } + ] } ], "services": [ diff --git a/hadoop-ozone/interface-client/src/main/resources/proto.lock b/hadoop-ozone/interface-client/src/main/resources/proto.lock index 0b28e0953c4e..7fe80ee38145 100644 --- a/hadoop-ozone/interface-client/src/main/resources/proto.lock +++ b/hadoop-ozone/interface-client/src/main/resources/proto.lock @@ -524,6 +524,42 @@ { "name": "GetSnapshotInfo", "integer": 130 + }, + { + "name": "RenameSnapshot", + "integer": 131 + }, + { + "name": "ListOpenFiles", + "integer": 132 + }, + { + "name": "QuotaRepair", + "integer": 133 + }, + { + "name": "GetQuotaRepairStatus", + "integer": 135 + }, + { + "name": "StartQuotaRepair", + "integer": 136 + }, + { + "name": "SnapshotMoveTableKeys", + "integer": 137 + }, + { + "name": "PutObjectTagging", + "integer": 140 + }, + { + "name": "GetObjectTagging", + "integer": 141 + }, + { + "name": "DeleteObjectTagging", + "integer": 142 } ] }, @@ -914,6 +950,18 @@ { "name": "TOO_MANY_BUCKETS", "integer": 94 + }, + { + "name": "KEY_UNDER_LEASE_RECOVERY", + "integer": 95 + }, + { + "name": "KEY_ALREADY_CLOSED", + "integer": 96 + }, + { + "name": "KEY_UNDER_LEASE_SOFT_LIMIT_PERIOD", + "integer": 97 } ] }, @@ -1563,13 +1611,25 @@ "id": 91, "name": "listTrashRequest", "type": "ListTrashRequest", - "optional": true + "optional": true, + "options": [ + { + "name": "deprecated", + "value": "true" + } + ] }, { "id": 92, "name": "RecoverTrashRequest", "type": "RecoverTrashRequest", - "optional": true + "optional": true, + "options": [ + { + "name": "deprecated", + "value": "true" + } + ] }, { "id": 93, @@ -1792,6 +1852,60 @@ "name": "SnapshotInfoRequest", "type": "SnapshotInfoRequest", "optional": true + }, + { + "id": 129, + "name": "RenameSnapshotRequest", + "type": "RenameSnapshotRequest", + "optional": true + }, + { + "id": 130, + "name": "ListOpenFilesRequest", + "type": "ListOpenFilesRequest", + "optional": true + }, + { + "id": 131, + "name": "QuotaRepairRequest", + "type": "QuotaRepairRequest", + "optional": true + }, + { + "id": 133, + "name": "GetQuotaRepairStatusRequest", + "type": "GetQuotaRepairStatusRequest", + "optional": true + }, + { + "id": 134, + "name": "StartQuotaRepairRequest", + "type": "StartQuotaRepairRequest", + "optional": true + }, + { + "id": 135, + "name": "SnapshotMoveTableKeysRequest", + "type": "SnapshotMoveTableKeysRequest", + "optional": true + }, + { + "id": 140, + "name": "getObjectTaggingRequest", + "type": "GetObjectTaggingRequest", + "optional": true + }, + { + "id": 141, + "name": "putObjectTaggingRequest", + "type": "PutObjectTaggingRequest", + "optional": true + }, + { + "id": 142, + "name": "deleteObjectTaggingRequest", + "type": "DeleteObjectTaggingRequest", + "optional": true } ] }, @@ -2126,13 +2240,25 @@ "id": 91, "name": "listTrashResponse", "type": "ListTrashResponse", - "optional": true + "optional": true, + "options": [ + { + "name": "deprecated", + "value": "true" + } + ] }, { "id": 92, "name": "RecoverTrashResponse", "type": "RecoverTrashResponse", - "optional": true + "optional": true, + "options": [ + { + "name": "deprecated", + "value": "true" + } + ] }, { "id": 93, @@ -2361,6 +2487,54 @@ "name": "omLockDetails", "type": "OMLockDetailsProto", "optional": true + }, + { + "id": 132, + "name": "RenameSnapshotResponse", + "type": "RenameSnapshotResponse", + "optional": true + }, + { + "id": 133, + "name": "ListOpenFilesResponse", + "type": "ListOpenFilesResponse", + "optional": true + }, + { + "id": 134, + "name": "QuotaRepairResponse", + "type": "QuotaRepairResponse", + "optional": true + }, + { + "id": 136, + "name": "GetQuotaRepairStatusResponse", + "type": "GetQuotaRepairStatusResponse", + "optional": true + }, + { + "id": 137, + "name": "StartQuotaRepairResponse", + "type": "StartQuotaRepairResponse", + "optional": true + }, + { + "id": 140, + "name": "getObjectTaggingResponse", + "type": "GetObjectTaggingResponse", + "optional": true + }, + { + "id": 141, + "name": "putObjectTaggingResponse", + "type": "PutObjectTaggingResponse", + "optional": true + }, + { + "id": 142, + "name": "deleteObjectTaggingResponse", + "type": "DeleteObjectTaggingResponse", + "optional": true } ] }, @@ -2371,31 +2545,61 @@ "id": 1, "name": "volumeName", "type": "string", - "required": true + "required": true, + "options": [ + { + "name": "deprecated", + "value": "true" + } + ] }, { "id": 2, "name": "bucketName", "type": "string", - "required": true + "required": true, + "options": [ + { + "name": "deprecated", + "value": "true" + } + ] }, { "id": 3, "name": "startKeyName", "type": "string", - "optional": true + "optional": true, + "options": [ + { + "name": "deprecated", + "value": "true" + } + ] }, { "id": 4, "name": "keyPrefix", "type": "string", - "optional": true + "optional": true, + "options": [ + { + "name": "deprecated", + "value": "true" + } + ] }, { "id": 5, "name": "maxKeys", "type": "int32", - "optional": true + "optional": true, + "options": [ + { + "name": "deprecated", + "value": "true" + } + ] } ] }, @@ -2406,7 +2610,13 @@ "id": 1, "name": "deletedKeys", "type": "RepeatedKeyInfo", - "is_repeated": true + "is_repeated": true, + "options": [ + { + "name": "deprecated", + "value": "true" + } + ] } ] }, @@ -2417,25 +2627,49 @@ "id": 1, "name": "volumeName", "type": "string", - "required": true + "required": true, + "options": [ + { + "name": "deprecated", + "value": "true" + } + ] }, { "id": 2, "name": "bucketName", "type": "string", - "required": true + "required": true, + "options": [ + { + "name": "deprecated", + "value": "true" + } + ] }, { "id": 3, "name": "keyName", "type": "string", - "required": true + "required": true, + "options": [ + { + "name": "deprecated", + "value": "true" + } + ] }, { "id": 4, "name": "destinationBucket", "type": "string", - "required": true + "required": true, + "options": [ + { + "name": "deprecated", + "value": "true" + } + ] } ] }, @@ -2446,7 +2680,13 @@ "id": 1, "name": "response", "type": "bool", - "required": true + "required": true, + "options": [ + { + "name": "deprecated", + "value": "true" + } + ] } ] }, @@ -3122,6 +3362,12 @@ "name": "defaultReplicationConfig", "type": "hadoop.hdds.DefaultReplicationConfig", "optional": true + }, + { + "id": 12, + "name": "bekInfo", + "type": "BucketEncryptionInfoProto", + "optional": true } ] }, @@ -3276,6 +3522,12 @@ "name": "deepCleanedDeletedDir", "type": "bool", "optional": true + }, + { + "id": 20, + "name": "lastTransactionInfo", + "type": "bytes", + "optional": true } ] }, @@ -3808,6 +4060,24 @@ "name": "forceUpdateContainerCacheFromSCM", "type": "bool", "optional": true + }, + { + "id": 21, + "name": "ownerName", + "type": "string", + "optional": true + }, + { + "id": 22, + "name": "tags", + "type": "hadoop.hdds.KeyValue", + "is_repeated": true + }, + { + "id": 23, + "name": "expectedDataGeneration", + "type": "uint64", + "optional": true } ] }, @@ -4096,6 +4366,24 @@ "name": "isFile", "type": "bool", "optional": true + }, + { + "id": 20, + "name": "ownerName", + "type": "string", + "optional": true + }, + { + "id": 21, + "name": "tags", + "type": "hadoop.hdds.KeyValue", + "is_repeated": true + }, + { + "id": 22, + "name": "expectedDataGeneration", + "type": "uint64", + "optional": true } ] }, @@ -4149,6 +4437,12 @@ "name": "eTag", "type": "string", "optional": true + }, + { + "id": 9, + "name": "ownerName", + "type": "string", + "optional": true } ] }, @@ -4202,6 +4496,12 @@ "name": "parentID", "type": "uint64", "required": true + }, + { + "id": 9, + "name": "ownerName", + "type": "string", + "optional": true } ] }, @@ -4811,7 +5111,13 @@ "name": "keysToUpdate", "type": "SnapshotMoveKeyInfos", "is_repeated": true - } + }, + { + "id": 4, + "name": "expectedPreviousSnapshotID", + "type": "NullableUUID", + "optional": true + } ] }, { @@ -4857,6 +5163,23 @@ "name": "snapshotTableKey", "type": "string", "optional": true + }, + { + "id": 3, + "name": "expectedPreviousSnapshotID", + "type": "NullableUUID", + "optional": true + } + ] + }, + { + "name": "NullableUUID", + "fields": [ + { + "id": 1, + "name": "uuid", + "type": "hadoop.hdds.UUID", + "optional": true } ] }, @@ -5052,6 +5375,18 @@ "id": 15, "name": "omServiceId", "type": "string", + "optional": true, + "options": [ + { + "name": "deprecated", + "value": "true" + } + ] + }, + { + "id": 16, + "name": "secretKeyId", + "type": "string", "optional": true } ] @@ -5174,6 +5509,12 @@ "name": "hsync", "type": "bool", "optional": true + }, + { + "id": 4, + "name": "recovery", + "type": "bool", + "optional": true } ] }, @@ -5455,6 +5796,64 @@ { "name": "CancelPrepareResponse" }, + { + "name": "ListOpenFilesRequest", + "fields": [ + { + "id": 1, + "name": "path", + "type": "string", + "optional": true + }, + { + "id": 2, + "name": "count", + "type": "uint32", + "optional": true + }, + { + "id": 3, + "name": "token", + "type": "string", + "optional": true + } + ] + }, + { + "name": "ListOpenFilesResponse", + "fields": [ + { + "id": 1, + "name": "totalOpenKeyCount", + "type": "uint64", + "optional": true + }, + { + "id": 2, + "name": "hasMore", + "type": "bool", + "optional": true + }, + { + "id": 3, + "name": "continuationToken", + "type": "string", + "optional": true + }, + { + "id": 4, + "name": "clientID", + "type": "uint64", + "is_repeated": true + }, + { + "id": 5, + "name": "keyInfo", + "type": "KeyInfo", + "is_repeated": true + } + ] + }, { "name": "ServicePort", "fields": [ @@ -5527,6 +5926,12 @@ "value": "0" } ] + }, + { + "id": 6, + "name": "serverDefaults", + "type": "FsServerDefaultsProto", + "optional": true } ] }, @@ -5919,6 +6324,30 @@ "name": "prefix", "type": "string", "required": true + }, + { + "id": 4, + "name": "keyMarker", + "type": "string", + "optional": true + }, + { + "id": 5, + "name": "uploadIdMarker", + "type": "string", + "optional": true + }, + { + "id": 6, + "name": "maxUploads", + "type": "int32", + "optional": true + }, + { + "id": 7, + "name": "withPagination", + "type": "bool", + "optional": true } ] }, @@ -5936,6 +6365,18 @@ "name": "uploadsList", "type": "MultipartUploadInfo", "is_repeated": true + }, + { + "id": 3, + "name": "nextKeyMarker", + "type": "string", + "optional": true + }, + { + "id": 4, + "name": "nextUploadIdMarker", + "type": "string", + "optional": true } ] }, @@ -6450,6 +6891,41 @@ } ] }, + { + "name": "RenameSnapshotRequest", + "fields": [ + { + "id": 1, + "name": "volumeName", + "type": "string", + "optional": true + }, + { + "id": 2, + "name": "bucketName", + "type": "string", + "optional": true + }, + { + "id": 3, + "name": "snapshotOldName", + "type": "string", + "optional": true + }, + { + "id": 4, + "name": "snapshotNewName", + "type": "string", + "optional": true + }, + { + "id": 5, + "name": "renameTime", + "type": "uint64", + "optional": true + } + ] + }, { "name": "ListSnapshotRequest", "fields": [ @@ -6700,6 +7176,35 @@ } ] }, + { + "name": "SnapshotMoveTableKeysRequest", + "fields": [ + { + "id": 1, + "name": "fromSnapshotID", + "type": "hadoop.hdds.UUID", + "optional": true + }, + { + "id": 2, + "name": "deletedKeys", + "type": "SnapshotMoveKeyInfos", + "is_repeated": true + }, + { + "id": 3, + "name": "deletedDirs", + "type": "SnapshotMoveKeyInfos", + "is_repeated": true + }, + { + "id": 4, + "name": "renamedKeys", + "type": "hadoop.hdds.KeyValue", + "is_repeated": true + } + ] + }, { "name": "SnapshotMoveKeyInfos", "fields": [ @@ -6958,6 +7463,12 @@ "name": "snapshotInfo", "type": "SnapshotInfo", "is_repeated": true + }, + { + "id": 2, + "name": "lastSnapshot", + "type": "string", + "optional": true } ] }, @@ -7015,6 +7526,17 @@ { "name": "DeleteSnapshotResponse" }, + { + "name": "RenameSnapshotResponse", + "fields": [ + { + "id": 1, + "name": "snapshotInfo", + "type": "SnapshotInfo", + "optional": true + } + ] + }, { "name": "SnapshotInfoResponse", "fields": [ @@ -7224,6 +7746,12 @@ "name": "keyName", "type": "string", "optional": true + }, + { + "id": 4, + "name": "force", + "type": "bool", + "optional": true } ] }, @@ -7234,6 +7762,24 @@ "id": 1, "name": "response", "type": "bool", + "optional": true, + "options": [ + { + "name": "deprecated", + "value": "true" + } + ] + }, + { + "id": 2, + "name": "keyInfo", + "type": "KeyInfo", + "optional": true + }, + { + "id": 3, + "name": "openKeyInfo", + "type": "KeyInfo", "optional": true } ] @@ -7286,6 +7832,112 @@ } ] }, + { + "name": "QuotaRepairRequest", + "fields": [ + { + "id": 1, + "name": "bucketCount", + "type": "BucketQuotaCount", + "is_repeated": true + }, + { + "id": 2, + "name": "supportVolumeOldQuota", + "type": "bool", + "required": true, + "options": [ + { + "name": "default", + "value": "false" + } + ] + } + ] + }, + { + "name": "BucketQuotaCount", + "fields": [ + { + "id": 1, + "name": "volName", + "type": "string", + "required": true + }, + { + "id": 2, + "name": "bucketName", + "type": "string", + "required": true + }, + { + "id": 3, + "name": "diffUsedBytes", + "type": "int64", + "required": true + }, + { + "id": 4, + "name": "diffUsedNamespace", + "type": "int64", + "required": true + }, + { + "id": 5, + "name": "supportOldQuota", + "type": "bool", + "required": true, + "options": [ + { + "name": "default", + "value": "false" + } + ] + } + ] + }, + { + "name": "QuotaRepairResponse" + }, + { + "name": "FsServerDefaultsProto", + "fields": [ + { + "id": 1, + "name": "keyProviderUri", + "type": "string", + "optional": true + } + ] + }, + { + "name": "GetQuotaRepairStatusRequest" + }, + { + "name": "GetQuotaRepairStatusResponse", + "fields": [ + { + "id": 1, + "name": "status", + "type": "string", + "optional": true + } + ] + }, + { + "name": "StartQuotaRepairRequest", + "fields": [ + { + "id": 1, + "name": "buckets", + "type": "string", + "is_repeated": true + } + ] + }, + { + "name": "StartQuotaRepairResponse" + }, { "name": "OMLockDetailsProto", "fields": [ @@ -7314,6 +7966,56 @@ "optional": true } ] + }, + { + "name": "PutObjectTaggingRequest", + "fields": [ + { + "id": 1, + "name": "keyArgs", + "type": "KeyArgs", + "required": true + } + ] + }, + { + "name": "PutObjectTaggingResponse" + }, + { + "name": "GetObjectTaggingRequest", + "fields": [ + { + "id": 1, + "name": "keyArgs", + "type": "KeyArgs", + "required": true + } + ] + }, + { + "name": "GetObjectTaggingResponse", + "fields": [ + { + "id": 1, + "name": "tags", + "type": "hadoop.hdds.KeyValue", + "is_repeated": true + } + ] + }, + { + "name": "DeleteObjectTaggingRequest", + "fields": [ + { + "id": 1, + "name": "keyArgs", + "type": "KeyArgs", + "required": true + } + ] + }, + { + "name": "DeleteObjectTaggingResponse" } ], "services": [