You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "Sergey Shelukhin (JIRA)" <ji...@apache.org> on 2017/11/27 23:05:01 UTC

[jira] [Updated] (HIVE-18029) beeline - support proper usernames based on the URL arg

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