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

Zesheng Wu commented on HDFS-5682:
----------------------------------

Thanks for the responses [~arpitagarwal]
bq.The function name should communicate that this is disk space quota for a 
specific storage type, as opposed to the overall quotas which are set with 
setQuota. If the proposed name is hard to follow, how about 
get/setsetQuotaByStorageType? 

Yes, get/setQuotaByStorageType will be clearer.

bq.Let's defer this for now. The API and protocol can both be easily extended 
in a backwards compatible manner in the future without affecting existing 
applications.

OK

bq. We have to differentiate between quota unavailability vs disk space 
availability. The former will result in a quota violation exception, the latter 
will result in the behavior you described. We discuss the reasons for this in 
the HDFS-2832 design doc.

Got it, thanks.  I will look into the HDFS-2832 doc for more details.

> Heterogeneous Storage phase 2 - APIs to expose Storage Types
> ------------------------------------------------------------
>
>                 Key: HDFS-5682
>                 URL: https://issues.apache.org/jira/browse/HDFS-5682
>             Project: Hadoop HDFS
>          Issue Type: Bug
>    Affects Versions: 3.0.0
>            Reporter: Arpit Agarwal
>            Assignee: Arpit Agarwal
>         Attachments: 20140522-Heterogeneous-Storages-API.pdf
>
>
> Phase 1 (HDFS-2832) added support to present the DataNode as a collection of 
> discrete storages of different types.
> This Jira is to track phase 2 of the Heterogeneous Storage work which 
> involves exposing Storage Types to applications and adding Quota Management 
> support for administrators.
> This phase will also include tools support for administrators/users.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to