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

Adding replication peer should handle the undeleted queue exception

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Won't Fix
    • None
    • None
    • None
    • None

    Description

      Currently, if we try to add a peer and there is a replication queue existing for that peer, it doesn't let the replication peer created. 

      Instead, we should delete the queue and proceed with the creating of replication peer. Any queue without no corresponding replication peer is useless anyway. So, we shouldn't wait for cleaner to come and clean it before creating the peer. 

       

      org.apache.hadoop.hbase.replication.ReplicationException: undeleted queue for peerId: xyz_peerid, replicator: hostname.fakeaddress.com,60020,1607576586258, queueId: xyz_peerid
      java.lang.RuntimeException: org.apache.hadoop.hbase.replication.ReplicationException: undeleted queue for peerId: xyz_peerid, replicator: hostname.fakeaddress.com,60020,1607576586258, queueId: xyz_peerid
      
      

      Attachments

        Activity

          People

            Unassigned Unassigned
            sandeep.pal Sandeep Pal
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: