You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "Janos Gub (JIRA)" <ji...@apache.org> on 2018/10/04 08:04:00 UTC

[jira] [Updated] (HIVE-20586) Beeline is asking for user/pass when invoked without -u

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

Janos Gub updated HIVE-20586:
-----------------------------
    Attachment: HIVE-20586.1.patch

> Beeline is asking for user/pass when invoked without -u
> -------------------------------------------------------
>
>                 Key: HIVE-20586
>                 URL: https://issues.apache.org/jira/browse/HIVE-20586
>             Project: Hive
>          Issue Type: Bug
>          Components: Beeline
>    Affects Versions: 3.0.0, 3.1.0
>            Reporter: Daniel Voros
>            Assignee: Janos Gub
>            Priority: Major
>         Attachments: HIVE-20586.1.patch, HIVE-20586.1.patch, HIVE-20586.patch
>
>
> Since HIVE-18963 it's possible to define a default connection URL in beeline-site.xml to be able to use beeline without specifying the HS2 JDBC URL.
> When invoked with no arguments, beeline is asking for username/password on the command line. When running with {{-u}} and the exact same URL as in beeline-site.xml, it does not ask for username/password.
> I think these two should do exactly the same, given that the URL after {{-u}} is the same as in beeline-site.xml:
> {code:java}
> beeline -u URL
> beeline
> {code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)