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

WangYuan updated RANGER-1804:
-----------------------------
    Attachment: 0001-RANGER-1804-The-exception-information-is-error-when-.patch

> The exception information is error when judge password for 
> RangerKeyStoreProvider class
> ---------------------------------------------------------------------------------------
>
>                 Key: RANGER-1804
>                 URL: https://issues.apache.org/jira/browse/RANGER-1804
>             Project: Ranger
>          Issue Type: Bug
>          Components: Ranger
>            Reporter: WangYuan
>            Assignee: WangYuan
>            Priority: Minor
>         Attachments: 
> 0001-RANGER-1804-The-exception-information-is-error-when-.patch
>
>
> The exception information is error when judge password for 
> RangerKeyStoreProvider class
> I think it should throw the password is error instead of throw master key not 
> exists.
> {code}
> String password = conf.get(ENCRYPTION_KEY);
>               if(password == null || password.trim().equals("") || 
> password.trim().equals("_") || password.trim().equals("crypted")){
>                       throw new IOException("Master Key Jceks does not 
> exists");
>               }
> {code}



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to