spark-reviews mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From vanzin <>
Subject [GitHub] spark issue #18594: [SPARK-20904][core] Don't report task failures to driver...
Date Tue, 11 Jul 2017 00:17:11 GMT
Github user vanzin commented on the issue:
    Here's the hacky test code for the interested:
    sc.parallelize(1 to 100, 100).foreach { _ =>
      var shuttingDown = false
      while (!shuttingDown) {
        try {
          val hook = new Thread {
            override def run() {}
          // scalastyle:off runtimeaddshutdownhook
          // scalastyle:on runtimeaddshutdownhook
        } catch {
          case ise: IllegalStateException => shuttingDown = true
      throw new Exception("Task failure during shutdown.")
    Ran that in two shells, one in a low priority queue and one in a high priority one, restarting
the high priority one to force several rounds of executors being killed by preemption in the
low priority queue.

If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at or file a JIRA ticket
with INFRA.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message