hbase-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From st...@apache.org
Subject svn commit: r1051726 - /hbase/trunk/src/main/java/org/apache/hadoop/hbase/regionserver/handler/OpenRegionHandler.java
Date Wed, 22 Dec 2010 01:13:41 GMT
Author: stack
Date: Wed Dec 22 01:13:41 2010
New Revision: 1051726

URL: http://svn.apache.org/viewvc?rev=1051726&view=rev
Log:
HBASE-3381 -- correction

Modified:
    hbase/trunk/src/main/java/org/apache/hadoop/hbase/regionserver/handler/OpenRegionHandler.java

Modified: hbase/trunk/src/main/java/org/apache/hadoop/hbase/regionserver/handler/OpenRegionHandler.java
URL: http://svn.apache.org/viewvc/hbase/trunk/src/main/java/org/apache/hadoop/hbase/regionserver/handler/OpenRegionHandler.java?rev=1051726&r1=1051725&r2=1051726&view=diff
==============================================================================
--- hbase/trunk/src/main/java/org/apache/hadoop/hbase/regionserver/handler/OpenRegionHandler.java
(original)
+++ hbase/trunk/src/main/java/org/apache/hadoop/hbase/regionserver/handler/OpenRegionHandler.java
Wed Dec 22 01:13:41 2010
@@ -158,7 +158,7 @@ public class OpenRegionHandler extends E
     }
     // Is thread still alive?  We may have left above loop because server is
     // stopping or we timed out the edit.  Is so, interrupt it.
-    if (t.isAlive()) {
+    if (t.isAlive() && !signaller.get()) {
       LOG.debug("Interrupting thread " + t);
       t.interrupt();
     }



Mime
View raw message