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

Backdoor CoprocessorHConnection is no longer being used for local writes

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 0.98.4
    • Fix Version/s: 0.99.0, 0.98.6
    • Component/s: None
    • Labels:
    • Hadoop Flags:
      Reviewed

      Description

      There's a backdoor CoprocessorHConnection used to ensure that a batched mutation does not go over the wire and back, but executes immediately locally. This is leveraged by Phoenix during secondary index maintenance (for an ~20% perf improvement). It looks to me like it's no longer used, as the following function is never invoked:

      public org.apache.hadoop.hbase.protobuf.generated.ClientProtos.ClientService.BlockingInterface
      getClient(ServerName serverName) throws IOException {

      It'd be good if feasible to add an HBase unit test to prevent further regressions. For more info, see PHOENIX-1166.

        Attachments

        1. HBASE-11766.patch
          16 kB
          Andrew Kyle Purtell
        2. HBASE-11766.patch
          15 kB
          Andrew Kyle Purtell
        3. HBASE-11766-0.98.patch
          16 kB
          Andrew Kyle Purtell

          Issue Links

            Activity

              People

              • Assignee:
                apurtell Andrew Kyle Purtell
                Reporter:
                jamestaylor James R. Taylor
              • Votes:
                0 Vote for this issue
                Watchers:
                8 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: