ArafatKhan2198 commented on PR #4054:
URL: https://github.com/apache/ozone/pull/4054#issuecomment-1361362145
So at the moment, a pipeline can have either **_1 or 3 datanodes_** hence
the reason why we have datanode-0, datanode-1 & datanode-2 therefore they are
not generated randomly.
```
First Map -> Pipeline-Id as the Key & a Map of all DataNodes part of the
pipeline as Value
Second Map -> Datanode number as the key & a Map of all the information
about the specific datanode as Value
Third Map -> Role, UUID & Hostname as key & their respective Strings metric
as Value
```
```
key: pipeline id
value: {
key: Datanode-0
value: {
key:
value:
}
}
```
So if we remove the third map, we would probably lose out the information we
needed to display in the first place.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]