HDFS-7126. TestEncryptionZonesWithHA assumes Unix path separator for KMS key store path. Contributed by Xiaoyu Yao.
This commit is contained in:
parent
7aa667eefa
commit
a1fd804a31
@ -926,6 +926,9 @@ Release 2.6.0 - UNRELEASED
|
||||
HDFS-7115. TestEncryptionZones assumes Unix path separator for KMS key store
|
||||
path. (Xiaoyu Yao via cnauroth)
|
||||
|
||||
HDFS-7115. TestEncryptionZonesWithHA assumes Unix path separator for KMS key
|
||||
store path. (Xiaoyu Yao via cnauroth)
|
||||
|
||||
Release 2.5.1 - 2014-09-05
|
||||
|
||||
INCOMPATIBLE CHANGES
|
||||
|
@ -60,7 +60,8 @@ public void setupCluster() throws Exception {
|
||||
String testRoot = fsHelper.getTestRootDir();
|
||||
testRootDir = new File(testRoot).getAbsoluteFile();
|
||||
conf.set(DFSConfigKeys.DFS_ENCRYPTION_KEY_PROVIDER_URI,
|
||||
JavaKeyStoreProvider.SCHEME_NAME + "://file" + testRootDir + "/test.jks"
|
||||
JavaKeyStoreProvider.SCHEME_NAME + "://file" +
|
||||
new Path(testRootDir.toString(), "test.jks").toUri()
|
||||
);
|
||||
|
||||
cluster = new MiniDFSCluster.Builder(conf)
|
||||
|
Loading…
Reference in New Issue
Block a user