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

Spooling BufferedMutator

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Closed
    • Major
    • Resolution: Implemented
    • None
    • None
    • None
    • None

    Description

      For Yarn Timeline Service v2 we use HBase as a backing store.
      A big concern we would like to address is what to do if HBase is (temporarily) down, for example in case of an HBase upgrade.

      Most of the high volume writes will be mostly on a best-effort basis, but occasionally we do a flush. Mainly during application lifecycle events, clients will call a flush on the timeline service API. In order to handle the volume of writes we use a BufferedMutator. When flush gets called on our API, we in turn call flush on the BufferedMutator.

      We would like our interface to HBase be able to spool the mutations to a filesystems in case of HBase errors. If we use the Hadoop filesystem interface, this can then be HDFS, gcs, s3, or any other distributed storage. The mutations can then later be re-played, for example through a MapReduce job.
      https://reviews.apache.org/r/54882/

      For design of SpoolingBufferedMutatorImpl see https://docs.google.com/document/d/1GTSk1Hd887gGJduUr8ZJ2m-VKrIXDUv9K3dr4u2YGls/edit?usp=sharing

      Attachments

        1. HBASE-17018.master.005.patch
          82 kB
          Joep Rottinghuis
        2. HBASE-17018.master.004.patch
          76 kB
          Joep Rottinghuis
        3. HBASE-17018.master.003.patch
          70 kB
          Joep Rottinghuis
        4. HBASE-17018.master.002.patch
          64 kB
          Joep Rottinghuis
        5. HBASE-17018SpoolingBufferedMutatorDesign-v1.pdf
          162 kB
          Joep Rottinghuis
        6. HBASE-17018.master.001.patch
          53 kB
          Joep Rottinghuis
        7. YARN-4061 HBase requirements for fault tolerant writer.pdf
          187 kB
          Joep Rottinghuis

        Issue Links

          Activity

            People

              Unassigned Unassigned
              jrottinghuis Joep Rottinghuis
              Votes:
              0 Vote for this issue
              Watchers:
              18 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: