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

peng.jianhua updated RANGER-1857:
---------------------------------
    Attachment: 0001-RANGER-1857-The-value-of-RANGER_KMS_HOME-logic-is-no.patch

> The value of RANGER_KMS_HOME logic is not correct in dba_script.py and 
> db_setup.py, Like db_setup.py in admin, we should optimize them.
> ---------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: RANGER-1857
>                 URL: https://issues.apache.org/jira/browse/RANGER-1857
>             Project: Ranger
>          Issue Type: Bug
>          Components: kms
>    Affects Versions: 0.7.1
>            Reporter: peng.jianhua
>            Assignee: peng.jianhua
>            Priority: Minor
>              Labels: patch
>         Attachments: 
> 0001-RANGER-1857-The-value-of-RANGER_KMS_HOME-logic-is-no.patch
>
>
> The value of RANGER_KMS_HOME logic is not correct in dba_script.py and 
> db_setup.py, Like db_setup.py in admin, we should optimize them.
> The value of RANGER_KMS_HOME logic in dba_script.py is as following:
> {code}
> if is_unix:
>       RANGER_KMS_HOME = os.getenv("RANGER_KMS_HOME")
>       if RANGER_KMS_HOME is None:
>               RANGER_KMS_HOME = os.getcwd()
> elif os_name == "WINDOWS":
>       RANGER_KMS_HOME = os.getenv("RANGER_KMS_HOME")
> {code}
> The value of RANGER_ADMIN_HOME logic in admin is as following:
> {code}
> RANGER_ADMIN_HOME = os.getenv("RANGER_ADMIN_HOME")
> if RANGER_ADMIN_HOME is None:
>       RANGER_ADMIN_HOME = os.getcwd()
> {code}



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

Reply via email to