[
https://issues.apache.org/jira/browse/HDFS-3689?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14288453#comment-14288453
]
Tsz Wo Nicholas Sze commented on HDFS-3689:
-------------------------------------------
{code}
+ FSDirectory.unprotectedUpdateCount(targetIIP, targetIIP.length() - 1,
+ -count, trgInode.diskspaceConsumed() - oldDiskSpace);
{code}
- Disk usage is possibly increase after concat. So we need to verify quota in
the very beginning and then update quota at the end.
- We should add new tests for both increasing and decreasing disk space cases.
> Add support for variable length block
> -------------------------------------
>
> Key: HDFS-3689
> URL: https://issues.apache.org/jira/browse/HDFS-3689
> Project: Hadoop HDFS
> Issue Type: New Feature
> Components: datanode, hdfs-client, namenode
> Affects Versions: 3.0.0
> Reporter: Suresh Srinivas
> Assignee: Jing Zhao
> Attachments: HDFS-3689.000.patch, HDFS-3689.001.patch,
> HDFS-3689.002.patch, HDFS-3689.003.patch, HDFS-3689.003.patch,
> HDFS-3689.004.patch, HDFS-3689.005.patch, HDFS-3689.006.patch,
> HDFS-3689.007.patch, HDFS-3689.008.patch, HDFS-3689.008.patch
>
>
> Currently HDFS supports fixed length blocks. Supporting variable length block
> will allow new use cases and features to be built on top of HDFS.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)