spark-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sea" <261810...@qq.com>
Subject Deadlock between UnifiedMemoryManager and BlockManager
Date Mon, 29 Feb 2016 12:48:02 GMT
Hi,all:
     My spark version is 1.6.0, I found a deadlock in production environment, Anyone can help?
I create an issue in jira: https://issues.apache.org/jira/browse/SPARK-13566




===================================================
"block-manager-slave-async-thread-pool-1":
    at org.apache.spark.storage.MemoryStore.remove(MemoryStore.scala:216)
    - waiting to lock <0x00000005895b09b0> (a org.apache.spark.memory.UnifiedMemoryManager)
    at org.apache.spark.storage.BlockManager.removeBlock(BlockManager.scala:1114)
    - locked <0x000000058ed6aae0> (a org.apache.spark.storage.BlockInfo)
    at org.apache.spark.storage.BlockManager$$anonfun$removeBroadcast$2.apply(BlockManager.scala:1101)
    at org.apache.spark.storage.BlockManager$$anonfun$removeBroadcast$2.apply(BlockManager.scala:1101)
    at scala.collection.immutable.Set$Set2.foreach(Set.scala:94)
    at org.apache.spark.storage.BlockManager.removeBroadcast(BlockManager.scala:1101)
    at org.apache.spark.storage.BlockManagerSlaveEndpoint$$anonfun$receiveAndReply$1$$anonfun$applyOrElse$4.apply$mcI$sp(BlockManagerSlaveEndpoint.scala:65)
    at org.apache.spark.storage.BlockManagerSlaveEndpoint$$anonfun$receiveAndReply$1$$anonfun$applyOrElse$4.apply(BlockManagerSlaveEndpoint.scala:65)
    at org.apache.spark.storage.BlockManagerSlaveEndpoint$$anonfun$receiveAndReply$1$$anonfun$applyOrElse$4.apply(BlockManagerSlaveEndpoint.scala:65)
    at org.apache.spark.storage.BlockManagerSlaveEndpoint$$anonfun$1.apply(BlockManagerSlaveEndpoint.scala:84)
    at scala.concurrent.impl.Future$PromiseCompletingRunnable.liftedTree1$1(Future.scala:24)
    at scala.concurrent.impl.Future$PromiseCompletingRunnable.run(Future.scala:24)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
    at java.lang.Thread.run(Thread.java:745)
"Executor task launch worker-10":
    at org.apache.spark.storage.BlockManager.dropFromMemory(BlockManager.scala:1032)
    - waiting to lock <0x000000059a0988b8> (a org.apache.spark.storage.BlockInfo)
    at org.apache.spark.storage.BlockManager.dropFromMemory(BlockManager.scala:1009)
    at org.apache.spark.storage.MemoryStore$$anonfun$evictBlocksToFreeSpace$2.apply(MemoryStore.scala:460)
    at org.apache.spark.storage.MemoryStore$$anonfun$evictBlocksToFreeSpace$2.apply(MemoryStore.scala:449)
    at scala.collection.mutable.ResizableArray$class.foreach(ResizableArray.scala:59)
Mime
View raw message