Skip to content

Commit

Permalink
HDFS-8004. Use KeyProviderCryptoExtension#warmUpEncryptedKeys when cr…
Browse files Browse the repository at this point in the history
…eating an encryption zone. (awang via asuresh)
  • Loading branch information
xslogic committed Mar 28, 2015
1 parent 3836ad6 commit e97f8e4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
Original file line number Diff line number Diff line change
Expand Up @@ -344,6 +344,9 @@ Release 2.8.0 - UNRELEASED

HDFS-7990. IBR delete ack should not be delayed. (daryn via kihwal)

HDFS-8004. Use KeyProviderCryptoExtension#warmUpEncryptedKeys when creating
an encryption zone. (awang via asuresh)

OPTIMIZATIONS

BUG FIXES
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7957,7 +7957,7 @@ void createEncryptionZone(final String src, final String keyName,
throw new IOException("Key " + keyName + " doesn't exist.");
}
// If the provider supports pool for EDEKs, this will fill in the pool
generateEncryptedDataEncryptionKey(keyName);
provider.warmUpEncryptedKeys(keyName);
createEncryptionZoneInt(src, metadata.getCipher(),
keyName, logRetryCache);
} catch (AccessControlException e) {
Expand Down

0 comments on commit e97f8e4

Please sign in to comment.