[ https://issues.apache.org/jira/browse/RANGER-1804?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
WangYuan updated RANGER-1804: ----------------------------- Flags: 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 > > 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)