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

angerszhu updated SPARK-36691:
------------------------------
    Description: 
In current pyspark, stderr and stdout are print together, if py-script failed, 
will only throw a SparkUserAppsException with exit code 1. Then pass this error 
to AM.
In cluster mode, client side only show 
{code}
User application exited with 1.
{code}
Without correct error message.  Then user need to find why their job failed.



> PythonRunner failed should pass error message to ApplicationMaster too
> ----------------------------------------------------------------------
>
>                 Key: SPARK-36691
>                 URL: https://issues.apache.org/jira/browse/SPARK-36691
>             Project: Spark
>          Issue Type: Sub-task
>          Components: PySpark, YARN
>    Affects Versions: 3.2.0
>            Reporter: angerszhu
>            Priority: Major
>
> In current pyspark, stderr and stdout are print together, if py-script 
> failed, will only throw a SparkUserAppsException with exit code 1. Then pass 
> this error to AM.
> In cluster mode, client side only show 
> {code}
> User application exited with 1.
> {code}
> Without correct error message.  Then user need to find why their job failed.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

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

Reply via email to