You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by "Tsz-wo Sze (Jira)" <ji...@apache.org> on 2026/05/01 17:18:00 UTC
[jira] [Created] (HDDS-15156) NodeManager.getNode(s) should return DatanodeInfo
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: issues-unsubscribe@ozone.apache.org
For additional commands, e-mail: issues-help@ozone.apache.org