[ 
https://issues.apache.org/jira/browse/HIVE-26330?focusedWorklogId=785007&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-785007
 ]

ASF GitHub Bot logged work on HIVE-26330:
-----------------------------------------

                Author: ASF GitHub Bot
            Created on: 27/Jun/22 09:41
            Start Date: 27/Jun/22 09:41
    Worklog Time Spent: 10m 
      Work Description: pvary commented on PR #3371:
URL: https://github.com/apache/hive/pull/3371#issuecomment-1167123846

   > > > 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.
   
   So this is a marker only for the user to help identify the session they are 
using.
   I think having part of the original string there is more helpful than having 
a "somewhat unrelated" string there, even when I see why it is so confusing in 
your case.




Issue Time Tracking
-------------------

    Worklog Id:     (was: 785007)
    Time Spent: 1h 50m  (was: 1h 40m)

> 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 50m
>  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)

Reply via email to