You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hbase.apache.org by st...@apache.org on 2012/01/07 23:21:47 UTC

svn commit: r1228743 - in /hbase/branches/0.92: CHANGES.txt src/main/java/org/apache/hadoop/hbase/regionserver/RegionCoprocessorHost.java

Author: stack
Date: Sat Jan  7 22:21:47 2012
New Revision: 1228743

URL: http://svn.apache.org/viewvc?rev=1228743&view=rev
Log:
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)

Modified:
    hbase/branches/0.92/CHANGES.txt
    hbase/branches/0.92/src/main/java/org/apache/hadoop/hbase/regionserver/RegionCoprocessorHost.java

Modified: hbase/branches/0.92/CHANGES.txt
URL: http://svn.apache.org/viewvc/hbase/branches/0.92/CHANGES.txt?rev=1228743&r1=1228742&r2=1228743&view=diff
==============================================================================
--- hbase/branches/0.92/CHANGES.txt (original)
+++ hbase/branches/0.92/CHANGES.txt Sat Jan  7 22:21:47 2012
@@ -510,6 +510,9 @@ Release 0.92.0 - Unreleased
    HBASE-4357  Region stayed in transition - in closing state (Ming Ma)
    HBASE-5088  A concurrency issue on SoftValueSortedMap (Jieshan Bean and Lars H)
    HBASE-5141  Memory leak in MonitoredRPCHandlerImpl
+   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) Andrei Dragomir
 
   TESTS
    HBASE-4492  TestRollingRestart fails intermittently

Modified: hbase/branches/0.92/src/main/java/org/apache/hadoop/hbase/regionserver/RegionCoprocessorHost.java
URL: http://svn.apache.org/viewvc/hbase/branches/0.92/src/main/java/org/apache/hadoop/hbase/regionserver/RegionCoprocessorHost.java?rev=1228743&r1=1228742&r2=1228743&view=diff
==============================================================================
--- hbase/branches/0.92/src/main/java/org/apache/hadoop/hbase/regionserver/RegionCoprocessorHost.java (original)
+++ hbase/branches/0.92/src/main/java/org/apache/hadoop/hbase/regionserver/RegionCoprocessorHost.java Sat Jan  7 22:21:47 2012
@@ -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);