hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Akshay Goyal" <akshaygoyal2...@gmail.com>
Subject Review Request 37935: HIVE-11482: Add retrying thrift client for HiveServer2
Date Sun, 30 Aug 2015 20:48:17 GMT

-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/37935/
-----------------------------------------------------------

Review request for hive and Amareshwari Sriramadasu.


Bugs: HIVE-11482
    https://issues.apache.org/jira/browse/HIVE-11482


Repository: hive-git


Description
-------

Similar to RetryingMetaStoreClient, this improvement request is to add a retrying thrift client
for HiveServer2 to do retries in case of thrift exceptions.


Diffs
-----

  common/src/java/org/apache/hadoop/hive/conf/HiveConf.java 8a00079631b657acd79877202e9819ff282dfdd6

  service/src/java/org/apache/hive/service/cli/thrift/RetryingThriftCLIServiceClient.java
PRE-CREATION 
  service/src/test/org/apache/hive/service/cli/TestRetryingThriftCLIServiceClient.java PRE-CREATION


Diff: https://reviews.apache.org/r/37935/diff/


Testing
-------

Added test case TestRetryingThriftCLIServiceClient to check whether retries are happening
in case of exceptions and also whether connections are going through if everything is fine.


Thanks,

Akshay Goyal


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message