HBASE-20829 TestSyncReplicationStandbyKillRS is flakey - add error log for debugging
Project: http://git-wip-us.apache.org/repos/asf/hbase/repo Commit: http://git-wip-us.apache.org/repos/asf/hbase/commit/112d0506 Tree: http://git-wip-us.apache.org/repos/asf/hbase/tree/112d0506 Diff: http://git-wip-us.apache.org/repos/asf/hbase/diff/112d0506 Branch: refs/heads/HBASE-18477 Commit: 112d050609184375d8cc6b15ddb80bc7c6b9a19c Parents: 34e23fe Author: zhangduo <zhang...@apache.org> Authored: Sun Jul 1 18:14:10 2018 +0800 Committer: zhangduo <zhang...@apache.org> Committed: Sun Jul 1 18:14:10 2018 +0800 ---------------------------------------------------------------------- .../hbase/replication/TestSyncReplicationStandbyKillRS.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/hbase/blob/112d0506/hbase-server/src/test/java/org/apache/hadoop/hbase/replication/TestSyncReplicationStandbyKillRS.java ---------------------------------------------------------------------- diff --git a/hbase-server/src/test/java/org/apache/hadoop/hbase/replication/TestSyncReplicationStandbyKillRS.java b/hbase-server/src/test/java/org/apache/hadoop/hbase/replication/TestSyncReplicationStandbyKillRS.java index 3c9724f..d659688 100644 --- a/hbase-server/src/test/java/org/apache/hadoop/hbase/replication/TestSyncReplicationStandbyKillRS.java +++ b/hbase-server/src/test/java/org/apache/hadoop/hbase/replication/TestSyncReplicationStandbyKillRS.java @@ -88,9 +88,9 @@ public class TestSyncReplicationStandbyKillRS extends SyncReplicationTestBase { // Transit standby to DA to replay logs try { UTIL2.getAdmin().transitReplicationPeerSyncReplicationState(PEER_ID, - SyncReplicationState.DOWNGRADE_ACTIVE); + SyncReplicationState.DOWNGRADE_ACTIVE); } catch (Exception e) { - LOG.error("Failed to transit standby cluster to " + SyncReplicationState.DOWNGRADE_ACTIVE); + LOG.error("Failed to transit standby cluster to " + SyncReplicationState.DOWNGRADE_ACTIVE, e); } while (UTIL2.getAdmin().getReplicationPeerSyncReplicationState(PEER_ID)