[ https://issues.apache.org/jira/browse/IMPALA-2238?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Tim Armstrong resolved IMPALA-2238. ----------------------------------- Resolution: Duplicate > Impala doesn't set HUE end user as the owner when creating tables > ----------------------------------------------------------------- > > Key: IMPALA-2238 > URL: https://issues.apache.org/jira/browse/IMPALA-2238 > Project: IMPALA > Issue Type: Bug > Components: Catalog > Affects Versions: Impala 2.2.5 > Reporter: Yibing Shi > Priority: Minor > Labels: ramp-up, security > > 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....@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. -- This message was sent by Atlassian Jira (v8.3.4#803005)