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

Hbase client API: Restore the writeToWal method

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 0.95.0
    • Fix Version/s: 0.95.2
    • Component/s: Client, Usability
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      The writeToWal is used by downstream projects like Flume to disable writes to WAL to improve performance when durability is not strictly required. But renaming this method to setDurability forces us to use reflection to support hbase versions < 95 - which in turn hits performance, as this method needs to be called on every single write. I recommend adding the old method back as deprecated and removing it once hbase-95/96 becomes the popular version used in prod.

        Attachments

        1. HBASE-9093.patch
          3 kB
          Hari Shreedharan
        2. HBASE-9093.patch
          3 kB
          Hari Shreedharan
        3. HBASE-9093.patch
          4 kB
          Hari Shreedharan
        4. hbase-9093-v4.patch
          4 kB
          Jonathan Hsieh

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                hshreedharan Hari Shreedharan
              • Votes:
                0 Vote for this issue
                Watchers:
                9 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: