[ 
https://issues.apache.org/jira/browse/HDDS-3401?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

ASF GitHub Bot updated HDDS-3401:
---------------------------------
    Labels: pull-request-available  (was: )

> 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
>            Assignee: Bharat Viswanadham
>            Priority: Minor
>              Labels: pull-request-available
>
> 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-unsubscr...@hadoop.apache.org
For additional commands, e-mail: ozone-issues-h...@hadoop.apache.org

Reply via email to