You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@impala.apache.org by "Fang-Yu Rao (Jira)" <ji...@apache.org> on 2026/07/08 21:40:00 UTC
[jira] [Closed] (IMPALA-8541) Some of the JUnit tests in AuthorizationTest.java would fail if there are lingering roles already granted the privileges to access some databases
[ 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)