hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "XIAOBING ZHOU" <xzho...@gmail.com>
Subject Re: Review Request 22191: HIVE-7167: Hive Metastore fails to start with SQLServerException
Date Mon, 06 Oct 2014 22:14:10 GMT

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

(Updated Oct. 6, 2014, 10:14 p.m.)


Review request for hive.


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


Repository: hive-git


Description
-------

In the case that hiveserver2 uses embedded metastore and hiveserver uses remote metastore,
this exception comes up when hiveserver2 and hiveserver are started simultaneously.

See the bug link:
https://issues.apache.org/jira/browse/HIVE-7167


The idea is to catch JDOException from concurrent defaultDB and roles initializations or privilege
insertions, and try createDefaultDB, createDefaultRoles and addAdminUsers one more time, if
still fails, simply throw up exceptions.


Diffs (updated)
-----

  metastore/src/java/org/apache/hadoop/hive/metastore/HiveMetaStore.java 47eca29 

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


Testing
-------

done


Thanks,

XIAOBING ZHOU


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