Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

Senrty High Availability

Senrty High Availability

New Contributor

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

 

3 REPLIES 3

Re: Senrty High Availability

Master Collaborator
Sentry does not support HA as far as I know.

Re: Senrty High Availability

Sentry HA is supported as of CM / CDH 5.13.0

 

https://www.cloudera.com/documentation/enterprise/latest/topics/sg_sentry_ha.html

 

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.

Highlighted

Re: Senrty High Availability

Explorer
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.