Uploaded image for project: 'HBase'
  1. HBase
  2. HBASE-13524

TestReplicationAdmin fails on JDK 1.8

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.1.0, 2.0.0
    • 1.1.0, 2.0.0
    • None
    • None

    Description

      -------------------------------------------------------
       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)
      
      

      Attachments

        1. HBASE-13524.patch
          2 kB
          Elliott Neil Clark
        2. HBASE-13524-v1.patch
          2 kB
          Elliott Neil Clark

        Activity

          People

            eclark Elliott Neil Clark
            eclark Elliott Neil Clark
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: