[ https://issues.apache.org/jira/browse/HIVE-11244?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Nemon Lou updated HIVE-11244: ----------------------------- Attachment: HIVE-11244.patch Adding an option showConnectedUrl,default false. help message : {noformat} ./beeline --help Usage: java org.apache.hive.cli.beeline.BeeLine -u <database url> the JDBC URL to connect to ... --showConnectedUrl=[true/false] prompt HiveServer2s IP to which this beeline connected.Only works for HiveServer2 cluster mode. --help display this message {noformat} > 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 > Labels: TODOC2.0 > Attachments: HIVE-11244.patch, HIVE-11244.patch, HIVE-11244.patch > > > 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)