You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ranger.apache.org by "Qiang Zhang (JIRA)" <ji...@apache.org> on 2017/10/27 01:01:00 UTC
[jira] [Resolved] (RANGER-1857) 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.
[ https://issues.apache.org/jira/browse/RANGER-1857?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Qiang Zhang resolved RANGER-1857.
---------------------------------
Resolution: Fixed
Fix Version/s: master
1.0.0
> 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
> Fix For: 1.0.0, master
>
> 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)