HBASE-14436 HTableDescriptor#addCoprocessor will always make RegionCoprocessorHost create new Configuration
This commit is contained in:
parent
8fcc815504
commit
0ea1f81227
|
@ -294,7 +294,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);
|
||||
|
|
Loading…
Reference in New Issue