Tsz-wo Sze created HDDS-15156:
---------------------------------
Summary: NodeManager.getNode(s) should return DatanodeInfo
Key: HDDS-15156
URL: https://issues.apache.org/jira/browse/HDDS-15156
Project: Apache Ozone
Issue Type: Sub-task
Components: SCM
Reporter: Tsz-wo Sze
Assignee: Tsz-wo Sze
In NodeManager, some of the getNode/getNodes methods return DatanodeDetails but
the returned objects indeed are a DatanodeInfo. Since the caller thinks that
it is a DatanodeDetails, it will try use it to get DatanodeInfo and try-catch
NodeNotFoundException. All these are unnecessary.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]