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 06:33:04 UTC

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

Wilfred Spiegelenburg created YARN-6615:
-------------------------------------------

             Summary: 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


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