You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "star (JIRA)" <ji...@apache.org> on 2018/06/15 08:03:00 UTC

[jira] [Created] (HBASE-20738) failed with testGetPassword on Windows

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)