hbase-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From st...@apache.org
Subject svn commit: r1051727 - /hbase/branches/0.90/src/main/java/org/apache/hadoop/hbase/regionserver/handler/OpenRegionHandler.java
Date Wed, 22 Dec 2010 01:14:20 GMT
Author: stack
Date: Wed Dec 22 01:14:20 2010
New Revision: 1051727

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

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

Modified: hbase/branches/0.90/src/main/java/org/apache/hadoop/hbase/regionserver/handler/OpenRegionHandler.java
URL: http://svn.apache.org/viewvc/hbase/branches/0.90/src/main/java/org/apache/hadoop/hbase/regionserver/handler/OpenRegionHandler.java?rev=1051727&r1=1051726&r2=1051727&view=diff
==============================================================================
--- hbase/branches/0.90/src/main/java/org/apache/hadoop/hbase/regionserver/handler/OpenRegionHandler.java
(original)
+++ hbase/branches/0.90/src/main/java/org/apache/hadoop/hbase/regionserver/handler/OpenRegionHandler.java
Wed Dec 22 01:14:20 2010
@@ -159,7 +159,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