You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Shixiong Zhu (JIRA)" <ji...@apache.org> on 2017/01/18 18:56:26 UTC

[jira] [Resolved] (SPARK-19182) Optimize the lock in StreamingJobProgressListener to not block UI when generating Streaming jobs

     [ https://issues.apache.org/jira/browse/SPARK-19182?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Shixiong Zhu resolved SPARK-19182.
----------------------------------
       Resolution: Fixed
         Assignee: Genmao Yu
    Fix Version/s: 2.2.0

> Optimize the lock in StreamingJobProgressListener to not block UI when generating Streaming jobs
> ------------------------------------------------------------------------------------------------
>
>                 Key: SPARK-19182
>                 URL: https://issues.apache.org/jira/browse/SPARK-19182
>             Project: Spark
>          Issue Type: Improvement
>          Components: DStreams
>            Reporter: Shixiong Zhu
>            Assignee: Genmao Yu
>            Priority: Minor
>             Fix For: 2.2.0
>
>
> When DStreamGraph is generating a job, it will hold a lock and block other APIs. Because StreamingJobProgressListener (numInactiveReceivers, streamName(streamId: Int), streamIds) needs to call DStreamGraph's methods to access some information, the UI may hang if generating a job is very slow (e.g., talking to the slow Kafka cluster to fetch metadata).
> It's better to optimize the locks in DStreamGraph and StreamingJobProgressListener to make the UI not block by job generation.



--
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