[ 
https://issues.apache.org/jira/browse/SPARK-13566?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15581927#comment-15581927
 ] 

Graeme Moss commented on SPARK-13566:
-------------------------------------

Setting {{spark.memory.useLegacyMode=true}} does not seem to be a workaround 
for this issue.  I also see SPARK-16564 locally with {{useLegacyMode}} set to 
true.  So either SPARK-16564 is a separate issue (in which case do not mark it 
as a duplicate of this issue) or the workaround stated above is not valid in 
all cases (in which case please say so here).


> Deadlock between MemoryStore and BlockManager
> ---------------------------------------------
>
>                 Key: SPARK-13566
>                 URL: https://issues.apache.org/jira/browse/SPARK-13566
>             Project: Spark
>          Issue Type: Bug
>          Components: Block Manager, Spark Core
>    Affects Versions: 1.6.0
>         Environment: Spark 1.6.0 hadoop2.2.0 jdk1.8.0_65 centOs 6.2
>            Reporter: cen yuhai
>            Assignee: cen yuhai
>             Fix For: 1.6.2
>
>
> ===================================================
> "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)



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org

Reply via email to