[ 
https://issues.apache.org/jira/browse/HIVE-18029?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16247798#comment-16247798
 ] 

Thejas M Nair commented on HIVE-18029:
--------------------------------------

A correction - the "anonymous"  is coming from jdbc driver, not beeline. In 
HiveConnection.java -

{code}
  private String getUserName() {
    return getSessionValue(JdbcConnectionParams.AUTH_USER, 
JdbcConnectionParams.ANONYMOUS_USER);
  }
{code}

[~sershe] Do you plan to change/fix something here ? If yes, what is it ?
I think it might be a good idea to do what other commands in hadoop ecosystem 
do, ie pick the current OS user name if none is specified (in non kerberos 
mode).


> user mapping - support proper usernames with doAs = false
> ---------------------------------------------------------
>
>                 Key: HIVE-18029
>                 URL: https://issues.apache.org/jira/browse/HIVE-18029
>             Project: Hive
>          Issue Type: Sub-task
>            Reporter: Sergey Shelukhin
>            Assignee: Sergey Shelukhin
>
> Right now what happens on unsecure cluster with doAs=false (not sure which 
> one is to blame - didn't look into it, maybe both) is {noformat}
> 2017-11-08T21:39:49,404  INFO [HiveServer2-Background-Pool: Thread-205] 
> tez.WorkloadManagerFederation: Getting a WM session for anonymous
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to