Support Questions

Find answers, ask questions, and share your expertise

Ranger Blueprint Installation with plugins enabled

Expert Contributor


Would like to ask help on installing ranger and enable its plugins via blueprint vs via ambari.

I've installed Ranger HA via blueprint, successfully with plugins enabled. But, when accessing the ranger dashboard, default services is missing, unlike when enabling the plugins manually via ambari, service is already available. see screenshots:

Enabled plugin via Ambari


Enabled plugin via Blueprint


Any inputs is highly appreciated. Thank you!


New Contributor

Hi! I face exactly the same situation. Any ideas on how to proceed? @Michael Dennis "MD" Uanang? Did you make through it?

New Contributor

OK, after some digging:

Plugin may be visibly enabled in ambari after blueprint install, but it won't be configured and available in Ranger GUI unless the "plugined" service is restarted. Moreover - keep in mind that if you set your own password for amb_ranger_admin user (for example using jinja2 template in blueprint) it has to follow required rules - at least 8 chars and at least one letter and one digit within. Unproperly set password was my case.

If you are installing cluster remotely, those API calls below may be usefull for you (for example to call from ansible playbook). Example for HIVE (all components, all hosts).

Put the service down

curl -i -u admin:admin -H "X-Requested-By: ambari"  -X PUT  -d '{"RequestInfo":{"context":"stop hive","operation_level":{"level":"CLUSTER","cluster_name":"<cluster_name>"}},"Body":{"ServiceInfo":{"state":"INSTALLED"}}}'  http://<ambari_host>:8080/api/v1/clusters/<cluster_name>/services/HIVE

Check service state:

curl --silent -u admin:admin -X GET http://<ambari_host>:8080/api/v1/clusters/<cluster_name>/services/HIVE?fields=ServiceInfo | grep '"state" :'

Bring the service up:

curl -i -u admin:admin -H "X-Requested-By: ambari"  -X PUT  -d '{"RequestInfo":{"context":"start hive","operation_level":{"level":"CLUSTER","cluster_name":"<cluster_name>"}},"Body":{"ServiceInfo":{"state":"STARTED"}}}'  http://<ambari_host>:8080/api/v1/clusters/<cluster_name>/services/HIVE