Details
-
Sub-task
-
Status: Resolved
-
Major
-
Resolution: Implemented
-
None
Description
SCMNodeManager#getNodeByUuid should support UUID param to avoid unnecessary conversion.
public DatanodeDetails getNodeByUuid(String uuid) { if (Strings.isNullOrEmpty(uuid)) { LOG.warn("uuid is null"); return null; } DatanodeDetails temp = DatanodeDetails.newBuilder() .setUuid(UUID.fromString(uuid)).build(); try { return nodeStateManager.getNode(temp);
Attachments
Issue Links
- links to