You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Josh Rosen (JIRA)" <ji...@apache.org> on 2015/06/27 23:28:04 UTC

[jira] [Commented] (SPARK-8577) ScalaReflectionLock.synchronized can cause deadlock

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

Josh Rosen commented on SPARK-8577:
-----------------------------------

Do you have a way to reliably reproduce this in non-test code?

Alternatively, do you have a thread dump which demonstrates the circular wait condition involved in the deadlock?

> ScalaReflectionLock.synchronized can cause deadlock
> ---------------------------------------------------
>
>                 Key: SPARK-8577
>                 URL: https://issues.apache.org/jira/browse/SPARK-8577
>             Project: Spark
>          Issue Type: Bug
>          Components: SQL
>    Affects Versions: 1.4.0
>            Reporter: koert kuipers
>            Priority: Minor
>
> Just a heads up, i was doing some basic coding using DataFrame, Row, StructType, etc. in my own project and i ended up with deadlocks in my sbt tests due to the usage of ScalaReflectionLock.synchronized in the spark sql code.
> the issue went away when i changed my build to have:
>   parallelExecution in Test := false
> so that the tests run consecutively...



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

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