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

Nandor Kollar commented on PIG-5157:
------------------------------------

[~kellyzly] I'll have look at it. It seems that there's an other issue noticed 
while trying to execute a simple script (not from unit test), Pig hangs. The 
problem is with synchronized methods in JobMetricsListener and SparkListener: 
since these are now two different objects, synchronized will lock on different 
object, and wait/notify is also called on different instances. I'll update the 
patch so that every method in JobMetricsListener synchronizes on the its 
sparkListener private field, and calls wait() on this instance.

> Upgrade to Spark 2.0
> --------------------
>
>                 Key: PIG-5157
>                 URL: https://issues.apache.org/jira/browse/PIG-5157
>             Project: Pig
>          Issue Type: Improvement
>          Components: spark
>            Reporter: Nandor Kollar
>            Assignee: Nandor Kollar
>             Fix For: 0.18.0
>
>         Attachments: PIG-5157.patch
>
>
> Upgrade to Spark 2.0 (or latest)



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to