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-unsubscr...@hadoop.apache.org
For additional commands, e-mail: hdfs-dev-h...@hadoop.apache.org

Reply via email to