HDFS-7126. TestEncryptionZonesWithHA assumes Unix path separator for KMS key store path. Contributed by Xiaoyu Yao.
(cherry picked from commit a1fd804a31
)
This commit is contained in:
parent
273fb3a78c
commit
ac3b62dae7
|
@ -584,6 +584,9 @@ Release 2.6.0 - UNRELEASED
|
||||||
HDFS-7115. TestEncryptionZones assumes Unix path separator for KMS key store
|
HDFS-7115. TestEncryptionZones assumes Unix path separator for KMS key store
|
||||||
path. (Xiaoyu Yao via cnauroth)
|
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
|
Release 2.5.1 - 2014-09-05
|
||||||
|
|
||||||
INCOMPATIBLE CHANGES
|
INCOMPATIBLE CHANGES
|
||||||
|
|
|
@ -60,7 +60,8 @@ public class TestEncryptionZonesWithHA {
|
||||||
String testRoot = fsHelper.getTestRootDir();
|
String testRoot = fsHelper.getTestRootDir();
|
||||||
testRootDir = new File(testRoot).getAbsoluteFile();
|
testRootDir = new File(testRoot).getAbsoluteFile();
|
||||||
conf.set(DFSConfigKeys.DFS_ENCRYPTION_KEY_PROVIDER_URI,
|
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)
|
cluster = new MiniDFSCluster.Builder(conf)
|
||||||
|
|
Loading…
Reference in New Issue