drill-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From par...@apache.org
Subject [2/6] drill git commit: DRILL-4695: Log error thrown out of drillbit.run before close.
Date Sat, 23 Jul 2016 04:58:42 GMT
DRILL-4695: Log error thrown out of drillbit.run before close.

This closes #537


Project: http://git-wip-us.apache.org/repos/asf/drill/repo
Commit: http://git-wip-us.apache.org/repos/asf/drill/commit/4d941341
Tree: http://git-wip-us.apache.org/repos/asf/drill/tree/4d941341
Diff: http://git-wip-us.apache.org/repos/asf/drill/diff/4d941341

Branch: refs/heads/master
Commit: 4d9413415afcd254bdca2674cfb0eaa59d47e806
Parents: f36fec9
Author: chunhui-shi <cshi@maprtech.com>
Authored: Wed Jun 29 10:37:45 2016 -0700
Committer: Parth Chandra <parthc@apache.org>
Committed: Fri Jul 22 21:28:08 2016 -0700

----------------------------------------------------------------------
 .../src/main/java/org/apache/drill/exec/server/Drillbit.java        | 1 +
 1 file changed, 1 insertion(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/drill/blob/4d941341/exec/java-exec/src/main/java/org/apache/drill/exec/server/Drillbit.java
----------------------------------------------------------------------
diff --git a/exec/java-exec/src/main/java/org/apache/drill/exec/server/Drillbit.java b/exec/java-exec/src/main/java/org/apache/drill/exec/server/Drillbit.java
index d0f4125..55a2b05 100644
--- a/exec/java-exec/src/main/java/org/apache/drill/exec/server/Drillbit.java
+++ b/exec/java-exec/src/main/java/org/apache/drill/exec/server/Drillbit.java
@@ -290,6 +290,7 @@ public class Drillbit implements AutoCloseable {
     try {
       bit.run();
     } catch (final Exception e) {
+      logger.error("Failure during initial startup of Drillbit.", e);
       bit.close();
       throw new DrillbitStartupException("Failure during initial startup of Drillbit.", e);
     }


Mime
View raw message