HBASE-5052 The path where a dynamically loaded coprocessor jar is copied on the local file system depends on the region name (and implicitly, the start key)
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1228742 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
492feb2a53
commit
25d465426a
|
@ -111,7 +111,7 @@ public class RegionCoprocessorHost
|
||||||
final RegionServerServices rsServices, final Configuration conf) {
|
final RegionServerServices rsServices, final Configuration conf) {
|
||||||
this.rsServices = rsServices;
|
this.rsServices = rsServices;
|
||||||
this.region = region;
|
this.region = region;
|
||||||
this.pathPrefix = this.region.getRegionNameAsString().replace(',', '_');
|
this.pathPrefix = Integer.toString(this.region.getRegionInfo().hashCode());
|
||||||
|
|
||||||
// load system default cp's from configuration.
|
// load system default cp's from configuration.
|
||||||
loadSystemCoprocessors(conf, REGION_COPROCESSOR_CONF_KEY);
|
loadSystemCoprocessors(conf, REGION_COPROCESSOR_CONF_KEY);
|
||||||
|
|
Loading…
Reference in New Issue