[ 
https://issues.apache.org/jira/browse/HDFS-12100?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16141478#comment-16141478
 ] 

Lokesh Jain commented on HDFS-12100:
------------------------------------

I am trying to fix this issue and had a doubt. It can be possible that all 
blocks for a key size are not allocated. What is the ideal way of handling such 
a case in terms of updating the volume size.

> Ozone: KSM: Allocate key should honour volume quota if quota is set on the 
> volume
> ---------------------------------------------------------------------------------
>
>                 Key: HDFS-12100
>                 URL: https://issues.apache.org/jira/browse/HDFS-12100
>             Project: Hadoop HDFS
>          Issue Type: Sub-task
>          Components: ozone
>    Affects Versions: HDFS-7240
>            Reporter: Mukul Kumar Singh
>            Assignee: Lokesh Jain
>             Fix For: HDFS-7240
>
>
> KeyManagerImpl#allocateKey currently does not check the volume quota before 
> allocating a key, this can cause the volume quota overrun.
> Volume quota needs to be check before allocating the key in the SCM.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

---------------------------------------------------------------------
To unsubscribe, e-mail: hdfs-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org

Reply via email to