Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

HDDS-10517. Recon - Add a UI component for showing DN decommissioning detailed status and info #6724

Merged
merged 20 commits into from
Aug 7, 2024
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
Show all changes
20 commits
Select commit Hold shift + click to select a range
cf6981f
HDDS-10517. Recon - Add a UI component for showing DN decommissioning…
smitajoshi12 May 24, 2024
a837686
HDDS-10517. Recon - Add a UI component for showing DN decommissioning…
smitajoshi12 Jun 5, 2024
e77b8f1
HDDS-10517. Recon - Add a UI component for showing DN decommissioning…
smitajoshi12 Jun 18, 2024
435082b
Merge branch 'master' into HDDS-10517
smitajoshi12 Jun 20, 2024
b43405c
HDDS-10517. Recon - Add a UI component for showing DN decommissioning…
smitajoshi12 Jun 20, 2024
90f23f7
Merge branch 'master' into HDDS-10517
smitajoshi12 Jun 21, 2024
eac89e1
Merge branch 'master' into HDDS-10517
smitajoshi12 Jul 10, 2024
bc619dd
HDDS-10517. Recon - Add a UI component for showing DN decommissioning…
smitajoshi12 Jul 10, 2024
29906a4
HDDS-10517. Recon - Add a UI component for showing DN decommissioning…
smitajoshi12 Jul 10, 2024
bb1241d
HDDS-10517. Recon - Add a UI component for showing DN decommissioning…
smitajoshi12 Jul 10, 2024
e7a774b
HDDS-10517. Recon - Add a UI component for showing DN decommissioning…
smitajoshi12 Jul 10, 2024
c9a9bc1
HDDS-10517. Recon - Add a UI component for showing DN decommissioning…
smitajoshi12 Jul 10, 2024
9c000d7
HDDS-10517. Recon - Add a UI component for showing DN decommissioning…
smitajoshi12 Jul 11, 2024
92eb7a9
HDDS-10517. Recon - Add a UI component for showing DN decommissioning…
smitajoshi12 Jul 18, 2024
ac481d0
HDDS-10517. Recon - Add a UI component for showing DN decommissioning…
smitajoshi12 Jul 18, 2024
084c96e
Merge branch 'master' into HDDS-10517
smitajoshi12 Jul 18, 2024
d822239
HDDS-10517. Recon - Add a UI component for showing DN decommissioning…
smitajoshi12 Jul 18, 2024
eae8651
Merge branch 'master' into HDDS-10517
smitajoshi12 Jul 19, 2024
8b82426
HDDS-10517. Recon - Add a UI component for showing DN decommissioning…
smitajoshi12 Jul 31, 2024
3e08fb7
HDDS-10517. Recon - Add a UI component for showing DN decommissioning…
smitajoshi12 Aug 5, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
"datanodes": [
{
"hostname": "localhost2.storage.enterprise.com",
"uuid": "b590734e-a5f2-11ea-bb37-0242ac130002",
"uuid": "4712ba3d-4bb2-477a-9211-d9b50c013055",
smitajoshi12 marked this conversation as resolved.
Show resolved Hide resolved
"state": "HEALTHY",
"opState": "IN_SERVICE",
"lastHeartbeat": 1574728876059,
Expand Down Expand Up @@ -160,7 +160,7 @@
},
{
"hostname": "localhost3.storage.enterprise.com",
"uuid": "b5907812-a5f2-11ea-bb37-0242ac130002",
"uuid": "4712ba3d-4bb2-477a-9211-d9b50c013056",
"state": "HEALTHY",
"opState": "ENTERING_MAINTENANCE",
"lastHeartbeat": 1574724876059,
Expand Down Expand Up @@ -742,55 +742,55 @@
"leaderNode": "localhost1.storage.enterprise.com",
"datanodes": [
{
"level": 0,
"parent": null,
"cost": 0,
"uuid": "9e4e92da-4abd-461d-b042-dc4fe72e8727",
"uuidString": "9e4e92da-4abd-461d-b042-dc4fe72e8727",
"ipAddress": "172.22.0.5",
"hostName": "ozone_datanode_1.ozone_default",
"ports": [
{
"name": "REPLICATION",
"value": 9886
},
{
"name": "RATIS",
"value": 9858
},
{
"name": "RATIS_ADMIN",
"value": 9857
},
{
"name": "RATIS_SERVER",
"value": 9856
},
{
"name": "RATIS_DATASTREAM",
"value": 9855
},
{
"name": "STANDALONE",
"value": 9859
}
"level": 0,
"parent": null,
"cost": 0,
"uuid": "9e4e92da-4abd-461d-b042-dc4fe72e8727",
"uuidString": "9e4e92da-4abd-461d-b042-dc4fe72e8727",
"ipAddress": "172.22.0.5",
"hostName": "ozone_datanode_1.ozone_default",
smitajoshi12 marked this conversation as resolved.
Show resolved Hide resolved
"ports": [
{
"name": "REPLICATION",
"value": 9886
},
{
"name": "RATIS",
"value": 9858
},
{
"name": "RATIS_ADMIN",
"value": 9857
},
{
"name": "RATIS_SERVER",
"value": 9856
},
{
"name": "RATIS_DATASTREAM",
"value": 9855
},
{
"name": "STANDALONE",
"value": 9859
}

],
"certSerialId": null,
"version": null,
"setupTime": 0,
"revision": null,
"buildDate": null,
"persistedOpState": "IN_SERVICE",
"persistedOpStateExpiryEpochSec": 0,
"initialVersion": 0,
"currentVersion": 1,
"signature": -460136136,
"decomissioned": false,
"networkName": "9e4e92da-4abd-461d-b042-dc4fe72e8727",
"networkLocation": "/default-rack",
"networkFullPath": "/default-rack/9e4e92da-4abd-461d-b042-dc4fe72e8727",
"numOfLeaves": 1
],
"certSerialId": null,
"version": null,
"setupTime": 0,
"revision": null,
"buildDate": null,
"persistedOpState": "IN_SERVICE",
"persistedOpStateExpiryEpochSec": 0,
"initialVersion": 0,
"currentVersion": 1,
"signature": -460136136,
"decomissioned": false,
"networkName": "9e4e92da-4abd-461d-b042-dc4fe72e8727",
"networkLocation": "/default-rack",
"networkFullPath": "/default-rack/9e4e92da-4abd-461d-b042-dc4fe72e8727",
"numOfLeaves": 1
}
],
"lastLeaderElection": 1578491471528,
Expand Down Expand Up @@ -3760,9 +3760,9 @@
"totalOpenKeys": 10
},
"keysdeletePendingSummary":{
"totalUnreplicatedDataSize": 29291,
"totalReplicatedDataSize": 87873,
"totalDeletedKeys": 3
"totalUnreplicatedDataSize": 29291,
"totalReplicatedDataSize": 87873,
"totalDeletedKeys": 3
},
"omMismatch":{
"containerDiscrepancyInfo": [
Expand Down Expand Up @@ -5168,9 +5168,9 @@
},
"nonFSO": {
"keysSummary": {
"totalUnreplicatedDataSize": 10485760,
"totalReplicatedDataSize": 31457280,
"totalOpenKeys": 10
"totalUnreplicatedDataSize": 10485760,
"totalReplicatedDataSize": 31457280,
"totalOpenKeys": 10
},
"nonFSO": [
{
Expand Down Expand Up @@ -5231,7 +5231,7 @@
"replicationFactor": "ONE",
"requiredNodes": 1,
"replicationType": "RATIS"
}
}
},
{
"key": "/-9223372036854775552/-9223372036854775040/-9223372036852420095/2441/110569623850191713",
Expand All @@ -5243,7 +5243,7 @@
"replicationFactor": "ONE",
"requiredNodes": 1,
"replicationType": "RATIS"
}
}
}
],
"status": "OK"
Expand Down Expand Up @@ -6753,5 +6753,200 @@
}
],
"status": "OK"
},
"decommissioninfo": {
"DatanodesDecommissionInfo":[
{
"datanodeDetails": {
"level": 3,
"parent": null,
"cost": 0,
"uuid": "4712ba3d-4bb2-477a-9211-d9b50c013055",
"uuidString": "4712ba3d-4bb2-477a-9211-d9b50c013055",
"ipAddress": "172.18.0.13",
"hostName": "ozone-ha-datanode-6.ozone-ha_default",

"certSerialId": null,
"version": null,
"setupTime": 0,
"revision": null,
"buildDate": null,
"persistedOpState": "IN_SERVICE",
"persistedOpStateExpiryEpochSec": 0,
"initialVersion": 0,
"currentVersion": 1,
"decommissioned": false,
"maintenance": false,
"ipAddressAsByteString": {
"string": "172.18.0.13",
"bytes": {
"validUtf8": true,
"empty": false
}
},
"hostNameAsByteString": {
"string": "ozone-ha-datanode-6.ozone-ha_default",
"bytes": {
"validUtf8": true,
"empty": false
}
},
"networkName": "4712ba3d-4bb2-477a-9211-d9b50c013055",
"networkLocation": "/default-rack",
"networkFullPath": "/default-rack/4712ba3d-4bb2-477a-9211-d9b50c013055",
"numOfLeaves": 1,
"networkNameAsByteString": {
"string": "4712ba3d-4bb2-477a-9211-d9b50c013055",
"bytes": {
"validUtf8": true,
"empty": false
}
},
"networkLocationAsByteString": {
"string": "/default-rack",
"bytes": {
"validUtf8": true,
"empty": false
}
}
},
"metrics": null,
"containers": {}
},
{
"datanodeDetails": {
"level": 3,
"parent": null,
"cost": 0,
"uuid": "4712ba3d-4bb2-477a-9211-d9b50c013056",
"uuidString": "4712ba3d-4bb2-477a-9211-d9b50c013056",
"ipAddress": "172.18.0.13",
"hostName": "ozone-ha-datanode-6.ozone-ha_default",
"certSerialId": null,
"version": null,
"setupTime": 0,
"revision": null,
"buildDate": null,
"persistedOpState": "IN_SERVICE",
"persistedOpStateExpiryEpochSec": 0,
"initialVersion": 0,
"currentVersion": 1,
"decommissioned": false,
"maintenance": false,
"networkName": "4712ba3d-4bb2-477a-9211-d9b50c013055",
"networkLocation": "/default-rack",
"networkFullPath": "/default-rack/4712ba3d-4bb2-477a-9211-d9b50c013055",
"numOfLeaves": 1
},
"metrics": null,
"containers": {}
}
]
},
"DatanodesDecommissionInfo": {
"DatanodesDecommissionInfo": [
{
"datanodeDetails": {
"level": 3,
"parent": null,
"cost": 0,
"uuid": "adc72ef9-0850-49d7-935d-e5a4e0d5be3c",
"uuidString": "adc72ef9-0850-49d7-935d-e5a4e0d5be3c",
"ipAddress": "172.18.0.10",
"hostName": "ozone-ha-datanode-2.ozone-ha_default",
"ports": [
{
"name": "HTTP",
"value": 9882
},
{
"name": "CLIENT_RPC",
"value": 19864
},
{
"name": "REPLICATION",
"value": 9886
},
{
"name": "RATIS",
"value": 9858
},
{
"name": "RATIS_ADMIN",
"value": 9857
},
{
"name": "RATIS_SERVER",
"value": 9856
},
{
"name": "RATIS_DATASTREAM",
"value": 9855
},
{
"name": "STANDALONE",
"value": 9859
}
],
"certSerialId": null,
"version": null,
"setupTime": 0,
"revision": null,
"buildDate": null,
"persistedOpState": "DECOMMISSIONING",
"persistedOpStateExpiryEpochSec": 0,
"initialVersion": 0,
"currentVersion": 1,
"decommissioned": true,
"maintenance": false,
"ipAddressAsByteString": {
"string": "172.18.0.10",
"bytes": {
"validUtf8": true,
"empty": false
}
},
"hostNameAsByteString": {
"string": "ozone-ha-datanode-2.ozone-ha_default",
"bytes": {
"validUtf8": true,
"empty": false
}
},
"networkName": "adc72ef9-0850-49d7-935d-e5a4e0d5be3c",
"networkLocation": "/default-rack",
"networkFullPath": "/default-rack/adc72ef9-0850-49d7-935d-e5a4e0d5be3c",
"numOfLeaves": 1,
"networkNameAsByteString": {
"string": "adc72ef9-0850-49d7-935d-e5a4e0d5be3c",
"bytes": {
"validUtf8": true,
"empty": false
}
},
"networkLocationAsByteString": {
"string": "/default-rack",
"bytes": {
"validUtf8": true,
"empty": false
}
}
},
"metrics": {
"decommissionStartTime": "23/05/2024 07:28:35 UTC",
"numOfUnclosedPipelines": 2,
"numOfUnderReplicatedContainers": 0.0,
"numOfUnclosedContainers": 0.0
},
"containers": {
"UnderReplicated": [],
"UnClosed": [
"#6",
"#10",
"#17"
]
}
}
]
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -49,5 +49,7 @@
"/keys/deletePending?limit=*" : "/keydeletePending",

"/containers/mismatch/deleted?limit=*": "/deleted",
"/keys/deletePending/dirs?limit=*": "/dirdeletePending"
"/keys/deletePending/dirs?limit=*": "/dirdeletePending",
"/datanodes/decommission/info": "/decommissioninfo",
"/datanodes/decommission/info/datanode?uuid=*": "/DatanodesDecommissionInfo"
}
Loading