[jira] [Commented] (SENTRY-2545) Rolling back Privilege Cache to SimplePrivilegeCache does not work

2019-12-28 Thread Hadoop QA (Jira)


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

Hadoop QA commented on SENTRY-2545:
---

Here are the results of testing the latest attachment
https://issues.apache.org/jira/secure/attachment/12989624/SENTRY-2545.001.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: 
https://builds.apache.org/job/PreCommit-SENTRY-Build/4470/console

This message is automatically generated.

> Rolling back Privilege Cache to SimplePrivilegeCache does not work
> --
>
> Key: SENTRY-2545
> URL: https://issues.apache.org/jira/browse/SENTRY-2545
> Project: Sentry
>  Issue Type: Bug
>  Components: Sentry
>Affects Versions: 2.1
>Reporter: Na Li
>Assignee: Na Li
>Priority: Major
> Attachments: SENTRY-2545.001.patch, SENTRY-2545.002.patch
>
>
> The change in SENTRY-2539 uses TreePrivilegeCache as default implementation 
> of privilege cache to improve authorization performance. However, rolling 
> back to SimplePrivilegeCache does not work due to how Sentry creates the 
> privilege cache.
> The solution is to create the privilege cache based on configured class name 
> and handle different constructor inputs properly. 
> More test cases are added to verify that rollback works.
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Updated] (SENTRY-2545) Rolling back Privilege Cache to SimplePrivilegeCache does not work

2019-12-28 Thread Na Li (Jira)


 [ 
https://issues.apache.org/jira/browse/SENTRY-2545?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Na Li updated SENTRY-2545:
--
Attachment: SENTRY-2545.002.patch

> Rolling back Privilege Cache to SimplePrivilegeCache does not work
> --
>
> Key: SENTRY-2545
> URL: https://issues.apache.org/jira/browse/SENTRY-2545
> Project: Sentry
>  Issue Type: Bug
>  Components: Sentry
>Affects Versions: 2.1
>Reporter: Na Li
>Assignee: Na Li
>Priority: Major
> Attachments: SENTRY-2545.001.patch, SENTRY-2545.002.patch
>
>
> The change in SENTRY-2539 uses TreePrivilegeCache as default implementation 
> of privilege cache to improve authorization performance. However, rolling 
> back to SimplePrivilegeCache does not work due to how Sentry creates the 
> privilege cache.
> The solution is to create the privilege cache based on configured class name 
> and handle different constructor inputs properly. 
> More test cases are added to verify that rollback works.
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Updated] (SENTRY-2545) Rolling back Privilege Cache to SimplePrivilegeCache does not work

2019-12-28 Thread Na Li (Jira)


 [ 
https://issues.apache.org/jira/browse/SENTRY-2545?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Na Li updated SENTRY-2545:
--
Status: Patch Available  (was: Open)

> Rolling back Privilege Cache to SimplePrivilegeCache does not work
> --
>
> Key: SENTRY-2545
> URL: https://issues.apache.org/jira/browse/SENTRY-2545
> Project: Sentry
>  Issue Type: Bug
>  Components: Sentry
>Affects Versions: 2.1
>Reporter: Na Li
>Assignee: Na Li
>Priority: Major
> Attachments: SENTRY-2545.001.patch
>
>
> The change in SENTRY-2539 uses TreePrivilegeCache as default implementation 
> of privilege cache to improve authorization performance. However, rolling 
> back to SimplePrivilegeCache does not work due to how Sentry creates the 
> privilege cache.
> The solution is to create the privilege cache based on configured class name 
> and handle different constructor inputs properly. 
> More test cases are added to verify that rollback works.
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Updated] (SENTRY-2545) Rolling back Privilege Cache to SimplePrivilegeCache does not work

2019-12-28 Thread Na Li (Jira)


 [ 
https://issues.apache.org/jira/browse/SENTRY-2545?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Na Li updated SENTRY-2545:
--
Attachment: SENTRY-2545.001.patch

> Rolling back Privilege Cache to SimplePrivilegeCache does not work
> --
>
> Key: SENTRY-2545
> URL: https://issues.apache.org/jira/browse/SENTRY-2545
> Project: Sentry
>  Issue Type: Bug
>  Components: Sentry
>Affects Versions: 2.1
>Reporter: Na Li
>Assignee: Na Li
>Priority: Major
> Attachments: SENTRY-2545.001.patch
>
>
> The change in SENTRY-2539 uses TreePrivilegeCache as default implementation 
> of privilege cache to improve authorization performance. However, rolling 
> back to SimplePrivilegeCache does not work due to how Sentry creates the 
> privilege cache.
> The solution is to create the privilege cache based on configured class name 
> and handle different constructor inputs properly. 
> More test cases are added to verify that rollback works.
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Updated] (SENTRY-2545) Rolling back Privilege Cache to SimplePrivilegeCache does not work

2019-12-28 Thread Na Li (Jira)


 [ 
https://issues.apache.org/jira/browse/SENTRY-2545?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Na Li updated SENTRY-2545:
--
Summary: Rolling back Privilege Cache to SimplePrivilegeCache does not work 
 (was: Rollback Privilege Cache to SimplePrivilegeCache does not work)

> Rolling back Privilege Cache to SimplePrivilegeCache does not work
> --
>
> Key: SENTRY-2545
> URL: https://issues.apache.org/jira/browse/SENTRY-2545
> Project: Sentry
>  Issue Type: Bug
>  Components: Sentry
>Affects Versions: 2.1
>Reporter: Na Li
>Assignee: Na Li
>Priority: Major
>
> The change in SENTRY-2539 uses TreePrivilegeCache as default implementation 
> of privilege cache to improve authorization performance. However, rolling 
> back to SimplePrivilegeCache does not work due to how Sentry creates the 
> privilege cache.
> The solution is to create the privilege cache based on configured class name 
> and handle different constructor inputs properly. 
> More test cases are added to verify that rollback works.
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Created] (SENTRY-2545) Rollback Privilege Cache to SimplePrivilegeCache does not work

2019-12-28 Thread Na Li (Jira)
Na Li created SENTRY-2545:
-

 Summary: Rollback Privilege Cache to SimplePrivilegeCache does not 
work
 Key: SENTRY-2545
 URL: https://issues.apache.org/jira/browse/SENTRY-2545
 Project: Sentry
  Issue Type: Bug
  Components: Sentry
Affects Versions: 2.1
Reporter: Na Li
Assignee: Na Li


The change in SENTRY-2539 uses TreePrivilegeCache as default implementation of 
privilege cache to improve authorization performance. However, rolling back to 
SimplePrivilegeCache does not work due to how Sentry creates the privilege 
cache.

The solution is to create the privilege cache based on configured class name 
and handle different constructor inputs properly. 

More test cases are added to verify that rollback works.

 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)