hive-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sushanth Sowmyan (JIRA)" <>
Subject [jira] [Updated] (HIVE-13670) Improve Beeline reconnect semantics
Date Mon, 02 May 2016 19:32:12 GMT


Sushanth Sowmyan updated HIVE-13670:
    Attachment: HIVE-13670.patch

Patch attached.

Nothing fancy like adding commandline params/etc, simply extends the functionality of !reconect.

> Improve Beeline reconnect semantics
> -----------------------------------
>                 Key: HIVE-13670
>                 URL:
>             Project: Hive
>          Issue Type: Improvement
>    Affects Versions: 2.1.0
>            Reporter: Sushanth Sowmyan
>            Assignee: Sushanth Sowmyan
>         Attachments: HIVE-13670.patch
> For most users of beeline, chances are that they will be using it with a single HS2 instance
most of the time. In this scenario, having them type out a jdbc uri for HS2 every single time
to !connect can get tiresome. Thus, we should improve semantics so that if a user does a successful
!connect, then we must store the last-connected-to-url, so that if they do a !close, and then
a !reconnect, then !reconnect should attempt to connect to the last successfully used url.
> Also, if they then do a !save, then that last-successfully-used url must be saved, so
that in subsequent sessions, they can simply do !reconnect rather than specifying a url for

This message was sent by Atlassian JIRA

View raw message