star created HBASE-20738: ---------------------------- Summary: failed with testGetPassword on Windows Key: HBASE-20738 URL: https://issues.apache.org/jira/browse/HBASE-20738 Project: HBase Issue Type: Test Components: test Affects Versions: 2.0.0 Reporter: star Attachments: test-hbase-configuration.patch
When running unit test on Windows, testGetPassword from TestHBaseConfiguration.java failed. The original code produces a uri path like "jceks://file/root/hbase/others" on unix system, but produces a invalid path like "jceks://fileD:\wordspace\hbase\others",which will cause a URISyntaxException latter. To resolve the problem, just add a "/" prefix to windows local path and replace all "\" with "/". -- This message was sent by Atlassian JIRA (v7.6.3#76005)