You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by "Srinivasu Majeti (Jira)" <ji...@apache.org> on 2020/04/16 05:35:00 UTC
[jira] [Created] (HDDS-3401) Ozone audit entries could be
consistent among volume creation with quota and update quota
Srinivasu Majeti created HDDS-3401:
--------------------------------------
Summary: Ozone audit entries could be consistent among volume creation with quota and update quota
Key: HDDS-3401
URL: https://issues.apache.org/jira/browse/HDDS-3401
Project: Hadoop Distributed Data Store
Issue Type: Improvement
Components: om
Affects Versions: 0.5.0
Reporter: Srinivasu Majeti
2020-04-14 09:44:55,089 | INFO | OMAudit | user=root | ip=172.25.40.156 | op=CREATE_VOLUME
{admin=root, owner=hdfs, volume=hive2, creationTime=1586857495055, *quotaInBytes=1099511627776*, objectID=1792, updateID=7}
| ret=SUCCESS |
2020-04-14 09:58:09,634 | INFO | OMAudit | user=root | ip=172.25.40.156 | op=SET_QUOTA
{volume=hive, *quota=536870912000*}
| ret=SUCCESS |
OMVolumeSetQuotaRequest.java -> auditMap.put(OzoneConsts.QUOTA, String.valueOf(setVolumePropertyRequest.getQuotaInBytes()));
We can use OzoneConsts.QUOTA_IN_BYTES instead of OzoneConsts.QUOTA
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: ozone-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: ozone-issues-help@hadoop.apache.org