[
https://issues.apache.org/jira/browse/RANGER-1449?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Colm O hEigeartaigh resolved RANGER-1449.
-----------------------------------------
Resolution: Fixed
> There is logical inconsistency for RANGER_PID_DIR_PATH in security admin
> ------------------------------------------------------------------------
>
> Key: RANGER-1449
> URL: https://issues.apache.org/jira/browse/RANGER-1449
> Project: Ranger
> Issue Type: Bug
> Components: admin
> Reporter: peng.jianhua
> Assignee: peng.jianhua
> Priority: Minor
> Labels: patch
> Fix For: 1.0.0
>
> Attachments:
> 0001-RANGER-1449-There-is-logical-inconsistency-for-RANGE.patch
>
>
> 1. There is RANGER_PID_DIR_PATH parameter in install.properties. But There is
> hard code at the begin of setup.sh
> pidFolderName='/var/run/ranger'
> mkdir -p ${pidFolderName}
> if [ ! $? = "0" ];then
> log "Make $pidFolderName failure....!!";
> exit 1;
> fi
> 2. The ranger-admin-services.sh will set default value and create default
> path when the RANGER_PID_DIR_PATH parameter is empty. The setup.sh doesn't
> set default value and create default path.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)