You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-dev@hadoop.apache.org by "Andrew Wang (JIRA)" <ji...@apache.org> on 2013/10/17 00:22:41 UTC

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

Andrew Wang created HDFS-5376:
---------------------------------

             Summary: 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: Sub-task
          Components: namenode
    Affects Versions: HDFS-4949
            Reporter: Andrew Wang
            Assignee: Andrew Wang


{{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
(v6.1#6144)