[
https://issues.apache.org/jira/browse/HIVE-11482?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14738323#comment-14738323
]
Lefty Leverenz commented on HIVE-11482:
---------------------------------------
Doc note: This adds five HiveServer2 configuration parameters to
HiveConf.java, which will need to be documented in the wiki for 2.0.0.
The new configs are:
* hive.server2.thrift.client.retry.limit
* hive.server2.thrift.client.connect.retry.limit
* hive.server2.thrift.client.retry.delay.seconds
* hive.server2.thrift.client.user
* hive.server2.thrift.client.password
Wikidoc links:
* [Configuration Properties -- HiveServer2 |
https://cwiki.apache.org/confluence/display/Hive/Configuration+Properties#ConfigurationProperties-HiveServer2]
* [Setting Up HiveServer2 -- Configuration Properties in the hive-site.xml File
|
https://cwiki.apache.org/confluence/display/Hive/Setting+Up+HiveServer2#SettingUpHiveServer2-ConfigurationPropertiesinthehive-site.xmlFile]
(This has a link to the Configuration Properties doc so no new documentation is
needed, unless you want to add some usage notes. Perhaps
hive.server2.thrift.client.user and hive.server2.thrift.client.password should
be mentioned.)
> Add retrying thrift client for HiveServer2
> ------------------------------------------
>
> Key: HIVE-11482
> URL: https://issues.apache.org/jira/browse/HIVE-11482
> Project: Hive
> Issue Type: Improvement
> Components: HiveServer2
> Reporter: Amareshwari Sriramadasu
> Assignee: Akshay Goyal
> Labels: TODOC2.0
> Fix For: 2.0.0
>
> Attachments: HIVE-11482.02.patch
>
>
> Similar to
> https://github.com/apache/hive/blob/master/metastore/src/java/org/apache/hadoop/hive/metastore/RetryingMetaStoreClient.java,
> this improvement request is to add a retrying thrift client for HiveServer2
> to do retries upon thrift exceptions.
> Here are few commits done on a forked branch that can be picked -
> https://github.com/InMobi/hive/commit/7fb957fb9c2b6000d37c53294e256460010cb6b7
> https://github.com/InMobi/hive/commit/11e4b330f051c3f58927a276d562446761c9cd6d
> https://github.com/InMobi/hive/commit/241386fd870373a9253dca0bcbdd4ea7e665406c
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)