ranger-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Qiang Zhang <zhangqia...@zte.com.cn>
Subject Review Request 54894: 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.
Date Tue, 20 Dec 2016 12:53:46 GMT

-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/54894/
-----------------------------------------------------------

Review request for ranger, Don Bosco Durai, Madhan Reddy, Ramesh Mani, Selvamohan Neethiraj,
and Velmurugan Periasamy.


Bugs: RANGER-1272
    https://issues.apache.org/jira/browse/RANGER-1272


Repository: ranger


Description
-------

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.


Diffs
-----

  embeddedwebserver/scripts/ranger-admin-services.sh 65f9beb 

Diff: https://reviews.apache.org/r/54894/diff/


Testing
-------


Thanks,

Qiang Zhang


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message