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

Google Groups | hart jo | 7 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Sparkling water executor error

    Google Groups | 7 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 | 7 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 | 12 months ago
    java.lang.IllegalStateException: Shutdown hooks cannot be modified during shutdown.
  6. 0

    How can I cope with "IllegalStateException: BeanFactory not initialized or already closed"?

    Stack Overflow | 6 years ago | user569825
    java.lang.IllegalStateException: BeanFactory not initialized or already closed - call 'refresh' before accessing beans via the ApplicationContext

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    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