Uploaded image for project: 'IMPALA'
  1. IMPALA
  2. IMPALA-12093

impala-shell should preserve all cookies by default

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Major
    • Resolution: Unresolved
    • Impala 4.3.0
    • None
    • Clients
    • None
    • ghx-label-12

    Description

      Currently, impala-shell's http_cookie_names parameter specifies which cookies should be preserved and sent back with subsequent requests. This defaults to a couple well-known cookie names that Impala uses.

      In general, we don't know what proxies are between impala-shell and Impala, and we don't know what cookie name they rely on being preserved. As an example, Apache Knox can rely on a cookie it sets to route requests to the appropriate Impala coordinator. Limiting our cookie preservation to a small allow list makes this much more brittle and hard to use. Clients need to know the right list of cookies to put in http_cookie_names, and that is not obvious.

      It seems like the default behavior should be to preserve all cookies. We can keep a way to disallow or limit the cookies for unusual cases.

      Attachments

        Issue Links

          Activity

            People

              wzhou Wenzhe Zhou
              joemcdonnell Joe McDonnell
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated: