HADOOP-11112. TestKMSWithZK does not use KEY_PROVIDER_URI. (tucu via wang)

(cherry picked from commit b6ceef90e5)
This commit is contained in:
Andrew Wang 2014-09-19 17:42:00 -07:00
parent b55aa50ec6
commit eec927f3fc
2 changed files with 3 additions and 1 deletions

View File

@ -255,6 +255,8 @@ Release 2.6.0 - UNRELEASED
HADOOP-10833. Remove unused cache in UserProvider. (Benoy Antony)
HADOOP-11112. TestKMSWithZK does not use KEY_PROVIDER_URI. (tucu via wang)
BUG FIXES
HADOOP-10781. Unportable getgrouplist() usage breaks FreeBSD (Dmitry

View File

@ -76,7 +76,7 @@ public class TestKMSWithZK {
protected Configuration createBaseKMSConf(File keyStoreDir) throws Exception {
Configuration conf = new Configuration(false);
conf.set("hadoop.security.key.provider.path",
conf.set(KMSConfiguration.KEY_PROVIDER_URI,
"jceks://file@" + new Path(keyStoreDir.getAbsolutePath(),
"kms.keystore").toUri());
conf.set("hadoop.kms.authentication.type", "simple");