Uploaded image for project: 'Livy'
  1. Livy
  2. LIVY-773

Wrong status code when session creation limit reached

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 0.7.0
    • 0.9.0
    • Server
    • None

    Description

      When livy.server.session.max-creation is reached, Livy server responds with HTTP status code 400 Bad Request, which is designed for situations when the request is bad in itself and the sever cannot process it.
      503 Server Unavailable is meant for temporary overload when the server cannot serve the request.

      The latter fits the this case, so I propose to change the response.

      Attachments

        Activity

          People

            Unassigned Unassigned
            andrasbeni Andras Beni
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:

              Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 50m
                50m