hbase-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From apurt...@apache.org
Subject [9/9] git commit: HBASE-11749 Better error logging when coprocessors loading has failed (Srikanth Srungarapu)
Date Fri, 15 Aug 2014 00:49:49 GMT
HBASE-11749 Better error logging when coprocessors loading has failed (Srikanth Srungarapu)


Project: http://git-wip-us.apache.org/repos/asf/hbase/repo
Commit: http://git-wip-us.apache.org/repos/asf/hbase/commit/42261d68
Tree: http://git-wip-us.apache.org/repos/asf/hbase/tree/42261d68
Diff: http://git-wip-us.apache.org/repos/asf/hbase/diff/42261d68

Branch: refs/heads/0.98
Commit: 42261d689d400b4951ba18346486d47d219512bc
Parents: ee984bf
Author: Andrew Purtell <apurtell@apache.org>
Authored: Thu Aug 14 17:51:10 2014 -0700
Committer: Andrew Purtell <apurtell@apache.org>
Committed: Thu Aug 14 17:51:10 2014 -0700

----------------------------------------------------------------------
 .../java/org/apache/hadoop/hbase/coprocessor/CoprocessorHost.java  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hbase/blob/42261d68/hbase-server/src/main/java/org/apache/hadoop/hbase/coprocessor/CoprocessorHost.java
----------------------------------------------------------------------
diff --git a/hbase-server/src/main/java/org/apache/hadoop/hbase/coprocessor/CoprocessorHost.java
b/hbase-server/src/main/java/org/apache/hadoop/hbase/coprocessor/CoprocessorHost.java
index d3f2aad..f2543de 100644
--- a/hbase-server/src/main/java/org/apache/hadoop/hbase/coprocessor/CoprocessorHost.java
+++ b/hbase-server/src/main/java/org/apache/hadoop/hbase/coprocessor/CoprocessorHost.java
@@ -778,7 +778,7 @@ public abstract class CoprocessorHost<E extends CoprocessorEnvironment>
{
   }
 
   protected void abortServer(final String coprocessorName, final Throwable e) {
-    String message = "The coprocessor " + coprocessorName + " threw an unexpected exception";
+    String message = "The coprocessor " + coprocessorName + " threw " + e.toString();
     LOG.error(message, e);
     if (abortable != null) {
       abortable.abort(message, e);


Mime
View raw message