You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@sentry.apache.org by "kalyan kumar kalvagadda (JIRA)" <ji...@apache.org> on 2018/04/02 21:36:00 UTC
[jira] [Commented] (SENTRY-2170) update the thrift interface
between sentry server and HDFS sentry client
[ https://issues.apache.org/jira/browse/SENTRY-2170?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16423170#comment-16423170 ]
kalyan kumar kalvagadda commented on SENTRY-2170:
-------------------------------------------------
[~spena] and [~LinaAtAustin]
{noformat}
(Full Snapshot) PermissionsUpdate -> TPermissionsUpdate -> Collection<TPrivilegeChanges>
(Del Update) List<PermissionsUpdate> -> PermissionsUpdate -> TPermissionsUpdate -> TPrivilegeChanges
One instance of TPrivilegeChanges has the permission information about a HMS object
1. Retrieving full/Delta snapshot from persistent store. Construct
1. (Full Snapshot)PermissionsImage
1. Role Image
2. Object ->Role,permission mapping
3. Create thrift version to send stover to NN pug-in
1. PermissionsUpdate
1. TPermissionsUpdate is updated with permissions and role information from PermissionsImage
1. TPrivilegeChanges (one instance per HMS object)
2. TRoleChanges(one Entry for each role which has role -> group Mapping)
2. Retrieving Delta Update from persistent store.
1. deltaRetriever#retrieveDelta
2. Get all the PermissionsUpdate entries from MSentryPermChange table
1. Each PermissionsUpdate object corresponds to one permission change.
{noformat}
> update the thrift interface between sentry server and HDFS sentry client
> ------------------------------------------------------------------------
>
> Key: SENTRY-2170
> URL: https://issues.apache.org/jira/browse/SENTRY-2170
> Project: Sentry
> Issue Type: Sub-task
> Components: Sentry
> Affects Versions: 2.1.0
> Reporter: kalyan kumar kalvagadda
> Assignee: kalyan kumar kalvagadda
> Priority: Major
> Attachments: SENTRY-2170.001.patch
>
>
> Thrift interface between sentry server and hdfs sentry client should be updated to send the send user privileges as well.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)