java.lang.IllegalStateException: Shutdown hooks cannot be modified during shutdown.

Google Groups | hart jo | 6 months ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    Sparkling water executor error

    Google Groups | 6 months ago | hart jo
    java.lang.IllegalStateException: Shutdown hooks cannot be modified during shutdown.
  2. 0

    Branch 1.6 by paramtatini · Pull Request #10304 · apache/spark · GitHub

    github.com | 1 year ago
    java.lang.IllegalStateException: Shutdown hooks cannot be modified during shutdown.
  3. 0

    Branch 1.6 by pradeepsavadi · Pull Request #11668 · apache/spark · GitHub

    github.com | 6 months ago
    java.lang.IllegalStateException: Shutdown hooks cannot be modified during shutdown.
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Branch 1.6 by naujlove · Pull Request #11413 · apache/spark · GitHub

    github.com | 11 months ago
    java.lang.IllegalStateException: Shutdown hooks cannot be modified during shutdown.

    Root Cause Analysis

    1. java.lang.IllegalStateException

      Shutdown hooks cannot be modified during shutdown.

      at org.apache.spark.util.SparkShutdownHookManager.add()
    2. Spark
      Worker$$anonfun$receive$1.applyOrElse
      1. org.apache.spark.util.SparkShutdownHookManager.add(ShutdownHookManager.scala:246)
      2. org.apache.spark.util.ShutdownHookManager$.addShutdownHook(ShutdownHookManager.scala:191)
      3. org.apache.spark.util.ShutdownHookManager$.addShutdownHook(ShutdownHookManager.scala:180)
      4. org.apache.spark.deploy.worker.ExecutorRunner.start(ExecutorRunner.scala:75)
      5. org.apache.spark.deploy.worker.Worker$$anonfun$receive$1.applyOrElse(Worker.scala:472)
      5 frames
    3. org.apache.spark
      Dispatcher$MessageLoop.run
      1. org.apache.spark.rpc.netty.Inbox$$anonfun$process$1.apply$mcV$sp(Inbox.scala:116)
      2. org.apache.spark.rpc.netty.Inbox.safelyCall(Inbox.scala:204)
      3. org.apache.spark.rpc.netty.Inbox.process(Inbox.scala:100)
      4. org.apache.spark.rpc.netty.Dispatcher$MessageLoop.run(Dispatcher.scala:215)
      4 frames
    4. Java RT
      Thread.run
      1. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
      2. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
      3. java.lang.Thread.run(Thread.java:745)
      3 frames