[
https://issues.apache.org/jira/browse/HDDS-12817?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Soumitra Sulav updated HDDS-12817:
----------------------------------
Description:
Add EC block index in the chunk info command
Currently,
ozone debug replicas chunk-info
has "chunkType" but indexing is missing.
It would make sense if we also add index id here
{code:java}
bash-5.1$ ozone debug replicas chunk-info vol/buckec/3MB
{
"KeyLocations" : [ [ {
"Locations" : {
"files" : [
"/data/hdds/hdds/CID-447069c8-5ae8-40cc-8a10-565d1c48bd6b/current/containerDir0/1/chunks/115816896921600001.block"
],
"pipelineID" : "3764b3d5-ca2f-435e-83a1-0f9a29773f18",
"chunkType" : "DATA"
},
"Datanode-HostName" : "ozone-ha-datanode-3.ozone-ha_default",
"Datanode-IP" : "172.23.0.14",
"Container-ID" : 1,
"Block-ID" : 115816896921600001
}, {
"Locations" : {
"files" : [ ],
"pipelineID" : "3764b3d5-ca2f-435e-83a1-0f9a29773f18",
"chunkType" : "DATA"
},
"Datanode-HostName" : "ozone-ha-datanode-4.ozone-ha_default",
"Datanode-IP" : "172.23.0.3",
"Container-ID" : 1,
"Block-ID" : 115816896921600001
}, {
"Locations" : {
"files" : [ ],
"pipelineID" : "3764b3d5-ca2f-435e-83a1-0f9a29773f18",
"chunkType" : "DATA"
},
"Datanode-HostName" : "ozone-ha-datanode-2.ozone-ha_default",
"Datanode-IP" : "172.23.0.12",
"Container-ID" : 1,
"Block-ID" : 115816896921600001
}, {
"Locations" : {
"files" : [ ],
"pipelineID" : "3764b3d5-ca2f-435e-83a1-0f9a29773f18",
"chunkType" : "PARITY"
},
"Datanode-HostName" : "ozone-ha-datanode-5.ozone-ha_default",
"Datanode-IP" : "172.23.0.13",
"Container-ID" : 1,
"Block-ID" : 115816896921600001
}, {
"Locations" : {
"files" : [ ],
"pipelineID" : "3764b3d5-ca2f-435e-83a1-0f9a29773f18",
"chunkType" : "PARITY"
},
"Datanode-HostName" : "ozone-ha-datanode-1.ozone-ha_default",
"Datanode-IP" : "172.23.0.15",
"Container-ID" : 1,
"Block-ID" : 115816896921600001
} ] ]
}
{code}
was:
Add EC block index in the chunk info command
Currently,
ozone debug replicas chunk-info
has "chunkType" but indexing is missing.
> Add EC block index in the ozone debug replicas chunk-info
> ---------------------------------------------------------
>
> Key: HDDS-12817
> URL: https://issues.apache.org/jira/browse/HDDS-12817
> Project: Apache Ozone
> Issue Type: Improvement
> Reporter: Soumitra Sulav
> Priority: Major
>
> Add EC block index in the chunk info command
> Currently,
> ozone debug replicas chunk-info
> has "chunkType" but indexing is missing.
> It would make sense if we also add index id here
> {code:java}
> bash-5.1$ ozone debug replicas chunk-info vol/buckec/3MB
> {
> "KeyLocations" : [ [ {
> "Locations" : {
> "files" : [
> "/data/hdds/hdds/CID-447069c8-5ae8-40cc-8a10-565d1c48bd6b/current/containerDir0/1/chunks/115816896921600001.block"
> ],
> "pipelineID" : "3764b3d5-ca2f-435e-83a1-0f9a29773f18",
> "chunkType" : "DATA"
> },
> "Datanode-HostName" : "ozone-ha-datanode-3.ozone-ha_default",
> "Datanode-IP" : "172.23.0.14",
> "Container-ID" : 1,
> "Block-ID" : 115816896921600001
> }, {
> "Locations" : {
> "files" : [ ],
> "pipelineID" : "3764b3d5-ca2f-435e-83a1-0f9a29773f18",
> "chunkType" : "DATA"
> },
> "Datanode-HostName" : "ozone-ha-datanode-4.ozone-ha_default",
> "Datanode-IP" : "172.23.0.3",
> "Container-ID" : 1,
> "Block-ID" : 115816896921600001
> }, {
> "Locations" : {
> "files" : [ ],
> "pipelineID" : "3764b3d5-ca2f-435e-83a1-0f9a29773f18",
> "chunkType" : "DATA"
> },
> "Datanode-HostName" : "ozone-ha-datanode-2.ozone-ha_default",
> "Datanode-IP" : "172.23.0.12",
> "Container-ID" : 1,
> "Block-ID" : 115816896921600001
> }, {
> "Locations" : {
> "files" : [ ],
> "pipelineID" : "3764b3d5-ca2f-435e-83a1-0f9a29773f18",
> "chunkType" : "PARITY"
> },
> "Datanode-HostName" : "ozone-ha-datanode-5.ozone-ha_default",
> "Datanode-IP" : "172.23.0.13",
> "Container-ID" : 1,
> "Block-ID" : 115816896921600001
> }, {
> "Locations" : {
> "files" : [ ],
> "pipelineID" : "3764b3d5-ca2f-435e-83a1-0f9a29773f18",
> "chunkType" : "PARITY"
> },
> "Datanode-HostName" : "ozone-ha-datanode-1.ozone-ha_default",
> "Datanode-IP" : "172.23.0.15",
> "Container-ID" : 1,
> "Block-ID" : 115816896921600001
> } ] ]
> }
> {code}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]