[ https://issues.apache.org/jira/browse/HIVE-26330?focusedWorklogId=784999&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-784999 ]
ASF GitHub Bot logged work on HIVE-26330: ----------------------------------------- Author: ASF GitHub Bot Created on: 27/Jun/22 09:26 Start Date: 27/Jun/22 09:26 Worklog Time Spent: 10m Work Description: AdobeStu commented on PR #3371: URL: https://github.com/apache/hive/pull/3371#issuecomment-1167109068 > > If we changed 45 to ... like 450, the substring can only show zhe zookeeper connection url we input like host1:2181,host2:2181,host3:2181. We still can't get server host. For example hiveserver2host:10000 > > The question is what do we want to see here: > > * The URI which could be used to reconnect to the cluster to rerun the queries > * The specific server's URI to which we are connected to As I see, I don't think it can be used to reconnect to the cluster. * The substring is not a complete connection URI, it only has host with port. * For some long URIs like zookeeper connection with many hosts, 45 char long probably can't show the whole host information. > > If we changed 45 to ... like 450, the substring can only show zhe zookeeper connection url we input like host1:2181,host2:2181,host3:2181. We still can't get server host. For example hiveserver2host:10000 > > The question is what do we want to see here: > > * The URI which could be used to reconnect to the cluster to rerun the queries > * The specific server's URI to which we are connected to As I see, I don't think it can be used to reconnect to the cluster. * The substring is not a complete connection URI, it only has host with port. * For some long URIs like zookeeper connection with many hosts, 45 char long probably can't show the whole host information. Issue Time Tracking ------------------- Worklog Id: (was: 784999) Time Spent: 1h 40m (was: 1.5h) > Beeline client cannot get correct connection url in hive connection using > zookeeper > ----------------------------------------------------------------------------------- > > Key: HIVE-26330 > URL: https://issues.apache.org/jira/browse/HIVE-26330 > Project: Hive > Issue Type: Bug > Components: Beeline > Reporter: Finch X > Priority: Critical > Labels: pull-request-available > Attachments: image-2022-06-15-14-12-48-739.png > > Time Spent: 1h 40m > Remaining Estimate: 0h > > Like the following picture: > !image-2022-06-15-14-12-48-739.png! > my connection string: > !connect > jdbc:hive2://ip1:port,ip2:port,ip3:port/default;principal=xxx;serviceDiscoveryMode=zooKeeper;zooKeeperNamespace=hiveserver2 > -- This message was sent by Atlassian Jira (v8.20.7#820007)