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:53 GMT
Github user paul-rogers commented on a diff in the pull request:

    https://github.com/apache/drill/pull/921#discussion_r150984249
  
    --- Diff: exec/java-exec/src/test/java/org/apache/drill/test/ClusterFixture.java ---
    @@ -471,6 +471,21 @@ public void close() throws Exception {
       }
     
       /**
    +   * Shutdown the drillbit given the name of the drillbit.
    +   */
    +  public void closeDrillbit(final String drillbitName) throws Exception {
    +    Exception ex = null;
    +    for (Drillbit bit : drillbits()) {
    +      if(bit.equals(bits.get(drillbitName))) {
    --- End diff --
    
    Space after `if`, here and below.


---

Mime
View raw message