[ https://issues.apache.org/jira/browse/YARN-7971?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16376604#comment-16376604 ]
Fan Yunbo commented on YARN-7971: --------------------------------- Add the patch And I wanner know why cookie isn't passed through the headers previously. > add COOKIE when pass through headers in WebAppProxyServlet > ---------------------------------------------------------- > > Key: YARN-7971 > URL: https://issues.apache.org/jira/browse/YARN-7971 > Project: Hadoop YARN > Issue Type: Improvement > Affects Versions: 2.6.4 > Reporter: Fan Yunbo > Priority: Major > Attachments: YARN-7971.001.patch > > > I am using Spark on Yarn and I add some authentication filters in spark web > server. > And the filters need to add query string for authentication like > {code:java} > https://RM:8088/proxy/application_xxx_xxx?q1=xxx&q2=xxx... > {code} > The filters will add cookies in headers when the web server respond the > request. > However, the query string need to be added in the URL every time when I > access the web server because the app proxy servlet in Yarn doesn't pass the > cookies in headers. -- This message was sent by Atlassian JIRA (v7.6.3#76005) --------------------------------------------------------------------- To unsubscribe, e-mail: yarn-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: yarn-issues-h...@hadoop.apache.org