Details
-
Bug
-
Status: Resolved
-
Minor
-
Resolution: Duplicate
-
Impala 2.2.5
-
None
Description
In a Kerberized cluster (sentry not enabled), I can reproduce this problem with below:
- Login to HUE as user 'yshi'
- In HUE Hive editor, run query create table hue_test_hive (id int)
- In HUE Impala editor, run query create table hue_test_impala (id int)
- Login to the Hive Metastore database (take PostgreSQL as example) and execute query select * from "TBLS" where "TBLS"."TBL_NAME" like 'hue_test%', and then we get below result:
TBL_ID CREATE_TIME DB_ID LAST_ACCESS_TIME OWNER RETENTION SD_ID TBL_NAME TBL_TYPE VIEW_EXPANDED_TEXT VIEW_ORIGINAL_TEXT 29606 1440420180 1 0 yshi 0 88435 hue_test_hive MANAGED_TABLE 29607 1440420210 1 0 hue/host-10-17-81-247.coe.cloudera.com@YSHI.COM 0 88436 hue_test_impala MANAGED_TABLE
As we can see, the owner of the table created in Impala editor is owned by hue/<host>@REALM, while that created in Hive editor is owned by the HUE end user.
I haven't tried insecure cluster yet, but it should behave the same.
Attachments
Issue Links
- duplicates
-
IMPALA-7075 Add support for object ownership for Impala
-
- Resolved
-
- is duplicated by
-
IMPALA-2279 Impala should set the end user as the table owner when tables are created in HUE
-
- Resolved
-