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:
Michael Stack 2012-01-07 22:20:45 +00:00
parent 492feb2a53
commit 25d465426a
1 changed files with 1 additions and 1 deletions

View File

@ -111,7 +111,7 @@ public class RegionCoprocessorHost
final RegionServerServices rsServices, final Configuration conf) {
this.rsServices = rsServices;
this.region = region;
this.pathPrefix = this.region.getRegionNameAsString().replace(',', '_');
this.pathPrefix = Integer.toString(this.region.getRegionInfo().hashCode());
// load system default cp's from configuration.
loadSystemCoprocessors(conf, REGION_COPROCESSOR_CONF_KEY);