Elliott Clark created HBASE-13524:
-------------------------------------
Summary: TestReplicationAdmin fails on JDK 1.8
Key: HBASE-13524
URL: https://issues.apache.org/jira/browse/HBASE-13524
Project: HBase
Issue Type: Bug
Reporter: Elliott Clark
{code}
-------------------------------------------------------
T E S T S
-------------------------------------------------------
Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=256m;
support was removed in 8.0
Running org.apache.hadoop.hbase.client.replication.TestReplicationAdmin
Tests run: 5, Failures: 1, Errors: 1, Skipped: 0, Time elapsed: 2.419 sec <<<
FAILURE! - in org.apache.hadoop.hbase.client.replication.TestReplicationAdmin
testAppendPeerTableCFs(org.apache.hadoop.hbase.client.replication.TestReplicationAdmin)
Time elapsed: 0.037 sec <<< FAILURE!
org.junit.ComparisonFailure: expected:<t[2;t1]> but was:<t[1;t2]>
at org.junit.Assert.assertEquals(Assert.java:115)
at org.junit.Assert.assertEquals(Assert.java:144)
at
org.apache.hadoop.hbase.client.replication.TestReplicationAdmin.testAppendPeerTableCFs(TestReplicationAdmin.java:170)
testEnableDisable(org.apache.hadoop.hbase.client.replication.TestReplicationAdmin)
Time elapsed: 0.031 sec <<< ERROR!
java.lang.IllegalArgumentException: Cannot add a peer with id=1 because that id
already exists.
at
org.apache.hadoop.hbase.replication.ReplicationPeersZKImpl.addPeer(ReplicationPeersZKImpl.java:112)
at
org.apache.hadoop.hbase.client.replication.ReplicationAdmin.addPeer(ReplicationAdmin.java:202)
at
org.apache.hadoop.hbase.client.replication.ReplicationAdmin.addPeer(ReplicationAdmin.java:181)
at
org.apache.hadoop.hbase.client.replication.TestReplicationAdmin.testEnableDisable(TestReplicationAdmin.java:115)
{code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)