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

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

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.7.0
    • Component/s: None
    • Labels:

      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_addendum.patch
          2 kB
          James R. Taylor
        2. PHOENIX-2119_v2.patch
          8 kB
          Samarth Jain
        3. PHOENIX-2119.patch
          7 kB
          Samarth Jain

          Activity

            People

            • Assignee:
              samarthjain Samarth Jain
              Reporter:
              jamestaylor James R. Taylor

              Dates

              • Created:
                Updated:
                Resolved:

                Issue deployment