Uploaded image for project: 'Spark'
  1. Spark
  2. SPARK-24470

RestSubmissionClient to be robust against 404 & non json responses

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 2.4.0
    • 2.4.0
    • Spark Core
    • None

    Description

      judging by Stack overflow 50677915, The RestSubmissionClient doesn't check the error code or content type before handing off to jackson. So a 404 with an HTML response isn't handled that well.

      Attachments

        Activity

          People

            rekhajoshm Rekha Joshi
            stevel@apache.org Steve Loughran
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: