[
https://issues.apache.org/jira/browse/KNOX-2223?focusedWorklogId=382512&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-382512
]
ASF GitHub Bot logged work on KNOX-2223:
----------------------------------------
Author: ASF GitHub Bot
Created on: 05/Feb/20 21:14
Start Date: 05/Feb/20 21:14
Worklog Time Spent: 10m
Work Description: risdenk commented on pull request #253: KNOX-2223 - HS2
cookie not stored in HadoopAuthCookieStore
URL: https://github.com/apache/knox/pull/253
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
Issue Time Tracking
-------------------
Worklog Id: (was: 382512)
Time Spent: 20m (was: 10m)
> HS2 cookie not stored in HadoopAuthCookieStore
> ----------------------------------------------
>
> Key: KNOX-2223
> URL: https://issues.apache.org/jira/browse/KNOX-2223
> Project: Apache Knox
> Issue Type: Bug
> Affects Versions: 1.1.0, 1.2.0, 1.3.0
> Reporter: Kevin Risden
> Assignee: Kevin Risden
> Priority: Major
> Fix For: 1.4.0
>
> Time Spent: 20m
> Remaining Estimate: 0h
>
> HadoopAuthCookieStore checks to see if the cookie corresponds to Knox after
> KNOX-1341 and further improved in KNOX-2026.
> The HS2 cookie format doesn't match what Knox expects though. Knox expects
> the cookie to have the entire principal (knox/[email protected]). HS2
> generates the authentication cookie based on the short name just "knox".
> https://github.com/apache/hive/blob/master/service/src/java/org/apache/hive/service/auth/HttpAuthUtils.java#L83
> This causes a mismatch and Knox never stores the HS2 cookie. This results in
> repeated Knox Kerberos auth to HS2 which is a performance penalty.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)