You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-dev@hadoop.apache.org by "Dinesh Chitlangia (JIRA)" <ji...@apache.org> on 2018/09/06 04:13:00 UTC

[jira] [Created] (HDDS-404) Implement toString() in OmKeyLocationInfo

Dinesh Chitlangia created HDDS-404:
--------------------------------------

             Summary: Implement toString() in OmKeyLocationInfo
                 Key: HDDS-404
                 URL: https://issues.apache.org/jira/browse/HDDS-404
             Project: Hadoop Distributed Data Store
          Issue Type: Improvement
          Components: Ozone Manager
            Reporter: Dinesh Chitlangia
            Assignee: Dinesh Chitlangia
             Fix For: 0.2.1


OmKeyLocationInfo does not have an overridden toString().

As such, the information is not captured appropriately in Audit Logging.

Example:

{{2018-09-06 01:57:22,950 | INFO  | OMAudit | user=hadoop | ip=172.18.0.4 | op=COMMIT_KEY | \{volume=vol-0-16241, bucket=bucket-0-61479, key=key-257-04655, dataSize=10240, replicationType=null, replicationFactor=null, keyLocationInfo=[org.apache.hadoop.ozone.om.helpers.OmKeyLocationInfo@5fb8c959], clientID=61945301411} | ret=SUCCESS |}}

 

This Jira proposes to implement the required toString() so that audit log contains appropriate data.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: hdfs-dev-unsubscribe@hadoop.apache.org
For additional commands, e-mail: hdfs-dev-help@hadoop.apache.org