You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-issues@hadoop.apache.org by "Bikas Saha (JIRA)" <ji...@apache.org> on 2013/08/15 19:05:55 UTC

[jira] [Commented] (HDFS-5096) Automatically cache new data added to a cached path

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

Bikas Saha commented on HDFS-5096:
----------------------------------

Would automatic cache eviction be a pre-requisite for automatic cache addition?
                
> 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
>
> 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 is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira