HBASE-14436 HTableDescriptor#addCoprocessor will always make RegionCoprocessorHost create new Configuration
This commit is contained in:
parent
5e2db42d68
commit
ab33a65a1a
|
@ -285,7 +285,7 @@ public class RegionCoprocessorHost
|
||||||
// ignore
|
// ignore
|
||||||
}
|
}
|
||||||
Configuration ourConf;
|
Configuration ourConf;
|
||||||
if (cfgSpec != null) {
|
if (cfgSpec != null && !cfgSpec.trim().equals("|")) {
|
||||||
cfgSpec = cfgSpec.substring(cfgSpec.indexOf('|') + 1);
|
cfgSpec = cfgSpec.substring(cfgSpec.indexOf('|') + 1);
|
||||||
// do an explicit deep copy of the passed configuration
|
// do an explicit deep copy of the passed configuration
|
||||||
ourConf = new Configuration(false);
|
ourConf = new Configuration(false);
|
||||||
|
|
Loading…
Reference in New Issue