hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "XIAOBING ZHOU" <xzho...@gmail.com>
Subject Review Request 31249: HIVE-9741: Refactor MetaStoreDirectSql by using getProductName instead of querying DB to determine DbType
Date Sat, 21 Feb 2015 01:05:17 GMT

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

Review request for hive.


Repository: hive-git


Description
-------

MetaStoreDirectSql constructor is querying DB to determine dbType. which leads to too many
DB queries to make metastore slow or hanging if MetaStoreDirectSql constructor is frequently
called. This is to propose getProductName to get dbType info.


Diffs
-----

  metastore/src/java/org/apache/hadoop/hive/metastore/MetaStoreDirectSql.java 574141c 

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


Testing
-------


Thanks,

XIAOBING ZHOU


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