Vihang Karajgaonkar has uploaded this change for review. ( 
http://gerrit.cloudera.org:8080/13339


Change subject: IMPALA-8369 : Skip test_owner_privileges test when running 
against Hive-3
......................................................................

IMPALA-8369 : Skip test_owner_privileges test when running against Hive-3

Currently, when running with USE_CDP_HIVE=true, Sentry service's sync
with HMS is very slow. This is most likely due to the fact that in HMS-3
the notification events are generated using the JSONMessageFactory
provided by Metastore, unlike in case of HMS-2 setup. When running
against HMS-2, Sentry provides its own MessageFactory implementation
which has its limitations and cannot be used in HMS-3. In order to fix
this Sentry should add support for the out-of-box message factory
available in Hive-3 (See SENTRY-2518).

Due to these additional delays from Sentry test_owner_privileges fails
due to race conditions between the cached information in catalog and
Sentry server (See IMPALA-8550). This patch disables this
test when running against HMS-3 until we fix the issues both on
the Sentry and Impala side.

Testing done:
1. Confirmed the test is skipped when using USE_CDP_HIVE=true
2. Confirmed the test is not skipped when using USE_CDP_HIVE=false

Change-Id: I9f904446f50b5095443bf27b3092a2e3665b76d3
---
M tests/authorization/test_owner_privileges.py
M tests/common/skip.py
2 files changed, 8 insertions(+), 1 deletion(-)



  git pull ssh://gerrit.cloudera.org:29418/Impala-ASF refs/changes/39/13339/2
--
To view, visit http://gerrit.cloudera.org:8080/13339
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: I9f904446f50b5095443bf27b3092a2e3665b76d3
Gerrit-Change-Number: 13339
Gerrit-PatchSet: 2
Gerrit-Owner: Vihang Karajgaonkar <[email protected]>
Gerrit-Reviewer: Todd Lipcon <[email protected]>

Reply via email to