[
https://issues.apache.org/jira/browse/HIVE-14100?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Peter Vary updated HIVE-14100:
------------------------------
Description:
There is an existing current_user() UDF which returns the user provided by the
configured Authenticator.
Using HadoopDeaultAuthenticator the current_user() returns the username of the
unix user running hiveservice2.
Using SessionStateUserAuthenticator the current_user returns the username which
is provided when the connection started.
was:
Using HadoopDeaultAuthenticator the current_user() returns the username of the
unix user running hiveservice2.
Using SessionStateUserAuthenticator the current_user returns the username which
is provided when the connection started.
> Adding a new logged_in_user() UDF which returns the user provided when
> connecting
> ---------------------------------------------------------------------------------
>
> Key: HIVE-14100
> URL: https://issues.apache.org/jira/browse/HIVE-14100
> Project: Hive
> Issue Type: Bug
> Components: Authentication, Beeline
> Reporter: Peter Vary
> Assignee: Peter Vary
> Priority: Minor
> Attachments: HIVE-14100.2.patch, HIVE-14100.2.patch,
> HIVE-14100.2.patch, HIVE-14100.patch
>
>
> There is an existing current_user() UDF which returns the user provided by
> the configured Authenticator.
> Using HadoopDeaultAuthenticator the current_user() returns the username of
> the unix user running hiveservice2.
> Using SessionStateUserAuthenticator the current_user returns the username
> which is provided when the connection started.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)