commit | 26463d38f356c138ba42b78144842950c33e1cef | [log] [tgz] |
---|---|---|
author | Chris Westin <cwestin@yahoo.com> | Tue Mar 24 16:21:33 2015 -0700 |
committer | Jacques Nadeau <jacques@apache.org> | Wed Mar 25 21:11:23 2015 -0700 |
tree | 54f6e9d9c9bca0fdb1c0d1dce17832c2d321c5e5 | |
parent | f89c59b392a3ffd93df05a9d0414bfa8ba37edf7 [diff] |
DRILL-2547: Don't allow Drill to shut down while queries are still executing This will cause Drillbit.close() to block until all currently executing fragments have completed. WorkManager - added waitForExit() and indicateIfSafeToExit(), which use a latch to wait to shut down if there are active fragments - waitForExit() times out after 5 seconds Drillbit - call WorkManager.waitForExit() in close()
Apache Drill is a distributed MPP query layer that supports SQL and alternative query languages against NoSQL and Hadoop data storage systems. It was inspired in part by Google's Dremel.
Please read INSTALL.md for setting up and running Apache Drill.
Please see the Apache Drill Website or the Apache Drill Wiki for more information including:
Apache Drill is an Apache Foundation project and is seeking all types of contributions. Please say hello on the Apache Drill mailing list or join our Google Hangouts for more information. (More information can be found at the Apache Drill website).