[ https://issues.apache.org/jira/browse/HIVE-20507?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16609575#comment-16609575 ]
Daniel Dai commented on HIVE-20507: ----------------------------------- Try to figure out how to use it. What I did is: {code} beeline --getUrlsFromBeelineSite urls: jdbc:hive2://hn0-271d5c.zu2zfpuge4su5ceknrmkpsq3ra.ix.internal.cloudapp.net:10001/;serviceDiscoveryMode=zooKeeper;zooKeeperNamespace=hiveserver2, {code} Then I do: {code} beeline -u "jdbc:hive2://hn0-271d5c.zu2zfpuge4su5ceknrmkpsq3ra.ix.internal.cloudapp.net:10001/;serviceDiscoveryMode=zooKeeper;zooKeeperNamespace=hiveserver2" -n hive {code} I get: {code} Connecting to jdbc:hive2://hn0-271d5c.zu2zfpuge4su5ceknrmkpsq3ra.ix.internal.cloudapp.net:10001/;serviceDiscoveryMode=zooKeeper;zooKeeperNamespace=hiveserver2 18/09/10 17:37:11 [main-SendThread(hn0-271d5c.zu2zfpuge4su5ceknrmkpsq3ra.ix.internal.cloudapp.net:10001)]: WARN zookeeper.ClientCnxn: Session 0x0 for server hn0-271d5c.zu2zfpuge4su5ceknrmkpsq3ra.ix.internal.cloudapp.net/10.3.0.114:10001, unexpected error, closing socket connection and attempting reconnect java.io.IOException: Packet len1213486160 is out of range! at org.apache.zookeeper.ClientCnxnSocket.readLength(ClientCnxnSocket.java:112) ~[zookeeper-3.4.6.3.0.2.0-5.jar:3.4.6-5--1] at org.apache.zookeeper.ClientCnxnSocketNIO.doIO(ClientCnxnSocketNIO.java:79) ~[zookeeper-3.4.6.3.0.2.0-5.jar:3.4.6-5--1] at org.apache.zookeeper.ClientCnxnSocketNIO.doTransport(ClientCnxnSocketNIO.java:366) ~[zookeeper-3.4.6.3.0.2.0-5.jar:3.4.6-5--1] at org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:1125) [zookeeper-3.4.6.3.0.2.0-5.jar:3.4.6-5--1] {code} It that the supposed use case? > Beeline: Add a utility command to retrieve all uris from beeline-site.xml > ------------------------------------------------------------------------- > > Key: HIVE-20507 > URL: https://issues.apache.org/jira/browse/HIVE-20507 > Project: Hive > Issue Type: Bug > Components: Beeline > Affects Versions: 3.1.0 > Reporter: Vaibhav Gumashta > Assignee: Vaibhav Gumashta > Priority: Major > Attachments: HIVE-20507.1.patch > > > It will be useful for some clients to get the url list when beeline-site is > present. -- This message was sent by Atlassian JIRA (v7.6.3#76005)