hbase-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From st...@apache.org
Subject svn commit: r1588392 - /hbase/branches/0.94/src/test/java/org/apache/hadoop/hbase/regionserver/TestHRegion.java
Date Fri, 18 Apr 2014 00:20:42 GMT
Author: stack
Date: Fri Apr 18 00:20:41 2014
New Revision: 1588392

URL: http://svn.apache.org/r1588392
Log:
HBASE-11017 TestHRegionBusyWait.testWritesWhileScanning fails frequently in 0.94

Modified:
    hbase/branches/0.94/src/test/java/org/apache/hadoop/hbase/regionserver/TestHRegion.java

Modified: hbase/branches/0.94/src/test/java/org/apache/hadoop/hbase/regionserver/TestHRegion.java
URL: http://svn.apache.org/viewvc/hbase/branches/0.94/src/test/java/org/apache/hadoop/hbase/regionserver/TestHRegion.java?rev=1588392&r1=1588391&r2=1588392&view=diff
==============================================================================
--- hbase/branches/0.94/src/test/java/org/apache/hadoop/hbase/regionserver/TestHRegion.java
(original)
+++ hbase/branches/0.94/src/test/java/org/apache/hadoop/hbase/regionserver/TestHRegion.java
Fri Apr 18 00:20:41 2014
@@ -3403,7 +3403,14 @@ public class TestHRegion extends HBaseTe
       flushThread.join();
       flushThread.checkNoError();
     } finally {
-      HRegion.closeHRegion(this.region);
+      try {
+        HRegion.closeHRegion(this.region);
+      } catch (DroppedSnapshotException dse) {
+        // We could get this on way out because we interrupt the background flusher and it
could
+        // fail anywhere causing a DSE over in the background flusher... only it is not properly
+        // dealt with so could still be memory hanging out when we get to here -- memory
we can't
+        // flush because the accounting is 'off' since original DSE.
+      }
       this.region = null;
     }
   }



Mime
View raw message