You are viewing a plain text version of this content. The canonical link for it is here.
Posted to yarn-issues@hadoop.apache.org by "Wilfred Spiegelenburg (JIRA)" <ji...@apache.org> on 2017/05/17 12:32:04 UTC

[jira] [Updated] (YARN-6615) AmIpFilter drops query parameters on redirect

     [ https://issues.apache.org/jira/browse/YARN-6615?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Wilfred Spiegelenburg updated YARN-6615:
----------------------------------------
    Attachment: YARN-6615.1.patch

Adding the query parameters if set before we trigger the redirect including a new test

> AmIpFilter drops query parameters on redirect
> ---------------------------------------------
>
>                 Key: YARN-6615
>                 URL: https://issues.apache.org/jira/browse/YARN-6615
>             Project: Hadoop YARN
>          Issue Type: Bug
>          Components: amrmproxy
>    Affects Versions: 3.0.0-alpha2
>            Reporter: Wilfred Spiegelenburg
>            Assignee: Wilfred Spiegelenburg
>         Attachments: YARN-6615.1.patch
>
>
> When an AM web request is redirected to the RM the query parameters are dropped from the web request.
> This happens for Spark as described in SPARK-20772.
> The repro steps are:
> - Start up the spark-shell in yarn mode and run a job
> - Try to access the job details through http://<fqdn>:4040/jobs/job?id=0
> - A HTTP ERROR 400 is thrown (requirement failed: missing id parameter)
> This works fine in local or standalone mode, but does not work on Yarn where the query parameter is dropped. If the UI filter org.apache.hadoop.yarn.server.webproxy.amfilter.AmIpFilter is removed from the config which shows that the problem is in the filter



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

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