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: [email protected]
For additional commands, e-mail: [email protected]