hadoop-yarn-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jonathan Maron (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (YARN-2031) YARN Proxy model doesn't support REST APIs in AMs
Date Thu, 05 Feb 2015 16:09:35 GMT

    [ https://issues.apache.org/jira/browse/YARN-2031?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14307473#comment-14307473
] 

Jonathan Maron commented on YARN-2031:
--------------------------------------

I believe most, if not all, HTTP 1.1 client's will handle both 302 and 307.  But assuming
an HTTP 1.0 client will even work, or an HTTP 1.1 client exists that doesn't handle 307, we
could implement that sort of logic.

So, to be clear, the plan is:

1)  Wait for this patch to get merged
2)  Subsequently add logic that returns 302 for GET/HEAD requests, 307 otherwise?


> 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: Sub-task
>          Components: resourcemanager
>    Affects Versions: 2.4.0
>            Reporter: Steve Loughran
>            Assignee: Steve Loughran
>         Attachments: YARN-2031.patch.001
>
>
> 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.3.4#6332)

Mime
View raw message