Uploaded image for project: 'Hadoop YARN'
  1. Hadoop YARN
  2. YARN-3322

RM/AM/JHS webservers should return HTTP.BadRequest for malformed requests and not HTTP.NotFound

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • None
    • None

    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.

      Attachments

        Activity

          People

            Unassigned Unassigned
            bikassaha Bikas Saha
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated: