Uploaded image for project: 'Phoenix'
  1. Phoenix
  2. PHOENIX-6671

Avoid ShortCirtuation Coprocessor Connection with HBase 2.x

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Won't Fix
    • None
    • None
    • None
    • None

    Description

      See PHOENIX-6501, PHOENIX-6458, and HBASE-26812.

      HBase's ShortCircuit Connection are fundamentally broken in HBase 2. We might be able to fix it there, but with all the work the RPC handlers perform now (closing scanning, resolving current user, etc), I doubt we'll get that 100% right. HBase 3 has removed this functionality.

      Even with HBase 2, which does not have the async protobuf code, I could hardly see any performance improvement from circumventing the RPC stack in case the target of a Get or Scan is local. Even in the most ideal conditions where everything is local, there was improvement outside of noise.

      I suggest we do not use ShortCircuited Connections in Phoenix 5+.

      Attachments

        1. 6671-v2-5.1.txt
          2 kB
          Lars Hofhansl
        2. 6671-5.1.txt
          0.9 kB
          Lars Hofhansl

        Issue Links

          Activity

            People

              larsh Lars Hofhansl
              larsh Lars Hofhansl
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: