Fang-Yu Rao created IMPALA-8541:
-----------------------------------
Summary: 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
Reporter: Fang-Yu Rao
Assignee: Fang-Yu Rao
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 the database "functional", only
AnalysisException will be thrown. To address this issue, we remove all the
lingering roles before running each 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
(v7.6.3#76005)