Github user paul-rogers commented on a diff in the pull request:
https://github.com/apache/drill/pull/921#discussion_r150972745
--- Diff:
exec/java-exec/src/main/java/org/apache/drill/exec/server/Drillbit.java ---
@@ -176,18 +200,37 @@ public void run() throws Exception {
logger.info("Startup completed ({} ms).",
w.elapsed(TimeUnit.MILLISECONDS));
}
+ /*
+ Wait uninterruptibly
+ */
+ public void waitForGracePeriod() {
+ ExtendedLatch exitLatch = null;
+ exitLatch = new ExtendedLatch();
--- End diff --
```
ExtendedLatch exitLatch = new ExtendedLatch();
```
---