hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chaoyu Tang" <>
Subject Re: Review Request 34727: HIVE-10835: Concurrency issues in JDBC driver
Date Fri, 29 May 2015 21:42:50 GMT

This is an automatically generated e-mail. To reply, visit:

(Updated May 29, 2015, 9:42 p.m.)

Review request for hive, Szehon Ho, Thejas Nair, and Xuefu Zhang.


Updated the patch based on Vaibhav's review. Thanks

Bugs: HIVE-10835

Repository: hive-git


There exist race conditions between DatabaseMetaData, Statement and ResultSet when they make
RPC calls to HS2 using same Thrift transport, which happens within same connection. 
The patch is to have a connection level lock to serialize the RPC calls within a single connection.

Diffs (updated)

  itests/hive-unit/src/test/java/org/apache/hive/jdbc/ 7210480 
  jdbc/src/java/org/apache/hive/jdbc/ 1b2891b 
  jdbc/src/java/org/apache/hive/jdbc/ e93795a 
  jdbc/src/java/org/apache/hive/jdbc/ 6b3d05c 



Some multi-thread tests (80 threads for 200 iterations)


Chaoyu Tang

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