[
https://issues.apache.org/jira/browse/SENTRY-355?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14166249#comment-14166249
]
Colin Ma commented on SENTRY-355:
---------------------------------
Hi [~prasadm], I did some investigation on these problems in my build:
1. for TestUriPermissions and TestPrivilegesAtDatabaseScope, they are ok in
my side, the following is the result:
{code}
-------------------------------------------------------
T E S T S
-------------------------------------------------------
Running org.apache.sentry.tests.e2e.hive.TestUriPermissions
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 19.617 sec - in
org.apache.sentry.tests.e2e.hive.TestUriPermissions
Results :
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0
-------------------------------------------------------
T E S T S
-------------------------------------------------------
Running org.apache.sentry.tests.e2e.hive.TestPrivilegesAtDatabaseScope
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 67.734 sec - in
org.apache.sentry.tests.e2e.hive.TestPrivilegesAtDatabaseScope
Results :
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0
{code}
2. for the TestMetaStoreWithPigHCat and TestMetastoreEndToEnd, I think these
test cases need to start both hiveserver2 and metastore server to finish all
test cases, but only metastore server is started, so some cases failed.
I think there will be no change on the current patch for this JIRA. If
necessary, I'll create a new ticket to fix the problem in
TestMetaStoreWithPigHCat and TestMetastoreEndToEnd, thanks.
> Support metadata read privilege enforcement for Metastore pluging
> -----------------------------------------------------------------
>
> Key: SENTRY-355
> URL: https://issues.apache.org/jira/browse/SENTRY-355
> Project: Sentry
> Issue Type: Improvement
> Reporter: Prasad Mujumdar
> Assignee: Colin Ma
> Attachments: SENTRY-355.WIP.patch, SENTRY-355.v1.patch,
> SENTRY-355.v2.patch, SENTRY-355.v3.patch
>
>
> The Metastore plugin currently enforces Sentry policies for metadata
> modifications. This makes it inconsistent with Hive plugin that support
> privileges for both metadata read and write.
> We should support the policy enforcement for metadata read as well.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)