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

Do not copy underlying HBase configuration properties when connection properties are supplied

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 4.7.0
    • None

    Description

      Related to PHOENIX-1958, we can avoid copying the underlying HBase configuration properties when connection properties are supplied by keeping an override maps on ConnectionQueryServices. In this case, a ReadOnlyProperty get will be first done on the override map and then subsequently on the base/shared map for the HBase configuration properties.

      The reason to do this is because some applications always provide connection properties (usually for custom annotations that identify the tenant and request) and the memory overhead of copying all properties is too high.

      Attachments

        1. PHOENIX-2119.patch
          7 kB
          Samarth Jain
        2. PHOENIX-2119_v2.patch
          8 kB
          Samarth Jain
        3. PHOENIX-2119_addendum.patch
          2 kB
          James R. Taylor

        Activity

          People

            samarthjain Samarth Jain
            jamestaylor James R. Taylor
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: