You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Elliott Clark (JIRA)" <ji...@apache.org> on 2015/04/21 20:14:59 UTC

[jira] [Updated] (HBASE-13524) TestReplicationAdmin fails on JDK 1.8

     [ https://issues.apache.org/jira/browse/HBASE-13524?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Elliott Clark updated HBASE-13524:
----------------------------------
    Attachment: HBASE-13524.patch

> 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
>            Assignee: Elliott Clark
>         Attachments: HBASE-13524.patch
>
>
> {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)