[
https://issues.apache.org/jira/browse/HDDS-14812?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Ivan Andika updated HDDS-14812:
-------------------------------
Description:
In HDFS, MiniDFSCluster supports racks and hosts and set the DNSToSwitchMapping
(e.g. StaticMapping) to allow integration test to check for topology related
logic.
Currently Ozone only allow testing topology related logic in the unit tests
(TestSCMNodeManager, TestSCMContainerPlacementRackAware). We can support
topology related logic in MiniOzoneCluster by allowing datanodes to set the
racks and hosts as well as allow to set the StaticMapping. This allows a more
end-to-end topology related tests.
was:
In HDFS, MiniDFSCluster supports racks and hosts and set the DNSToSwitchMapping
(e.g. StaticMapping) to allow integration test to check for topology related
logic.
Currently Ozone only allow testing topology related logic in the unit tests
(SCMNodeManager). We can support topology related logic in MiniOzoneCluster by
allowing datanodes to set the racks and hosts as well as allow to set the
StaticMapping. This allows a more end-to-end topology related tests (e.g.
testing
> Support datanode topology in MiniOzoneCluster
> ---------------------------------------------
>
> Key: HDDS-14812
> URL: https://issues.apache.org/jira/browse/HDDS-14812
> Project: Apache Ozone
> Issue Type: Improvement
> Reporter: Ivan Andika
> Priority: Major
>
> In HDFS, MiniDFSCluster supports racks and hosts and set the
> DNSToSwitchMapping (e.g. StaticMapping) to allow integration test to check
> for topology related logic.
> Currently Ozone only allow testing topology related logic in the unit tests
> (TestSCMNodeManager, TestSCMContainerPlacementRackAware). We can support
> topology related logic in MiniOzoneCluster by allowing datanodes to set the
> racks and hosts as well as allow to set the StaticMapping. This allows a more
> end-to-end topology related tests.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]