HBASE-4051 Table coprocessor loaded twice when region is initialized

git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1141786 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Andrew Kyle Purtell 2011-07-01 03:26:07 +00:00
parent 1d0975f581
commit bca3fcd502
2 changed files with 2 additions and 1 deletions

View File

@ -144,6 +144,8 @@ Release 0.91.0 - Unreleased
HBASE-4012 Further optimize byte comparison methods (Ted Yu) HBASE-4012 Further optimize byte comparison methods (Ted Yu)
HBASE-4037 Add timeout annotations to preempt surefire killing HBASE-4037 Add timeout annotations to preempt surefire killing
all tests - TestFullLogReconstruction all tests - TestFullLogReconstruction
HBASE-4051 [Coprocessors] Table coprocessor loaded twice when region is
initialized
IMPROVEMENTS IMPROVEMENTS
HBASE-3290 Max Compaction Size (Nicolas Spiegelberg via Stack) HBASE-3290 Max Compaction Size (Nicolas Spiegelberg via Stack)

View File

@ -172,7 +172,6 @@ public class RegionCoprocessorHost
* Invoked before a region open * Invoked before a region open
*/ */
public void preOpen() { public void preOpen() {
loadTableCoprocessors();
ObserverContext<RegionCoprocessorEnvironment> ctx = null; ObserverContext<RegionCoprocessorEnvironment> ctx = null;
for (RegionEnvironment env: coprocessors) { for (RegionEnvironment env: coprocessors) {
if (env.getInstance() instanceof RegionObserver) { if (env.getInstance() instanceof RegionObserver) {