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

Qiang Zhang closed RANGER-1385.
-------------------------------

> UnixAuthenticationService may fails in Widows  as the  "/" is different from 
> "\"
> --------------------------------------------------------------------------------
>
>                 Key: RANGER-1385
>                 URL: https://issues.apache.org/jira/browse/RANGER-1385
>             Project: Ranger
>          Issue Type: Bug
>          Components: audit
>            Reporter: Qiang Zhang
>            Assignee: Qiang Zhang
>            Priority: Critical
>             Fix For: 1.0.0
>
>         Attachments: 
> 0001-RANGER-1385-UnixAuthenticationService-may-fails-in-W.patch
>
>
> UnixAuthenticationService may fails in Widows  as the  "/" is different from 
> "\"
> Problem:
> The problem in windows ("/") is different from the expected in the test 
> ("\"); thus, the test  will sucess in unix system  but fail in Windows  
> systems.
> Solution:
> Change  " ret = getClass().getResourceAsStream("/" + path); "
> to  "ret = getClass().getResourceAsStream(File.separator + path);"



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to