drill-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From paul-rogers <...@git.apache.org>
Subject [GitHub] drill pull request #921: DRILL-4286 Graceful shutdown of drillbit
Date Tue, 14 Nov 2017 22:41:48 GMT
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();
    ```


---

Mime
View raw message