Ewan Higgs created HDFS-13698:
---------------------------------

             Summary: [PROVIDED Phase 2] Provided ReplicaMap should be LRU with 
separate lookup from normal Replicas
                 Key: HDFS-13698
                 URL: https://issues.apache.org/jira/browse/HDFS-13698
             Project: Hadoop HDFS
          Issue Type: Sub-task
            Reporter: Ewan Higgs
            Assignee: Virajith Jalaparti


The existing ReplicaMap uses {{ExtendedBlock}} to lookup the replica 
information. However, Provided replicas should not be in the ReplicaMap; 
instead they should be lookups in the AliasMap. In order to handle this case, 
the ReplicaMap lookups should be split into two phases:

Lookup by normal ReplicaMap (as is done now) and lookup in AliasMap to see if 
there is also a Provided replica. The performance of this second provided 
lookup should be sped up using an LRU cache.



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

---------------------------------------------------------------------
To unsubscribe, e-mail: hdfs-dev-unsubscr...@hadoop.apache.org
For additional commands, e-mail: hdfs-dev-h...@hadoop.apache.org

Reply via email to