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

Attila Zsolt Piros resolved SPARK-35234.
----------------------------------------
    Fix Version/s: 3.2.0
       Resolution: Fixed

> Reserve format of the stage failureMessage
> ------------------------------------------
>
>                 Key: SPARK-35234
>                 URL: https://issues.apache.org/jira/browse/SPARK-35234
>             Project: Spark
>          Issue Type: Improvement
>          Components: Spark Core
>    Affects Versions: 3.2.0
>            Reporter: wuyi
>            Assignee: wuyi
>            Priority: Major
>             Fix For: 3.2.0
>
>
>  
> {code:java}
> s"""$failedStage (${failedStage.name})
>   |has failed the maximum allowable number of
>   |times: $maxConsecutiveStageAttempts.
>   |Most recent failure reason: 
> $failureMessage""".stripMargin.replaceAll("\n", " ")
> {code}
>  
> The failureMessage is already formatted, but "replaceAll("\n", " ")" destroy 
> the format, which is inconvenient to check error stacks.
>  



--
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