hive-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jason Dere (JIRA)" <>
Subject [jira] [Commented] (HIVE-15830) Allow additional view ACLs for tez jobs
Date Wed, 22 Feb 2017 22:54:44 GMT


Jason Dere commented on HIVE-15830:

A bit confusing, but in ATSHook, user is the HS2 process user (hive). requestuser is the one
that shows the user logged into HS2 and running the query.
I think the real fix for this is in Driver.execute():
      SessionState ss = SessionState.get();
      hookContext = new HookContext(plan, queryState, ctx.getPathToCS(), ss.getUserName(),
          ss.getUserIpAddress(), InetAddress.getLocalHost().getHostAddress(), operationId,
          ss.getSessionId(), Thread.currentThread().getName(), ss.isHiveServerQuery(), perfLogger);

ss.getUserName() should be changed to ss.getUserFromAuthenticator() instead.

> Allow additional view ACLs for tez jobs
> ---------------------------------------
>                 Key: HIVE-15830
>                 URL:
>             Project: Hive
>          Issue Type: Improvement
>            Reporter: Siddharth Seth
>            Assignee: Siddharth Seth
>         Attachments: HIVE-15830.01.patch, HIVE-15830.02.patch, HIVE-15830.03.patch, HIVE-15830.05.patch
> Allow users to grant view access to additional users when running tez jobs.

This message was sent by Atlassian JIRA

View raw message