[ https://issues.apache.org/jira/browse/HDFS-7209?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Yi Liu updated HDFS-7209: ------------------------- Attachment: HDFS-7209.001.patch The patch makes two changes: *1.* fill in the EDEK queue when creating encryption zone. *2.* For creating file in FSN, if {{provider}} is null, it's not necessary to hold the read lock and check whether the file is in an encryption zone, that's a bit more efficient. > fill the key queue when creating encryption zone > ------------------------------------------------ > > Key: HDFS-7209 > URL: https://issues.apache.org/jira/browse/HDFS-7209 > Project: Hadoop HDFS > Issue Type: Sub-task > Components: encryption, performance > Affects Versions: 2.6.0 > Reporter: Yi Liu > Assignee: Yi Liu > Attachments: HDFS-7209.001.patch > > > Currently when creating file in an encryption zone for the first time, key > provider will get bunch of keys from KMS and fill in the queue. It will take > some time. We can initialize the key queue when creating the encryption zone > by admin. -- This message was sent by Atlassian JIRA (v6.3.4#6332)