[
https://issues.apache.org/jira/browse/HDDS-404?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Dinesh Chitlangia updated HDDS-404:
-----------------------------------
Attachment: HDDS-404.001.patch
> 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
> Priority: Major
> Labels: Logging
> Fix For: 0.2.1
>
> Attachments: HDDS-404.001.patch
>
>
> 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: [email protected]
For additional commands, e-mail: [email protected]