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

Allow the client to use a different thread for writing to ease interrupt

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.99.0
    • 0.99.0, hbase-10070
    • Client
    • None
    • Reviewed
    • Hide
      If hbase.ipc.client.allowsInterrupt is set to true (default being false), the writes are performed in a different thread. This workarounds a Java limitation with interruptions and i/o; and limits the impact of interrupting a client call. It's strongly recommended to activate this parameter when using tables with multiple replicas.
      Show
      If hbase.ipc.client.allowsInterrupt is set to true (default being false), the writes are performed in a different thread. This workarounds a Java limitation with interruptions and i/o; and limits the impact of interrupting a client call. It's strongly recommended to activate this parameter when using tables with multiple replicas.

    Description

      This is an issue in the HBASE-10070 context, but as well more generally if you want to interrupt an operation with a limited cost.

      I will attach a doc with a more detailed explanation.

      This adds a thread per region server; so it's otional. The first patch activates it by default to see how it behaves on a full hadoop-qa run. The target is to be unset by default.

      Attachments

        1. 10525.v1.patch
          9 kB
          Nicolas Liochon
        2. HBaseclient-EventualConsistency.pdf
          160 kB
          Nicolas Liochon
        3. 10525.v2.patch
          17 kB
          Nicolas Liochon
        4. 10525.v3.patch
          17 kB
          Nicolas Liochon
        5. 10525.v4.patch
          29 kB
          Nicolas Liochon
        6. 10525.v5.patch
          28 kB
          Nicolas Liochon
        7. 10525.v6.patch
          37 kB
          Nicolas Liochon
        8. 10525.v7.patch
          40 kB
          Nicolas Liochon

        Issue Links

          Activity

            People

              nkeywal Nicolas Liochon
              nkeywal Nicolas Liochon
              Votes:
              0 Vote for this issue
              Watchers:
              9 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: