[
https://issues.apache.org/jira/browse/RANGER-1272?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Qiang Zhang updated RANGER-1272:
--------------------------------
Attachment: 0001-RANGER-1272-The-program-does-not-check-the-RANGER_PI.patch
> The program doesn't check the RANGER_PID_DIR_PATH variables corresponding to
> the path in ranger-admin-services.sh file. The "echo $VALUE_OF_PID > ${pidf}"
> failed when the path doesn't exist.
> -----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
>
> Key: RANGER-1272
> URL: https://issues.apache.org/jira/browse/RANGER-1272
> Project: Ranger
> Issue Type: Bug
> Components: admin
> Reporter: Qiang Zhang
> Assignee: Qiang Zhang
> Labels: patch
> Attachments:
> 0001-RANGER-1272-The-program-does-not-check-the-RANGER_PI.patch
>
>
> The following error occurred when the "ranger-admin start" command was run.
> Starting Apache Ranger Admin Service
> /usr/bin/ranger-admin: line 73: /var/run/ranger/rangeradmin.pid: No such file
> or directory
> chown: cannot access '/var/run/ranger/rangeradmin.pid': No such file or
> directory
> chmod: cannot access '/var/run/ranger/rangeradmin.pid': No such file or
> directory
> cat: /var/run/ranger/rangeradmin.pid: No such file or directory
> Apache Ranger Admin Service with pid has started.
> The program doesn't check the RANGER_PID_DIR_PATH variables corresponding to
> the path in ranger-admin-services.sh file. The "echo $VALUE_OF_PID > ${pidf}"
> failed when the path doesn't exist.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)