Quanlong Huang has uploaded this change for review. ( 
http://gerrit.cloudera.org:8080/11119


Change subject: IMPALA-6789: disable impersonate in hive in minicluster
......................................................................

IMPALA-6789: disable impersonate in hive in minicluster

Due to bug of HADOOP-7050, users with dots in their username can't
launch HiveServer2 in minicluster. To work arround this, we can set
hive.server2.enable.doAs to false to disable impersonate in hive.
Impala's authorization only depends on Sentry, so we can disable this
without breaking any tests.

This patch also quotes the group name in AuthorizationStmtTest#testShow
to avoid syntax errors when group name contains dots.

Test:
* Build succeed with username quanlong.huang locally

Change-Id: I39d8945e0fe90baf7e9e4b26eebab08d2058a14a
---
M fe/src/test/java/org/apache/impala/analysis/AuthorizationStmtTest.java
M fe/src/test/resources/mysql-hive-site.xml.template
M fe/src/test/resources/postgresql-hive-site.xml.template
3 files changed, 10 insertions(+), 1 deletion(-)



  git pull ssh://gerrit.cloudera.org:29418/Impala-ASF refs/changes/19/11119/1
--
To view, visit http://gerrit.cloudera.org:8080/11119
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: I39d8945e0fe90baf7e9e4b26eebab08d2058a14a
Gerrit-Change-Number: 11119
Gerrit-PatchSet: 1
Gerrit-Owner: Quanlong Huang <huangquanl...@gmail.com>

Reply via email to