[
https://issues.apache.org/jira/browse/HIVE-884?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12766996#action_12766996
]
Zheng Shao commented on HIVE-884:
---------------------------------
http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Thread.html
When a Java Virtual Machine starts up, there is usually a single non-daemon
thread (which typically calls the method named main of some designated class).
The Java Virtual Machine continues to execute threads until either of the
following occurs:
* The exit method of class Runtime has been called and the security manager
has permitted the exit operation to take place.
* All threads that are not daemon threads have died, either by returning
from the call to the run method or by throwing an exception that propagates
beyond the run method.
> Metastore Server should exit if error happens
> ---------------------------------------------
>
> Key: HIVE-884
> URL: https://issues.apache.org/jira/browse/HIVE-884
> Project: Hadoop Hive
> Issue Type: Bug
> Affects Versions: 0.4.1, 0.5.0
> Reporter: Zheng Shao
> Assignee: Zheng Shao
> Attachments: HIVE-884.1.patch
>
>
> Currently, HiveMetaStore (the thrift server) is not exiting when the main
> thread saw an Exception.
> The process should exit when that happens.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.