hive-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Peter Vary (JIRA)" <>
Subject [jira] [Commented] (HIVE-14100) current_user() returns invalid information
Date Mon, 27 Jun 2016 13:36:52 GMT


Peter Vary commented on HIVE-14100:

The description states (current_user() - Returns current user name | SessionState *UserFromAuthenticator*),
but when using HadoopDefaultAuthentication, it returns the unix username running the hiveserver2

[~apivovarov] What was the original intention of the current_user()? Should it return the
user used for the background process authentication (UserFromAuthenticator), or the user used
to authenticate the connection (SessionState.get().getUserName())?


> current_user() returns invalid information
> ------------------------------------------
>                 Key: HIVE-14100
>                 URL:
>             Project: Hive
>          Issue Type: Bug
>          Components: Authentication, Beeline
>            Reporter: Peter Vary
>            Priority: Minor
> Using HadoopDeaultAuthenticator the current_user() returns the username of the unix user
running hiveservice2.
> Using SessionStateAuthenticator the current_user returns the username which is provided
when the connection started.

This message was sent by Atlassian JIRA

View raw message