You are viewing an old version of this page. View the current version.
Compare with Current
View Page History
Version 1
Current »
Sentry HA is a new feature which provides uninterrupted access of metastore meta data to downstream clients: Hive, Impala, Solr and HDFS ACLs.
Add Enough Servers for Sentry
Theoretically more than one servers can be added into Sentry Service, up to now 2 servers case is fully supported.
Sentry Service (sentry-site.xml)
HA
Config Property | Value | Default | Required |
---|
sentry.ha.enabled | True | False | False | Yes |
ZK Quorum
Config Property | Value | Default | Required |
---|
sentry.ha.zookeeper.quorum | comma separated list of ZK servers | localhost | Yes |
sentry.ha.zookeeper.client.port | ZK client port number | 2180 | Yes |
sentry.zookeeper.client.principal | sentry/_HOST@REALM | | No |
sentry.zookeeper.client.keytab | sentry.keytab | | No |
sentry.service.server.principal | sentry/_HOST@REALM | | |
ZK Security
Config Property | Value | Default | Required |
---|
sentry.ha.zookeeper.security | True | False | False | Yes |
HiveMetaStore (hive-site.xml)
Config Property | Value | Default | Required |
---|
sentry.metastore.plugins | enable Sentry HA to work with HMS HA and HDFS SyncUp | sentry.zookeeper.client.principalorg.apache.sentry.hdfs.MetastorePluginWithHA | No |
sentry.zookeeper.client.principal | HIVE/_HOST@REALM | | No |
sentry.zookeeper.client.keytab | hive.keytab | | No |
HiveServer2 (sentry-site.xml)
Config Property | Value | Default | Required |
---|
sentry.zookeeper.client.principal | HIVE/_HOST@REALM | | No |
sentry.zookeeper.client.keytab | hive.keytab | | No |
Impala (sentry-site.xml)
Config Property | Value | Default | Required |
---|
sentry.zookeeper.client.principal | IMPALA/_HOST@REALM | | No |
sentry.zookeeper.client.keytab | impala.keytab | | No |
Hue (sentry-site.xml)
Config Property | Value | Default | Required |
---|
sentry.zookeeper.client.principal | HUE/_HOST@REALM | | No |
sentry.zookeeper.client.keytab | hue.keytab | | No |