[
https://issues.apache.org/jira/browse/HDFS-7824?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14381470#comment-14381470
]
Xiaoyu Yao commented on HDFS-7824:
----------------------------------
BlockManager#convertLastBlockToUnderConstruction need to pass
BlockStoragePolicySuite when calling BlockCollection#computeContentSummary so
that the ContentSummaryComputationContext object is constructed with a valid
BlockStoragePolicy to compute quota and usage.
> GetContentSummary API and its namenode implementaion for Storage Type
> Quota/Usage
> ---------------------------------------------------------------------------------
>
> Key: HDFS-7824
> URL: https://issues.apache.org/jira/browse/HDFS-7824
> Project: Hadoop HDFS
> Issue Type: Sub-task
> Components: datanode, namenode
> Reporter: Xiaoyu Yao
> Assignee: Xiaoyu Yao
> Attachments: HDFS-7824.00.patch, HDFS-7824.01.patch,
> HDFS-7824.02.patch, HDFS-7824.03.patch, HDFS-7824.04.patch,
> HDFS-7824.05.patch, HDFS-7824.06.patch
>
>
> This JIRA is opened to provide API support of GetContentSummary with storage
> type quota and usage information. It includes namenode implementation, client
> namenode RPC protocol and Content.Counts refactoring. It is required by
> HDFS-7701 (CLI to display storage type quota and usage).
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)