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

Nemon Lou commented on HIVE-11244:
----------------------------------

The basic idea is adding a new getUrl method for prompt display and using some 
hook to get current HiveConnection's connected URI.
Since connected URI  already exists in HiveConnection's jdbcUriString 
property,it's easy to get it.

> Beeline prompt info improvement for cluster mode
> ------------------------------------------------
>
>                 Key: HIVE-11244
>                 URL: https://issues.apache.org/jira/browse/HIVE-11244
>             Project: Hive
>          Issue Type: Improvement
>          Components: Beeline
>    Affects Versions: 1.2.0
>            Reporter: Nemon Lou
>            Assignee: Nemon Lou
>            Priority: Minor
>
> Currently Beeline prompt info for Cluster mode is like this:
> {noformat}
> 0: jdbc:hive2://192.168.115.1:24002,192.168.1>
> {noformat}
> Using the very HiveServer2's IP that this beeline connect to is more helpful 
> for users.
> Like this:
> {noformat}
> 0: jdbc:hive2://192.168.115.1:24002>
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to