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 2020/02/10 17:45:52 UTC
[hbase] branch master updated: HBASE-23812 [Flakey Test]
TestReplicator#testReplicatorWithErrors: AssertionError: We did not
replicate enough rows expected:<10> but was:<7>
This is an automated email from the ASF dual-hosted git repository.
stack pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/hbase.git
The following commit(s) were added to refs/heads/master by this push:
new a6774ca HBASE-23812 [Flakey Test] TestReplicator#testReplicatorWithErrors: AssertionError: We did not replicate enough rows expected:<10> but was:<7>
a6774ca is described below
commit a6774ca7f7a442550a7cf84b673e7077ac8c6661
Author: stack <st...@apache.org>
AuthorDate: Fri Feb 7 14:27:45 2020 -0800
HBASE-23812 [Flakey Test] TestReplicator#testReplicatorWithErrors: AssertionError: We did not replicate enough rows expected:<10> but was:<7>
---
.../regionserver/HBaseInterClusterReplicationEndpoint.java | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/hbase-server/src/main/java/org/apache/hadoop/hbase/replication/regionserver/HBaseInterClusterReplicationEndpoint.java b/hbase-server/src/main/java/org/apache/hadoop/hbase/replication/regionserver/HBaseInterClusterReplicationEndpoint.java
index 6f1f8b3..878d112 100644
--- a/hbase-server/src/main/java/org/apache/hadoop/hbase/replication/regionserver/HBaseInterClusterReplicationEndpoint.java
+++ b/hbase-server/src/main/java/org/apache/hadoop/hbase/replication/regionserver/HBaseInterClusterReplicationEndpoint.java
@@ -350,8 +350,8 @@ public class HBaseInterClusterReplicationEndpoint extends HBaseReplicationEndpoi
} catch (InterruptedException ie) {
iox = new IOException(ie);
} catch (ExecutionException ee) {
- // cause must be an IOException
- iox = (IOException) ee.getCause();
+ iox = ee.getCause() instanceof IOException?
+ (IOException)ee.getCause(): new IOException(ee.getCause());
}
}
if (iox != null) {