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

Avoid flooding replication source RSes logs when no sinks are available

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 3.0.0-alpha-1, 2.3.1, 2.4.0, 2.2.5
    • 3.0.0-alpha-1, 2.3.1, 2.4.0
    • Replication
    • None

    Description

      On HBaseInterClusterReplicationEndpoint.replicate, if no sinks are returned by ReplicationSinkManager, say remote peer is not available, we log message below and return false to source shipper thread, which then keeps retrying, flooding source RS log with the below messages:

      WARN org.apache.hadoop.hbase.replication.regionserver.HBaseInterClusterReplicationEndpoint: No replication sinks found, returning without replicating. The source should retry with the same set of edits.
      

      This condition could also cause ReplicationSinkManager.chooseSinks to blow an NPE.

      Attachments

        Issue Links

          Activity

            People

              wchevreuil Wellington Chevreuil
              wchevreuil Wellington Chevreuil
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: