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

Short-Circuit Coprocessor HTable access when on the same server

    XMLWordPrintableJSON

Details

    • Allow coprocessors accessing an HTable to short-circuit access to the local HRegionServer, rather than requiring the usual RPC path.
    • phoenix

    Description

      Coprocessors currently create a full HTable when they want to write. However, we know that coprocessors must run from within an HBase server (either master or RS). For the master, its rare that we are going to be doing performance sensitive operations, but RS calls could be very time-intensive.

      Therefore, we should be able to tell when a call from a CP attempts to talk to the RS on which it lives and just short-circuit to calling that RS, rather than going the long way around (which does the full marshalling/unmarshalling of data, as well as going over the loopback interface).

      Attachments

        1. hbase-9534-trunk-v2.patch
          24 kB
          Jesse Yates
        2. hbase-9534-trunk-v1.patch
          21 kB
          Jesse Yates
        3. hbase-9534-trunk-v0.patch
          22 kB
          Jesse Yates
        4. hbase-9534-0.94-v2.patch
          11 kB
          Jesse Yates
        5. hbase-9534-0.94-v1.patch
          13 kB
          Jesse Yates
        6. hbase-9534-0.94-v0.patch
          18 kB
          Jesse Yates
        7. 9534-trunk.txt
          20 kB
          Lars Hofhansl

        Issue Links

          Activity

            People

              jesse_yates Jesse Yates
              jesse_yates Jesse Yates
              Votes:
              0 Vote for this issue
              Watchers:
              11 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: