[ 
https://issues.apache.org/jira/browse/HBASE-20738?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

star updated HBASE-20738:
-------------------------
    Description: 
     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 solve the problem, just add a "/" prefix to windows local path and 
replace all "\" with "/".

  was:
     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 "/".


> failed with testGetPassword on Windows 
> ---------------------------------------
>
>                 Key: HBASE-20738
>                 URL: https://issues.apache.org/jira/browse/HBASE-20738
>             Project: HBase
>          Issue Type: Bug
>          Components: test
>    Affects Versions: 2.0.0
>            Reporter: star
>            Priority: Minor
>         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 solve 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)

Reply via email to