ranger-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gautam Borad (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (RANGER-758) Handle special characters in passwords starting from -r
Date Fri, 04 Dec 2015 03:30:10 GMT

    [ https://issues.apache.org/jira/browse/RANGER-758?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15039691#comment-15039691
] 

Gautam Borad commented on RANGER-758:
-------------------------------------

Committed to master : https://github.com/apache/incubator-ranger/commit/d0c8e4fc88886779a3cf93f951364cc6df785868
Committed to ranger-0.5 : https://github.com/apache/incubator-ranger/commit/ad5393599c6acee4a4b2c8c902f23cd264fa9f29

> Handle special characters in passwords  starting from  -r 
> ----------------------------------------------------------
>
>                 Key: RANGER-758
>                 URL: https://issues.apache.org/jira/browse/RANGER-758
>             Project: Ranger
>          Issue Type: Bug
>          Components: admin
>    Affects Versions: 0.5.1
>            Reporter: Gautam Borad
>            Assignee: Gautam Borad
>             Fix For: 0.5.1, 0.6.0
>
>
> *Problem Statement*:
>     Ranger install fails if password starts with '-r'
> *Steps to Reproduce*: 
> 1) Deploy cluster with out ranger
> 2) Try to add ranger with specific password
>     Ranger DB password = -ran*ger_$admin+
> *Actual result*:
> When password contains '-r' at beginning, parsing does not work properly: 
> {code}
> 2015-11-23 17:19:52,462  [I] --------- Verifying Ranger DB connection ---------
> 2015-11-23 17:19:52,462  [I] Checking connection
> SQLException : SQL state: 28P01 org.postgresql.util.PSQLException: FATAL: password authentication
failed for user "rangeradmin" ErrorCode: 0
> 2015-11-23 17:19:52,705  [E] Can't establish connection 
> {code}
> *Expected Result*: 
> Ranger install should work even with passwords starting with '-r'



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message