Our Community is getting an upgrade! To get everything ready for the relaunch, we’ll be placing the site in read-only mode starting September 21st.
We really appreciate your understanding while we get things set up behind the scenes. Catch up on all the exciting details about the move here.
Need help or have questions? Drop us a line at [email protected]

Community Articles

Find and share helpful community-sourced technical articles.
Announcements
Share your experience with Cloudera on G2 and get a $25 Amazon Gift card.
Hi, I'm CLEO! Something exciting is coming to the Community. Stay Tuned!
Labels (1)
avatar
Rising Star

Issue:

If there is a custom PID location configured for services and a non standard service account other than user "ranger", before finalizing upgrade, Ambari shows Ranger service as stopped.

Solution:

Confirm that the Ranger process is running:

ps -ef | grep ranger

The pid and the chown values are hard coded in the /usr/bin/ranger*.

From this location, start and stop are called.

The pidf and the chown values are hard coded in the /usr/bin/ranger-admin from where start and stop are called if you invoke the same from ambari UI.

after changing those values to custom parameters ambari reported the service as running from UI.

Previous value:

cd /usr/bin

cat ranger-admin | grep -i pid

pidf=/var/run/ranger/rangeradmin.pid

New value:

vi ranger-admin

pidf=<custom location>

Save and quit

After changing these values restart ranger service from ambari

1,259 Views
Version history
Last update:
‎12-31-2016 08:14 PM
Updated by:
Contributors