You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by "Attila Doroszlai (Jira)" <ji...@apache.org> on 2023/01/09 11:56:00 UTC

[jira] [Created] (HDDS-7753) Simplify DatanodeDetails#toString to improve log messages

Attila Doroszlai created HDDS-7753:
--------------------------------------

             Summary: Simplify DatanodeDetails#toString to improve log messages
                 Key: HDDS-7753
                 URL: https://issues.apache.org/jira/browse/HDDS-7753
             Project: Apache Ozone
          Issue Type: Task
          Components: Ozone Datanode
            Reporter: Attila Doroszlai
            Assignee: Attila Doroszlai


{{DatanodeDetails#toString}} outputs too much detail for it to be usable in each and every log message related to datanodes.  Thus log statements currently have to build their own output (e.g. for list of hosts, etc.), leading to duplication.

The goal of this task is to replace {{toString}} with less verbose ({{getHostnameAndIP}} + UUID) implementation, and keep the current one for occasional usage as {{toDebugString}}.  Need to be verify if this causes and regressions.



--
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