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

Refactoring ReplicationSink to make it more responsive of cluster health

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 0.94.2
    • Replication
    • None
    • Reviewed

    Description

      ReplicationSink replicates the WALEdits in the local cluster. It uses native HBase client to insert the mutations. Sometime, it takes a while to process it (may be due to region splitting, gc pause, etc) and it undergoes the retrial phase.
      It has two repercussions:
      a) The regionserver handler which is serving the request (till now, a priority handler) is blocked for this period.
      b) The caller may get timed out and it will retry it anyway, but the handler serving the ReplicationSink requests is still working.

      Refactoring ReplicationSink to have the following features:
      a) Making it more configurable (have its own number of retrial limit, connection timeout, etc)
      b) Add a fail fast behavior so that it bails out in case caller is timedout, or any exception in processing the mutation batch.

      Attachments

        1. HBase-6550-v1.patch
          11 kB
          Himanshu Vashishtha
        2. 6550-havealook.txt
          6 kB
          Lars Hofhansl
        3. HBase-6550.patch
          5 kB
          Himanshu Vashishtha
        4. HBase-6550-v3.patch
          5 kB
          Himanshu Vashishtha
        5. HBase-6550-v4.patch
          5 kB
          Himanshu Vashishtha
        6. HBase-6550-0.94.patch
          5 kB
          Himanshu Vashishtha
        7. HBase-6550-0.94-v2.patch
          5 kB
          Himanshu Vashishtha
        8. HBase-6550-v5.patch
          5 kB
          Himanshu Vashishtha
        9. HBase-6550-0.94-v3.patch
          5 kB
          Himanshu Vashishtha
        10. HBase-6550-v6.patch
          5 kB
          Himanshu Vashishtha

        Activity

          People

            v.himanshu Himanshu Vashishtha
            v.himanshu Himanshu Vashishtha
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: