sentry-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "SentryQA (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (SENTRY-138) Use server timestamp for createTime for role, privilege and group
Date Thu, 27 Mar 2014 00:23:16 GMT

    [ https://issues.apache.org/jira/browse/SENTRY-138?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13948699#comment-13948699
] 

SentryQA commented on SENTRY-138:
---------------------------------

Here are the results of testing the latest attachment
https://issues.apache.org/jira/secure/attachment/12637035/SENTRY-138.patch against master.

{color:red}Overall:{color} -1 due to an error

{color:red}ERROR:{color} failed to build with patch (exit code 1)

Console output: http://bigtop01.cloudera.org:8080/job/PreCommit-SENTRY-Build/41/console

This message is automatically generated.

> Use server timestamp for createTime for role, privilege and group
> -----------------------------------------------------------------
>
>                 Key: SENTRY-138
>                 URL: https://issues.apache.org/jira/browse/SENTRY-138
>             Project: Sentry
>          Issue Type: Sub-task
>            Reporter: Shreepadma Venugopalan
>            Assignee: Shreepadma Venugopalan
>         Attachments: SENTRY-138.patch
>
>
> Server should over write the timestamp that's passed by the client. 
> Following structs include a timestamp,
> {noformat}
> public class MSentryRole {
>   private String roleName;
>   // set of privileges granted to this role
>   private Set<MSentryPrivilege> privileges;
>   // set of groups this role belongs to
>   private Set<MSentryGroup> groups;
>   private long createTime;
>   private String grantorPrincipal;
>   ...
> }
> {noformat}
> {noformat}
> public class MSentryPrivilege {
>   String privilegeScope;
>   String privilegeName;
>   String serverName;
>   String dbName;
>   String tableName;
>   String URI;
>   String action;
>   // roles this privilege is a part of
>   Set<MSentryRole> roles;
>   long createTime;
>   String grantorPrincipal;
>    ...
> }
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message