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 "Hrishikesh Gadre (JIRA)" <ji...@apache.org> on 2018/08/31 18:21:00 UTC

[jira] [Commented] (HDFS-5376) Incremental rescanning of cached blocks and cache entries

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

Hrishikesh Gadre commented on HDFS-5376:
----------------------------------------

[~andrew.wang] are you planning to work on this? Since I am looking into HDFS-13820, I would like to work on this as well as they are related.

> Incremental rescanning of cached blocks and cache entries
> ---------------------------------------------------------
>
>                 Key: HDFS-5376
>                 URL: https://issues.apache.org/jira/browse/HDFS-5376
>             Project: Hadoop HDFS
>          Issue Type: Wish
>          Components: namenode
>    Affects Versions: HDFS-4949
>            Reporter: Andrew Wang
>            Assignee: Andrew Wang
>            Priority: Major
>
> {{CacheReplicationMonitor#rescan}} is invoked whenever a new cache entry is added or removed. This involves a complete rescan of all cache entries and cached blocks, which is potentially expensive. It'd be better to do an incremental scan instead. This would also let us incrementally re-scan on namespace changes like rename and create for better caching latency.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: hdfs-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-help@hadoop.apache.org