You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Apache Spark (JIRA)" <ji...@apache.org> on 2018/07/01 01:51:00 UTC

[jira] [Commented] (SPARK-24470) RestSubmissionClient to be robust against 404 & non json responses

    [ https://issues.apache.org/jira/browse/SPARK-24470?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16528955#comment-16528955 ] 

Apache Spark commented on SPARK-24470:
--------------------------------------

User 'rekhajoshm' has created a pull request for this issue:
https://github.com/apache/spark/pull/21684

> RestSubmissionClient to be robust against 404 & non json responses
> ------------------------------------------------------------------
>
>                 Key: SPARK-24470
>                 URL: https://issues.apache.org/jira/browse/SPARK-24470
>             Project: Spark
>          Issue Type: Improvement
>          Components: Spark Core
>    Affects Versions: 2.4.0
>            Reporter: Steve Loughran
>            Priority: Minor
>
> judging by [Stack overflow 50677915|https://stackoverflow.com/questions/50677915/unable-to-run-spark-submit-command], 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.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org