You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by "Bharat Viswanadham (Jira)" <ji...@apache.org> on 2020/04/16 22:04:00 UTC

[jira] [Resolved] (HDDS-3401) Ozone audit entries could be consistent among volume creation with quota and update quota

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

Bharat Viswanadham resolved HDDS-3401.
--------------------------------------
    Fix Version/s: 0.6.0
       Resolution: Fixed

> 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
>             Fix For: 0.6.0
>
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> 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