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 "Wenzhe Zhou (Jira)" <ji...@apache.org> on 2023/04/24 19:28:00 UTC
[jira] [Commented] (IMPALA-12093) impala-shell should preserve all cookies by default
[ https://issues.apache.org/jira/browse/IMPALA-12093?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17715957#comment-17715957 ]
Wenzhe Zhou commented on IMPALA-12093:
--------------------------------------
Impyla should have same behavior. Once we change the impala-shell to preserver all cookies by default, the patch should be synced to impyla.
> 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
> Priority: Major
>
> 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