hbase-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From st...@apache.org
Subject hbase git commit: HBASE-14436 HTableDescriptor#addCoprocessor will always make RegionCoprocessorHost create new Configuration
Date Tue, 06 Oct 2015 21:02:30 GMT
Repository: hbase
Updated Branches:
  refs/heads/branch-1.1 fbfd90225 -> 2c6628980


HBASE-14436 HTableDescriptor#addCoprocessor will always make RegionCoprocessorHost create
new Configuration


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

Branch: refs/heads/branch-1.1
Commit: 2c662898037b6ad9e17399f0c7914bc785622202
Parents: fbfd902
Author: stack <stack@apache.org>
Authored: Tue Oct 6 14:00:20 2015 -0700
Committer: stack <stack@apache.org>
Committed: Tue Oct 6 14:02:15 2015 -0700

----------------------------------------------------------------------
 .../apache/hadoop/hbase/regionserver/RegionCoprocessorHost.java    | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hbase/blob/2c662898/hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/RegionCoprocessorHost.java
----------------------------------------------------------------------
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 e12163f..1ba2ebe 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
@@ -302,7 +302,7 @@ public class RegionCoprocessorHost
               // ignore
             }
             Configuration ourConf;
-            if (cfgSpec != null) {
+            if (cfgSpec != null && !cfgSpec.trim().equals("|")) {
               cfgSpec = cfgSpec.substring(cfgSpec.indexOf('|') + 1);
               // do an explicit deep copy of the passed configuration
               ourConf = new Configuration(false);


Mime
View raw message