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:51 GMT
Repository: hbase
Updated Branches:
  refs/heads/branch-1.0 4527c6a7c -> c1890b5b1


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/c1890b5b
Tree: http://git-wip-us.apache.org/repos/asf/hbase/tree/c1890b5b
Diff: http://git-wip-us.apache.org/repos/asf/hbase/diff/c1890b5b

Branch: refs/heads/branch-1.0
Commit: c1890b5b15a3cb3ed9c00f4326e4eb6b583c55a6
Parents: 4527c6a
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:44 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/c1890b5b/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 e20df42..c2d1779 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
@@ -301,7 +301,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