hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Walter Su (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HDFS-8594) Erasure Coding: cache ErasureCodingZone
Date Sun, 14 Jun 2015 01:36:01 GMT
Walter Su created HDFS-8594:
-------------------------------

             Summary: Erasure Coding: cache ErasureCodingZone
                 Key: HDFS-8594
                 URL: https://issues.apache.org/jira/browse/HDFS-8594
             Project: Hadoop HDFS
          Issue Type: Sub-task
            Reporter: Walter Su
            Assignee: Walter Su


scenario 1:
We have 100m files in a EC zone. Everytime we open a file, we need to get ECSchema(need get
ECZone first). So getting EC zone is frequent.
scenario 2:
We have a EC zone "/d1". We have a file in "/d1/d2/d3/.../dN". We have to search from xAttrs
from dN, dN-1, ..., d3, d2, d1, until we find a EC zone from d1's xAttr.

It's better we cache the EC zone, like EncryptionZoneManager#encryptionZones



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message