[
https://issues.apache.org/jira/browse/YARN-2031?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13992762#comment-13992762
]
Steve Loughran commented on YARN-2031:
--------------------------------------
We are currently working around this by not redirecting the portion of our web
site under the path {{/ws}}
[SliderAmIpFilter|https://svn.apache.org/repos/asf/incubator/slider/trunk/slider-core/src/main/java/org/apache/slider/server/appmaster/web/SliderAmIpFilter.java]
Other AMs will hit the same problem, and we should have a standard fix
> YARN Proxy model doesn't support REST APIs in AMs
> -------------------------------------------------
>
> Key: YARN-2031
> URL: https://issues.apache.org/jira/browse/YARN-2031
> Project: Hadoop YARN
> Issue Type: Bug
> Components: resourcemanager
> Affects Versions: 2.4.0
> Reporter: Steve Loughran
>
> AMs can't support REST APIs because
> # the AM filter redirects all requests to the proxy with a 302 response (not
> 307)
> # the proxy doesn't forward PUT/POST/DELETE verbs
> Either the AM filter needs to return 307 and the proxy to forward the verbs,
> or Am filter should not filter a REST bit of the web site
--
This message was sent by Atlassian JIRA
(v6.2#6252)