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

Bikas Saha updated MAPREDUCE-3923:
----------------------------------

          Component/s: webapps
          Description: 
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.
    Affects Version/s: 0.23.0
        Fix Version/s: 0.23.2
              Summary: RM/AM/JHS webservers should return HTTP.BadRequest for 
malformed requests and not HTTP.NotFound  (was: RM/AM/JHS webserver)
    
> 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
>          Components: webapps
>    Affects Versions: 0.23.0
>            Reporter: Bikas Saha
>             Fix For: 0.23.2
>
>
> 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 is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to