wuyi created SPARK-35234:
----------------------------

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


 
{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