----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/22073/ -----------------------------------------------------------
(Updated May 30, 2014, 6:01 a.m.) Review request for hive, Hari Sankar Sivarama Subramaniyan, Thejas Nair, and Vaibhav Gumashta. Bugs: HIVE-405 https://issues.apache.org/jira/browse/HIVE-405 Repository: hive-git Description (updated) ------- see also jira link: https://hwxmonarch.atlassian.net/browse/HIVE-405 The idea is to catch any exceptions from concurrent defaultDB and roles initializations or privilege insertions, and try createDefaultDB, createDefaultRoles and addAdminUsers one more time, if still fails, simply return by printing out error msg and stack trace. Since exceptions are suppressed and consumed, other kind of issues like connection failure will not be catchable by HiveMetaStore caller(s), this could lead to some problems. Diffs ----- metastore/src/java/org/apache/hadoop/hive/metastore/HiveMetaStore.java a6afd8c Diff: https://reviews.apache.org/r/22073/diff/ Testing ------- done Thanks, XIAOBING ZHOU