[jira] [Updated] (YARN-7971) add COOKIE when pass through headers in WebAppProxyServlet
[ https://issues.apache.org/jira/browse/YARN-7971?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Fan Yunbo updated YARN-7971: Attachment: (was: YARN-7971.001.patch) > 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 > > 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
[jira] [Issue Comment Deleted] (YARN-7971) add COOKIE when pass through headers in WebAppProxyServlet
[ https://issues.apache.org/jira/browse/YARN-7971?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Fan Yunbo updated YARN-7971: Comment: was deleted (was: add the patch) > 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 > Fix For: 2.6.6 > > 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
[jira] [Created] (YARN-7971) add COOKIE when pass through headers in WebAppProxyServlet
Fan Yunbo created YARN-7971: --- Summary: 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 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 [https://RM:8088/proxy/application_xxx_xxx?q1=xx|https://rm:8088/proxy/application_xxx_xxx?user.name=xxx]x&q2=xxx... 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
[jira] [Updated] (YARN-7971) add COOKIE when pass through headers in WebAppProxyServlet
[ https://issues.apache.org/jira/browse/YARN-7971?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Fan Yunbo updated YARN-7971: Description: 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} [https://RM:8088/proxy/application_xxx_xxx?q1=xx|https://rm:8088/proxy/application_xxx_xxx?user.name=xxx]x&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. was: 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 [https://RM:8088/proxy/application_xxx_xxx?q1=xx|https://rm:8088/proxy/application_xxx_xxx?user.name=xxx]x&q2=xxx... 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. > 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 > > 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} > [https://RM:8088/proxy/application_xxx_xxx?q1=xx|https://rm:8088/proxy/application_xxx_xxx?user.name=xxx]x&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
[jira] [Updated] (YARN-7971) add COOKIE when pass through headers in WebAppProxyServlet
[ https://issues.apache.org/jira/browse/YARN-7971?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Fan Yunbo updated YARN-7971: Description: 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. was: 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} [https://RM:8088/proxy/application_xxx_xxx?q1=xx|https://rm:8088/proxy/application_xxx_xxx?user.name=xxx]x&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. > 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 > > 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
[jira] [Updated] (YARN-7971) add COOKIE when pass through headers in WebAppProxyServlet
[ https://issues.apache.org/jira/browse/YARN-7971?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Fan Yunbo updated YARN-7971: Attachment: YARN-7971.001.patch > 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
[jira] [Commented] (YARN-7971) add COOKIE when pass through headers in WebAppProxyServlet
[ 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