hbase-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From apurt...@apache.org
Subject [4/4] hbase git commit: HBASE-13366 Throw DoNotRetryIOException instead of read only IOException (Shaohui Liu)
Date Wed, 06 May 2015 01:23:55 GMT
HBASE-13366 Throw DoNotRetryIOException instead of read only IOException (Shaohui Liu)

Conflicts:
	hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/HRegion.java


Project: http://git-wip-us.apache.org/repos/asf/hbase/repo
Commit: http://git-wip-us.apache.org/repos/asf/hbase/commit/593db050
Tree: http://git-wip-us.apache.org/repos/asf/hbase/tree/593db050
Diff: http://git-wip-us.apache.org/repos/asf/hbase/diff/593db050

Branch: refs/heads/0.98
Commit: 593db050500e69bb87d5666ac235e1588d0f268b
Parents: 4e83f57
Author: Liu Shaohui <liushaohui@xiaomi.com>
Authored: Thu Apr 2 11:52:54 2015 +0800
Committer: Andrew Purtell <apurtell@apache.org>
Committed: Tue May 5 18:13:39 2015 -0700

----------------------------------------------------------------------
 .../main/java/org/apache/hadoop/hbase/regionserver/HRegion.java    | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hbase/blob/593db050/hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/HRegion.java
----------------------------------------------------------------------
diff --git a/hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/HRegion.java
b/hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/HRegion.java
index 8837096..8148da5 100644
--- a/hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/HRegion.java
+++ b/hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/HRegion.java
@@ -3045,7 +3045,7 @@ public class HRegion implements HeapSize { // , Writable{
    */
   protected void checkReadOnly() throws IOException {
     if (this.writestate.isReadOnly()) {
-      throw new IOException("region is read only");
+      throw new DoNotRetryIOException("region is read only");
     }
   }
 


Mime
View raw message