You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "Peter Vary (JIRA)" <ji...@apache.org> on 2016/07/05 12:11:11 UTC

[jira] [Updated] (HIVE-14100) current_user() returns invalid information

     [ https://issues.apache.org/jira/browse/HIVE-14100?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Peter Vary updated HIVE-14100:
------------------------------
    Attachment: HIVE-14100.patch

Since there was no answer from the original author, and we do not want to break the backward compatibility, a new function is provided to return the logged in user

> current_user() returns invalid information
> ------------------------------------------
>
>                 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.patch
>
>
> 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
(v6.3.4#6332)