/clusters/{clusterName}/services/{serviceName}/commands/enableSentryHa
Mount Point: /api/v19/clusters/{clusterName}/services/{serviceName}/commands/enableSentryHa
POST
Enable high availability (HA) for Sentry service.
This command only applies to CDH 5.13+ Sentry services.
The command will create a new Sentry server on the specified host and set the ZooKeeper configs needed for Sentry HA.
As part of enabling HA, all services that depend on HDFS will be restarted after enabling Sentry HA.
Note: Sentry doesn't support Rolling Restart.
Parameters
name | description | type | default |
---|---|---|---|
serviceName | A String representing the Sentry service name. | path | |
clusterName | (no documentation provided) | path |
Request Body
element: | enableSentryHaArgs |
An instance of ApiEnableSentryHaArgs representing the arguments to the command.
Response Body
element: | command |
the created command instance