hive-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Peter Vary (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HIVE-14100) current_user() returns invalid information
Date Tue, 05 Jul 2016 12:11:11 GMT

     [ 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)

Mime
View raw message