CDH5.16.1 the installation Sentry

1. Environment

CentOS 7.6
CDH 5.16.1

2. Install Sentry

1. Create a database

create database sentry default character set utf8;
CREATE USER 'sentry'@'%' IDENTIFIED BY 'admin';   
GRANT ALL PRIVILEGES ON sentry. * TO 'sentry'@'%' IDENTIFIED BY 'admin';   
FLUSH PRIVILEGES;

2. Add Sentry Services

3. Configure permission by Sentry

1. Modify the configuration HiveServer2 Hive

2. Configure Hive of Sentry Services

3. Configure HDFS's Sentry, control user access HDFS directory

Configuring the Impala Sentry

The configuration of Hue Sentry

6. Turn mode hive testing services

Guess you like

Origin www.cnblogs.com/wuning/p/11756437.html