HDFS-8004. Use KeyProviderCryptoExtension#warmUpEncryptedKeys when creating an encryption zone. (awang via asuresh)
(cherry picked from commit e97f8e44af9dffc42c030278425cffe0c9da723b)
This commit is contained in:
parent
eb7068c2c9
commit
dadda2edca
@ -29,6 +29,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
|
||||
|
@ -7955,7 +7955,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) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user