You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ranger.apache.org by "peng.jianhua (JIRA)" <ji...@apache.org> on 2017/10/25 02:17:00 UTC
[jira] [Created] (RANGER-1857) The value of RANGER_KMS_HOME logic
is not correct in dba_script.py, Like db_setup.py in kms, we should
optimize it.
peng.jianhua created RANGER-1857:
------------------------------------
Summary: The value of RANGER_KMS_HOME logic is not correct in dba_script.py, Like db_setup.py in kms, we should optimize it.
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
The value of RANGER_KMS_HOME logic is not correct in dba_script.py, Like db_setup.py in kms, we should optimize it.
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_KMS_HOME logic in db_setup.py 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)