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

Thejas M Nair commented on HIVE-17490:
--------------------------------------

New method on the lines of following in HiveConnection
{code}
@param zookeeperBasedHS2Url - zookeeper based url
@return list of direct HS2 urls it found using zookeeper service discovery url. 
If the url is not a zk based url, it would return that url
public static List<String> getAllUrls(String zookeeperBasedHS2Url);
{code}

> Utility method to get list of all HS2 direct URIs from ZK URI
> -------------------------------------------------------------
>
>                 Key: HIVE-17490
>                 URL: https://issues.apache.org/jira/browse/HIVE-17490
>             Project: Hive
>          Issue Type: Sub-task
>          Components: HiveServer2, JDBC
>            Reporter: Thejas M Nair
>            Assignee: Teddy Choi
>
> Administrators needs to be able to kill queries based on query ID, if those 
> queries have been launched via hiveserver2. 
> There can be multiple HS2 instances and only one of them will be running this 
> query. Applications will need to connect to each instance and invoke the 
> command to kill the query.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to