[
https://issues.apache.org/jira/browse/HDFS-5096?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13797324#comment-13797324
]
Colin Patrick McCabe commented on HDFS-5096:
--------------------------------------------
bq. Add a little more to the CachedBlock#triplets javadoc that specifies
element, prev, next. You could even just copy the javadoc from BlockInfo.
ok
bq. Class javadoc explaining the use of the GSet and IntrusiveCollection
ok
bq. A short is 16 bits, the comment on replicationAndMark indicates it's 8 bits.
fixed
bq. I think this should be a >=:
agree
for the follow-on work, I added a comment about kicking on a DN failure and
avoiding decomissioned DNs to HDFS-5366
incremental rescan is down the road, I think. we should do the pool management
stuff before that...
thanks. will commit shortly.
> Automatically cache new data added to a cached path
> ---------------------------------------------------
>
> Key: HDFS-5096
> URL: https://issues.apache.org/jira/browse/HDFS-5096
> Project: Hadoop HDFS
> Issue Type: Sub-task
> Components: datanode, namenode
> Reporter: Andrew Wang
> Assignee: Colin Patrick McCabe
> Attachments: HDFS-5096-caching.002.patch,
> HDFS-5096-caching.005.patch, HDFS-5096-caching.006.patch,
> HDFS-5096-caching.009.patch, HDFS-5096-caching.010.patch,
> HDFS-5096-caching.011.patch, HDFS-5096-caching.012.patch
>
>
> For some applications, it's convenient to specify a path to cache, and have
> HDFS automatically cache new data added to the path without sending a new
> caching request or a manual refresh command.
> One example is new data appended to a cached file. It would be nice to
> re-cache a block at the new appended length, and cache new blocks added to
> the file.
> Another example is a cached Hive partition directory, where a user can drop
> new files directly into the partition. It would be nice if these new files
> were cached.
> In both cases, this automatic caching would happen after the file is closed,
> i.e. block replica is finalized.
--
This message was sent by Atlassian JIRA
(v6.1#6144)