Failed

org.apache.spark.sql.execution.streaming.CompactibleFileStreamLogSuite.(It is not a test it is a sbt.testing.SuiteSelector)

Failing for the past 1 build (Since Failed#5037 )
Took 46 ms.

Error Message

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

Stacktrace

sbt.ForkMain$ForkError: java.lang.IllegalStateException: Shutdown hooks cannot be modified during shutdown.
	at org.apache.spark.util.SparkShutdownHookManager.add(ShutdownHookManager.scala:195)
	at org.apache.spark.util.ShutdownHookManager$.addShutdownHook(ShutdownHookManager.scala:153)
	at org.apache.spark.storage.DiskBlockManager.addShutdownHook(DiskBlockManager.scala:157)
	at org.apache.spark.storage.DiskBlockManager.<init>(DiskBlockManager.scala:54)
	at org.apache.spark.storage.BlockManager.<init>(BlockManager.scala:190)
	at org.apache.spark.SparkEnv$.create(SparkEnv.scala:393)
	at org.apache.spark.SparkEnv$.createDriverEnv(SparkEnv.scala:189)
	at org.apache.spark.SparkContext.createSparkEnv(SparkContext.scala:267)
	at org.apache.spark.SparkContext.<init>(SparkContext.scala:442)
	at org.apache.spark.SparkContext.<init>(SparkContext.scala:130)
	at org.apache.spark.sql.test.TestSparkSession.<init>(TestSQLContext.scala:30)
	at org.apache.spark.sql.test.SharedSparkSessionBase.createSparkSession(SharedSparkSession.scala:100)
	at org.apache.spark.sql.test.SharedSparkSessionBase.createSparkSession$(SharedSparkSession.scala:98)
	at org.apache.spark.sql.execution.streaming.CompactibleFileStreamLogSuite.createSparkSession(CompactibleFileStreamLogSuite.scala:26)
	at org.apache.spark.sql.test.SharedSparkSessionBase.initializeSession(SharedSparkSession.scala:114)
	at org.apache.spark.sql.test.SharedSparkSessionBase.initializeSession$(SharedSparkSession.scala:112)
	at org.apache.spark.sql.execution.streaming.CompactibleFileStreamLogSuite.initializeSession(CompactibleFileStreamLogSuite.scala:26)
	at org.apache.spark.sql.test.SharedSparkSessionBase.beforeAll(SharedSparkSession.scala:122)
	at org.apache.spark.sql.test.SharedSparkSessionBase.beforeAll$(SharedSparkSession.scala:121)
	at org.apache.spark.sql.execution.streaming.CompactibleFileStreamLogSuite.org$apache$spark$sql$test$SharedSparkSession$$super$beforeAll(CompactibleFileStreamLogSuite.scala:26)
	at org.apache.spark.sql.test.SharedSparkSession.beforeAll(SharedSparkSession.scala:45)
	at org.apache.spark.sql.test.SharedSparkSession.beforeAll$(SharedSparkSession.scala:43)
	at org.apache.spark.sql.execution.streaming.CompactibleFileStreamLogSuite.beforeAll(CompactibleFileStreamLogSuite.scala:26)
	at org.scalatest.BeforeAndAfterAll.liftedTree1$1(BeforeAndAfterAll.scala:212)
	at org.scalatest.BeforeAndAfterAll.run(BeforeAndAfterAll.scala:210)
	at org.scalatest.BeforeAndAfterAll.run$(BeforeAndAfterAll.scala:208)
	at org.apache.spark.SparkFunSuite.run(SparkFunSuite.scala:58)
	at org.scalatest.tools.Framework.org$scalatest$tools$Framework$$runSuite(Framework.scala:317)
	at org.scalatest.tools.Framework$ScalaTestTask.execute(Framework.scala:510)
	at sbt.ForkMain$Run$2.call(ForkMain.java:296)
	at sbt.ForkMain$Run$2.call(ForkMain.java:286)
	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
	at java.lang.Thread.run(Thread.java:748)