Apache Sentry - High Availability
Hao Hao - hao.hao@cloudera.com
Apache Sentry - High Availability Hao Hao - hao.hao@cloudera.com - - PowerPoint PPT Presentation
Apache Sentry - High Availability Hao Hao - hao.hao@cloudera.com Seville, Spain, Nov 14 - 16 2016 About me Software engineers at Cloudera Apache Sentry PMC and Committer Presentation Agenda Apache Sentry Overview
Hao Hao - hao.hao@cloudera.com
Hive Solr Sqoop Hook Hook Hook
Thrift APIs Sentry Policy Store
Hive Solr Sqoop Provider Backend DB Policy Engine Access Binding Layer Solr Policy Engine Sqoop Policy Engine Authorization Provider Local File/HDFS Sentry Database Policy Metadata Store
Hive Solr Sqoop Provider Backend DB Policy Engine Access Binding Layer Solr Policy Engine Sqoop Policy Engine Authorization Provider
authorization requests in the native format of requestors and converts that into an authz request based on the authorization data model that can be handled by Sentry authorization provider.
Local File/HDFS Sentry Database Policy Metadata Store
Hive Solr Sqoop Provider Backend DB Policy Engine Access Binding Layer Solr Policy Engine Sqoop Policy Engine Authorization Provider
abstraction for making the authorization decision for the authz request from binding
RBAC authorization model implementation.
Local File/HDFS Sentry Database Policy Metadata Store
Hive Solr Sqoop Provider Backend DB Policy Engine Access Binding Layer Solr Policy Engine Sqoop Policy Engine Authorization Provider
requested privileges from the binding layer and the required privileges from the provider layer. It looks at the requested and required privileges and makes the decision whether the action should be allowed.
Local File/HDFS Sentry Database Policy Metadata Store
Hive Solr Sqoop Provider Backend DB Policy Engine Access Binding Layer Solr Policy Engine Sqoop Policy Engine Authorization Provider
authorization metadata available for the policy engine. It allows the metadata to be pulled out of the underlying repository independent of the way that metadata is stored.
Local File/HDFS Sentry Database Policy Metadata Store
Hive Solr Sqoop Provider Backend DB Policy Engine Access Binding Layer Solr Policy Engine Sqoop Policy Engine Authorization Provider
Sentry Service: persist the role to privilege and group to role mappings in an RDBMS and provide programmatic APIs to create, query, update and delete it. This enables various Sentry clients to retrieve and modify the privileges concurrently and securely.
Local File/HDFS Sentry Database Policy Metadata Store
Hive Solr Sqoop Hook Hook Hook
Thrift APIs Sentry Store
Hive Solr Sqoop Hook Hook Hook
Thrift APIs
Cache
Sentry Store Hook NameNode
Cache
Hive Metastore Hook
Hive HA SQL Active Sentry FOLLOWER Active Sentry LEADER Active HMS Active HMS Sentry HA SQL Notification Log Read/Write Read/Write
processing of HMS notification log. It also provide a way to associate Sentry permission state with specific HMS notification ID change by referring Hive object name.
Hive HA SQL Active Sentry FOLLOWER Active Sentry LEADER Active HMS Active HMS Sentry HA SQL Notification Log Read/Write Read/Write
using ZooKeeper.
becomes the leader. This is currently implemented using Curator framework.
Hive HA SQL Active Sentry FOLLOWER Active Sentry LEADER Active HMS Active HMS Sentry HA SQL Notification Log Read/Write Read/Write