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

Avoid too many write operations on zookeeper in replication

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Abandoned
    • 0.94.11
    • None
    • Replication

    Description

      In our production cluster, we found there are about over 1k write operations per second on zookeeper from hbase replication. The reason is that the replication source will write the log position to zookeeper for every edit shipping. If the current replicating WAL is just the WAL that regionserver is writing to, each skipping will be very small but the frequency is very high, which causes many write operations on zookeeper.

      A simple solution is that writing log position to zookeeper when position diff or skipped edit number is larger than a threshold, not every edit shipping.

      Suggestions are welcomed, thx~

      Attachments

        1. HBASE-12636-v1.diff
          3 kB
          Shaohui Liu
        2. HBASE-12635-v2.diff
          4 kB
          Shaohui Liu

        Activity

          People

            Unassigned Unassigned
            liushaohui Shaohui Liu
            Votes:
            0 Vote for this issue
            Watchers:
            10 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: