You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by XIAOBING ZHOU <xz...@gmail.com> on 2014/06/03 08:10:39 UTC
Review Request 22191: HIVE-7167: Hive Metastore fails to start with
SQLServerException
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/22191/
-----------------------------------------------------------
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
Diffs
-----
hcatalog/core/.gitignore 0a7a9c5
metastore/src/java/org/apache/hadoop/hive/metastore/HiveMetaStore.java a6afd8c
Diff: https://reviews.apache.org/r/22191/diff/
Testing
-------
done
Thanks,
XIAOBING ZHOU
Re: Review Request 22191: HIVE-7167: Hive Metastore fails to start
with SQLServerException
Posted by XIAOBING ZHOU <xz...@gmail.com>.
-----------------------------------------------------------
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
Re: Review Request 22191: HIVE-7167: Hive Metastore fails to start with
SQLServerException
Posted by XIAOBING ZHOU <xz...@gmail.com>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/22191/
-----------------------------------------------------------
(Updated June 20, 2014, 8:55 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
-----
metastore/src/java/org/apache/hadoop/hive/metastore/HiveMetaStore.java 487d292
Diff: https://reviews.apache.org/r/22191/diff/
Testing
-------
done
Thanks,
XIAOBING ZHOU
Re: Review Request 22191: HIVE-7167: Hive Metastore fails to start with
SQLServerException
Posted by XIAOBING ZHOU <xz...@gmail.com>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/22191/
-----------------------------------------------------------
(Updated June 20, 2014, 8:55 p.m.)
Review request for hive.
Changes
-------
new patch HIVE-7167.2.patch is made on trunk and attached.
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 487d292
Diff: https://reviews.apache.org/r/22191/diff/
Testing
-------
done
Thanks,
XIAOBING ZHOU
Re: Review Request 22191: HIVE-7167: Hive Metastore fails to start with
SQLServerException
Posted by XIAOBING ZHOU <xz...@gmail.com>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/22191/
-----------------------------------------------------------
(Updated June 3, 2014, 6:22 a.m.)
Review request for hive.
Bugs: HIVE-7167
https://issues.apache.org/jira/browse/HIVE-7167
Repository: hive-git
Description (updated)
-------
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
-----
hcatalog/core/.gitignore 0a7a9c5
metastore/src/java/org/apache/hadoop/hive/metastore/HiveMetaStore.java a6afd8c
Diff: https://reviews.apache.org/r/22191/diff/
Testing
-------
done
Thanks,
XIAOBING ZHOU
Re: Review Request 22191: HIVE-7167: Hive Metastore fails to start with
SQLServerException
Posted by XIAOBING ZHOU <xz...@gmail.com>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/22191/
-----------------------------------------------------------
(Updated June 3, 2014, 6:20 a.m.)
Review request for hive.
Bugs: HIVE-7167
https://issues.apache.org/jira/browse/HIVE-7167
Repository: hive-git
Description (updated)
-------
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 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
-----
hcatalog/core/.gitignore 0a7a9c5
metastore/src/java/org/apache/hadoop/hive/metastore/HiveMetaStore.java a6afd8c
Diff: https://reviews.apache.org/r/22191/diff/
Testing
-------
done
Thanks,
XIAOBING ZHOU