You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sentry.apache.org by "Anne Yu (JIRA)" <ji...@apache.org> on 2015/08/14 01:18:45 UTC
[jira] [Updated] (SENTRY-850) Fix dbprovider test failures when run
on a real cluster or setMetastoreListener = true, when db/tab gets
recreated their associated privileges will be deleted.
[ https://issues.apache.org/jira/browse/SENTRY-850?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Anne Yu updated SENTRY-850:
---------------------------
Attachment: SENTRY-850-0.patch
> Fix dbprovider test failures when run on a real cluster or setMetastoreListener = true, when db/tab gets recreated their associated privileges will be deleted.
> ---------------------------------------------------------------------------------------------------------------------------------------------------------------
>
> Key: SENTRY-850
> URL: https://issues.apache.org/jira/browse/SENTRY-850
> Project: Sentry
> Issue Type: Bug
> Affects Versions: 1.5.0, 1.5.1
> Reporter: Anne Yu
> Assignee: Anne Yu
> Attachments: SENTRY-850-0.patch
>
>
> There are a couple of tests fail because they create db(table) /grant privileges, then drop/recreate db(table), when run on real clusters or setMetastoreListener = true, these privileges will be deleted. These tests are located in:
> org.apache.sentry.tests.e2e.dbprovider.TestDbUriPermissions.testAlterTableLocationPrivileges
> org.apache.sentry.tests.e2e.dbprovider.TestColumnEndToEnd.testBasic
> org.apache.sentry.tests.e2e.dbprovider.TestDbPrivilegesAtDatabaseScope.testUseDbPrivilege
> org.apache.sentry.tests.e2e.dbprovider.TestDbRuntimeMetadataRetrieval.testShowTables3
> org.apache.sentry.tests.e2e.dbprovider.TestDbRuntimeMetadataRetrieval.testShowTablesExtended
> org.apache.sentry.tests.e2e.dbprovider.TestDbRuntimeMetadataRetrieval.testShowTables1
> org.apache.sentry.tests.e2e.dbprovider.TestDbSandboxOps.testNegativeUserDMLPrivileges
> org.apache.sentry.tests.e2e.dbprovider.TestDbSandboxOps.testNegUserPrivilegesAll
> org.apache.sentry.tests.e2e.dbprovider.TestDbSandboxOps.testSandboxOpt13
> org.apache.sentry.tests.e2e.dbprovider.TestDbSandboxOps.testSandboxOpt10
> org.apache.sentry.tests.e2e.dbprovider.TestDbUriPermissions.testLoadPrivileges
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)