You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hbase.apache.org by el...@apache.org on 2019/04/10 17:49:49 UTC

[hbase] branch branch-1.3 updated: HBASE-22106 Better log message when failing to load coprocessor

This is an automated email from the ASF dual-hosted git repository.

elserj pushed a commit to branch branch-1.3
in repository https://gitbox.apache.org/repos/asf/hbase.git


The following commit(s) were added to refs/heads/branch-1.3 by this push:
     new 085326a  HBASE-22106 Better log message when failing to load coprocessor
085326a is described below

commit 085326a1353ca036bb01ae787728300d3d32b7ae
Author: Ankit Singhal <an...@gmail.com>
AuthorDate: Wed Apr 10 12:58:32 2019 -0400

    HBASE-22106 Better log message when failing to load coprocessor
    
    Signed-off-by: Josh Elser <el...@apache.org>
---
 .../apache/hadoop/hbase/regionserver/RegionCoprocessorHost.java   | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/RegionCoprocessorHost.java b/hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/RegionCoprocessorHost.java
index 1ed866a..b46923b 100644
--- a/hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/RegionCoprocessorHost.java
+++ b/hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/RegionCoprocessorHost.java
@@ -272,8 +272,8 @@ public class RegionCoprocessorHost
                 null : new Path(matcher.group(1).trim());
             String className = matcher.group(2).trim();
             if (className.isEmpty()) {
-              LOG.error("Malformed table coprocessor specification: key=" +
-                key + ", spec: " + spec);
+              LOG.error("Malformed table coprocessor specification, Class name is empty: key=" + key
+                  + ", spec: " + spec);
               continue;
             }
             int priority = matcher.group(3).trim().isEmpty() ?
@@ -303,8 +303,8 @@ public class RegionCoprocessorHost
               ", spec: " + spec);
           }
         } catch (Exception ioe) {
-          LOG.error("Malformed table coprocessor specification: key=" + key +
-            ", spec: " + spec);
+          LOG.error("Malformed table coprocessor specification: key=" + key + ", spec: " + spec,
+              ioe);
         }
       }
     }