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 2010/07/14 06:39:53 UTC
svn commit: r963947 - in /hbase/branches/0.20: CHANGES.txt
lib/junit-3.8.1.LICENSE.txt lib/junit-3.8.1.jar lib/junit-4.8.1.jar
src/java/org/apache/hadoop/hbase/client/HConnection.java
src/java/org/apache/hadoop/hbase/client/HConnectionManager.java
Author: stack
Date: Wed Jul 14 04:39:53 2010
New Revision: 963947
URL: http://svn.apache.org/viewvc?rev=963947&view=rev
Log:
HBASE-2349 Backport HBaseTestingUtility to branch (will include adding support for junit4 to branch)
Added:
hbase/branches/0.20/lib/junit-4.8.1.jar (with props)
Removed:
hbase/branches/0.20/lib/junit-3.8.1.LICENSE.txt
hbase/branches/0.20/lib/junit-3.8.1.jar
Modified:
hbase/branches/0.20/CHANGES.txt
hbase/branches/0.20/src/java/org/apache/hadoop/hbase/client/HConnection.java
hbase/branches/0.20/src/java/org/apache/hadoop/hbase/client/HConnectionManager.java
Modified: hbase/branches/0.20/CHANGES.txt
URL: http://svn.apache.org/viewvc/hbase/branches/0.20/CHANGES.txt?rev=963947&r1=963946&r2=963947&view=diff
==============================================================================
--- hbase/branches/0.20/CHANGES.txt (original)
+++ hbase/branches/0.20/CHANGES.txt Wed Jul 14 04:39:53 2010
@@ -7,6 +7,10 @@ Release 0.20.6 - Unreleased
HBASE-2797 Another NPE in ReadWriteConsistencyControl
HBASE-2802 Stop daughter regions both being assigned same server
+ IMPROVEMENTS
+ HBASE-2349 Backport HBaseTestingUtility to branch (will include adding
+ support for junit4 to branch)
+
Release 0.20.5 - Jun 24, 2010
BUG FIXES
Added: hbase/branches/0.20/lib/junit-4.8.1.jar
URL: http://svn.apache.org/viewvc/hbase/branches/0.20/lib/junit-4.8.1.jar?rev=963947&view=auto
==============================================================================
Binary file - no diff available.
Propchange: hbase/branches/0.20/lib/junit-4.8.1.jar
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Modified: hbase/branches/0.20/src/java/org/apache/hadoop/hbase/client/HConnection.java
URL: http://svn.apache.org/viewvc/hbase/branches/0.20/src/java/org/apache/hadoop/hbase/client/HConnection.java?rev=963947&r1=963946&r2=963947&view=diff
==============================================================================
--- hbase/branches/0.20/src/java/org/apache/hadoop/hbase/client/HConnection.java (original)
+++ hbase/branches/0.20/src/java/org/apache/hadoop/hbase/client/HConnection.java Wed Jul 14 04:39:53 2010
@@ -103,7 +103,12 @@ public interface HConnection {
*/
public HTableDescriptor getHTableDescriptor(byte[] tableName)
throws IOException;
-
+
+ /**
+ * Allows flushing the region cache.
+ */
+ public void clearRegionCache();
+
/**
* Find the location of the region of <i>tableName</i> that <i>row</i>
* lives in.
Modified: hbase/branches/0.20/src/java/org/apache/hadoop/hbase/client/HConnectionManager.java
URL: http://svn.apache.org/viewvc/hbase/branches/0.20/src/java/org/apache/hadoop/hbase/client/HConnectionManager.java?rev=963947&r1=963946&r2=963947&view=diff
==============================================================================
--- hbase/branches/0.20/src/java/org/apache/hadoop/hbase/client/HConnectionManager.java (original)
+++ hbase/branches/0.20/src/java/org/apache/hadoop/hbase/client/HConnectionManager.java Wed Jul 14 04:39:53 2010
@@ -835,6 +835,14 @@ public class HConnectionManager implemen
return null;
}
+
+ /**
+ * Allows flushing the region cache.
+ */
+ public void clearRegionCache() {
+ this.cachedRegionLocations.clear();
+ }
+
/*
* Delete a cached location, if it satisfies the table name and row
* requirements.