Skip to content

Throwing Logic-Related Exception #821

Answered by imback82
dbeavon asked this question in Q&A
Discussion options

You must be logged in to vote

My exceptions eventually bubble out to the driver either way, but I'd like it to happen more quickly, without repeated attempts on multiple workers.

You can change spark.task.maxFailures to 1 if you don't want repeated attempts:

  private[spark] val TASK_MAX_FAILURES =
    ConfigBuilder("spark.task.maxFailures")
      .version("0.8.0")
      .intConf
      .createWithDefault(4)

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@dbeavon
Comment options

Answer selected by dbeavon
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants