You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Jiaqi Li (Jira)" <ji...@apache.org> on 2019/09/23 14:36:00 UTC

[jira] [Created] (SPARK-29216) Modify the run() method case statement structure in Executor without adding a new case

Jiaqi Li created SPARK-29216:
--------------------------------

             Summary: Modify the run() method case statement structure in Executor without adding a new case
                 Key: SPARK-29216
                 URL: https://issues.apache.org/jira/browse/SPARK-29216
             Project: Spark
          Issue Type: Improvement
          Components: Spark Core
    Affects Versions: 2.3.5
            Reporter: Jiaqi Li



{code:scala}
case t: Throwable if env.isStopped =>
          logError(s"Exception in $taskName (TID $taskId): ${t.getMessage}")
case t: Throwable =>
          logError(s"Exception in $taskName (TID $taskId)", t)
{code}


This looks like it just needs to add an if judgment.





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

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