[
https://issues.apache.org/jira/browse/IMPALA-8541?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Fang-Yu Rao closed IMPALA-8541.
-------------------------------
Resolution: Won't Fix
> Some of the JUnit tests in AuthorizationTest.java would fail if there are
> lingering roles already granted the privileges to access some databases
> -------------------------------------------------------------------------------------------------------------------------------------------------
>
> Key: IMPALA-8541
> URL: https://issues.apache.org/jira/browse/IMPALA-8541
> Project: IMPALA
> Issue Type: Improvement
> Components: Infrastructure
> Affects Versions: Impala 3.2.0
> Reporter: Fang-Yu Rao
> Assignee: Fang-Yu Rao
> Priority: Major
>
> The test TestShortUsernameUsed() in AuthorizationTest.java would fail if
> there exists some role already granted the privilege to access some
> databases, e.g., the database "functional".
> Specifically, for the SQL statement "select * from alltypes", if the role is
> already granted the privilege to access the database "functional", only
> AnalysisException will be thrown. To address this issue, we remove all the
> lingering roles before running this test using
> [https://github.com/apache/impala/blob/master/fe/src/test/java/org/apache/impala/testutil/ImpaladTestCatalog.java#L172].
>
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]