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 "Naganarasimha G R (JIRA)" <ji...@apache.org> on 2016/04/04 12:30:25 UTC

[jira] [Updated] (YARN-4746) yarn web services should convert parse failures of appId, appAttemptId and containerId to 400

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

Naganarasimha G R updated YARN-4746:
------------------------------------
    Summary: yarn web services should convert parse failures of appId, appAttemptId and containerId to 400  (was: yarn web services should convert parse failures of appId to 400)

> yarn web services should convert parse failures of appId, appAttemptId and containerId to 400
> ---------------------------------------------------------------------------------------------
>
>                 Key: YARN-4746
>                 URL: https://issues.apache.org/jira/browse/YARN-4746
>             Project: Hadoop YARN
>          Issue Type: Bug
>          Components: webapp
>    Affects Versions: 2.8.0
>            Reporter: Steve Loughran
>            Assignee: Bibin A Chundatt
>            Priority: Minor
>         Attachments: 0001-YARN-4746.patch, 0002-YARN-4746.patch, 0003-YARN-4746.patch, 0003-YARN-4746.patch, 0004-YARN-4746.patch, 0005-YARN-4746.patch
>
>
> I'm seeing somewhere in the WS API tests of mine an error with exception conversion of  a bad app ID sent in as an argument to a GET. I know it's in ATS, but a scan of the core RM web services implies a same problem
> {{WebServices.parseApplicationId()}} uses {{ConverterUtils.toApplicationId}} to convert an argument; this throws IllegalArgumentException, which is then handled somewhere by jetty as a 500 error.
> In fact, it's a bad argument, which should be handled by returning a 400. This can be done by catching the raised argument and explicitly converting it



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)