You are viewing a plain text version of this content. The canonical link for it is here.
Posted to mapreduce-issues@hadoop.apache.org by "Allen Wittenauer (JIRA)" <ji...@apache.org> on 2015/03/10 04:19:38 UTC

[jira] [Updated] (MAPREDUCE-3923) RM/AM/JHS webservers should return HTTP.BadRequest for malformed requests and not HTTP.NotFound

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

Allen Wittenauer updated MAPREDUCE-3923:
----------------------------------------
    Fix Version/s:     (was: 0.23.2)

> RM/AM/JHS webservers should return HTTP.BadRequest for malformed requests and not HTTP.NotFound
> -----------------------------------------------------------------------------------------------
>
>                 Key: MAPREDUCE-3923
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-3923
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>            Reporter: Bikas Saha
>
> Many webserver methods (eg. AMWebServices.getTaskAttemptFromTaskAttemptString()) return NotFound for malformed requests instead of BadRequest.
> This would be inconsistent with expected HTTP behavior. Would be good to fix them. NotFound should be returned for valid resources which dont exist.



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