[
https://issues.apache.org/jira/browse/HDFS-3689?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Jing Zhao updated HDFS-3689:
----------------------------
Attachment: HDFS-3689.001.patch
Update the patch a little bit to demonstrate #3: the support in DFSOutputStream
to let clients specify when to allocate a new block. Currently I simply add a
new SyncFlag named END_BLOCK. Clients can call {{hsync(END_BLOCK)}} to force
the completion of the current block. Some unit tests are also included to make
sure the basic functionality works.
> 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: Suresh Srinivas
> Attachments: HDFS-3689.000.patch, HDFS-3689.001.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.2#6252)