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 "Thomas Weise (JIRA)" <ji...@apache.org> on 2012/10/11 20:25:03 UTC

[jira] [Created] (YARN-156) WebAppProxyServlet does not support http methods other than GET

Thomas Weise created YARN-156:
---------------------------------

             Summary: WebAppProxyServlet does not support http methods other than GET
                 Key: YARN-156
                 URL: https://issues.apache.org/jira/browse/YARN-156
             Project: Hadoop YARN
          Issue Type: Bug
          Components: resourcemanager
    Affects Versions: 2.0.0-alpha
            Reporter: Thomas Weise


Should support all methods so that applications can use it for full web service access to master.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Commented] (YARN-156) WebAppProxyServlet does not support http methods other than GET

Posted by "Thomas Weise (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/YARN-156?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13474408#comment-13474408 ] 

Thomas Weise commented on YARN-156:
-----------------------------------

We have to use a workaround such as below for POST, which of course only works when having direct access to the application port:
{code}
 // WebAppProxyServlet does not support POST - bypass it for this request
    WebResource r = wsClient.resource("http://" + app.getOriginalTrackingUrl()).path("someresource").path("post");
{code}

                
> WebAppProxyServlet does not support http methods other than GET
> ---------------------------------------------------------------
>
>                 Key: YARN-156
>                 URL: https://issues.apache.org/jira/browse/YARN-156
>             Project: Hadoop YARN
>          Issue Type: Bug
>          Components: resourcemanager
>    Affects Versions: 2.0.0-alpha
>            Reporter: Thomas Weise
>
> Should support all methods so that applications can use it for full web service access to master.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira