New Contributor
Posts: 1
Registered: ‎08-14-2018

Senrty High Availability

Hi @Darren @Wilfred @dice @Michalis 


I am working on Sentry deployment in Cloudera Manager, I want to enable High Availability for Sentry service. I went through many Cloudera Sites but I could see only GUI method of enabling Sentry HA but I want to enable HA  for Sentry through CM API in python, Could you please guide me on this that how can I achieve this.



Thanks in advance 

Swathi S G


Posts: 430
Registered: ‎07-01-2015

Re: Senrty High Availability

Sentry does not support HA as far as I know.
Cloudera Employee
Posts: 509
Registered: ‎07-30-2013

Re: Senrty High Availability

Sentry HA is supported as of CM / CDH 5.13.0


To enable Sentry HA via the API, after meeting the prerequisites, you will need to:

1) Add an extra Sentry Server role to a host

2) You may need to go to the Hive service and Enable Stored Notifications in Database (HMS group setting)

3) Generally follow the public doc instructions for enabling Sentry HA with rolling restart, but using API commands instead of GUI actions.

Posts: 7
Registered: ‎05-09-2018

Re: Senrty High Availability

But here the objective is to deploy sentry with HA using python cm_api sdk. Deploying Sentry is not a big deal but enabling Sentry HA we don't find any method in SDK similar to enabling yarn and HDFS HA.