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

Backdoor CoprocessorHConnection is no longer being used for local writes

VotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.98.4
    • 0.99.0, 0.98.6
    • None
    • 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

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment