You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues-all@impala.apache.org by "Joe McDonnell (Jira)" <ji...@apache.org> on 2023/04/24 18:59:00 UTC

[jira] [Created] (IMPALA-12093) impala-shell should preserve all cookies by default

Joe McDonnell created IMPALA-12093:
--------------------------------------

             Summary: impala-shell should preserve all cookies by default
                 Key: IMPALA-12093
                 URL: https://issues.apache.org/jira/browse/IMPALA-12093
             Project: IMPALA
          Issue Type: Improvement
          Components: Clients
    Affects Versions: Impala 4.3.0
            Reporter: Joe McDonnell


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.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-all-unsubscribe@impala.apache.org
For additional commands, e-mail: issues-all-help@impala.apache.org