HADOOP-11112. TestKMSWithZK does not use KEY_PROVIDER_URI. (tucu via wang)
This commit is contained in:
parent
9e35571965
commit
b6ceef90e5
|
@ -591,6 +591,8 @@ Release 2.6.0 - UNRELEASED
|
||||||
|
|
||||||
HADOOP-10833. Remove unused cache in UserProvider. (Benoy Antony)
|
HADOOP-10833. Remove unused cache in UserProvider. (Benoy Antony)
|
||||||
|
|
||||||
|
HADOOP-11112. TestKMSWithZK does not use KEY_PROVIDER_URI. (tucu via wang)
|
||||||
|
|
||||||
BUG FIXES
|
BUG FIXES
|
||||||
|
|
||||||
HADOOP-10781. Unportable getgrouplist() usage breaks FreeBSD (Dmitry
|
HADOOP-10781. Unportable getgrouplist() usage breaks FreeBSD (Dmitry
|
||||||
|
|
|
@ -76,7 +76,7 @@ public class TestKMSWithZK {
|
||||||
|
|
||||||
protected Configuration createBaseKMSConf(File keyStoreDir) throws Exception {
|
protected Configuration createBaseKMSConf(File keyStoreDir) throws Exception {
|
||||||
Configuration conf = new Configuration(false);
|
Configuration conf = new Configuration(false);
|
||||||
conf.set("hadoop.security.key.provider.path",
|
conf.set(KMSConfiguration.KEY_PROVIDER_URI,
|
||||||
"jceks://file@" + new Path(keyStoreDir.getAbsolutePath(),
|
"jceks://file@" + new Path(keyStoreDir.getAbsolutePath(),
|
||||||
"kms.keystore").toUri());
|
"kms.keystore").toUri());
|
||||||
conf.set("hadoop.kms.authentication.type", "simple");
|
conf.set("hadoop.kms.authentication.type", "simple");
|
||||||
|
|
Loading…
Reference in New Issue