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

Sergey Shelukhin updated HIVE-18029:
------------------------------------
    Summary: beeline - support proper usernames based on the URL arg  (was: 
beeline - support proper usernames based on URL)

> beeline - support proper usernames based on the URL arg
> -------------------------------------------------------
>
>                 Key: HIVE-18029
>                 URL: https://issues.apache.org/jira/browse/HIVE-18029
>             Project: Hive
>          Issue Type: Sub-task
>            Reporter: Sergey Shelukhin
>            Assignee: Sergey Shelukhin
>         Attachments: HIVE-18029.patch
>
>
> Update:  looks like the argument connection URL is not handled consistently 
> with the connect command one, and the latter passes on user name that's 
> entered in the prompt correctly.
> So,
> {noformat}
> !connect (url) => prompt; the username on HS2 side is whatever is entered in 
> the prompt
> beeline -u (url) => anonymous (no prompt)
> !connect (url);user=foo => foo
> beeline -u (url);user=foo => anonymous
> beeline -n foo -u (url with or without the user) => foo
> {noformat}
> I'm going to add support for extracting the user from the -u argument, 
> similar to connect argument



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

Reply via email to