Fang-Yu Rao created IMPALA-10399:
------------------------------------
Summary: test_show_grant_hive_privilege() fails in the exhaustive
tests if being executed after test_grant_revoke_with_role()
Key: IMPALA-10399
URL: https://issues.apache.org/jira/browse/IMPALA-10399
Project: IMPALA
Issue Type: Bug
Reporter: Fang-Yu Rao
Assignee: Fang-Yu Rao
We found that after part 1 of IMPALA-10222, if
{{test_show_grant_hive_privilege()}} at
https://github.com/apache/impala/blob/aeeff53e884a67ee7f5980654a1d394c6e3e34ac/tests/authorization/test_ranger.py#L532-L578
is run after {{test_grant_revoke_with_role()}} at
https://gerrit.cloudera.org/c/16837/6/tests/authorization/test_ranger.py#129 in
the exhaustive tests, {{test_show_grant_hive_privilege()}} could fail due to an
empty list returned from the first call to {{_get_ranger_privileges_db()}}
although a list consisting of "{{lock}}" and "{{select}}" is expected.
We suspect there might be something wrong with the underlying Ranger API but it
requires more thorough investigation.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)