You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Yin Huai (JIRA)" <ji...@apache.org> on 2016/06/21 19:43:57 UTC

[jira] [Resolved] (SPARK-16002) Sleep when no new data arrives to avoid 100% CPU usage

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

Yin Huai resolved SPARK-16002.
------------------------------
       Resolution: Fixed
    Fix Version/s: 2.0.0

Issue resolved by pull request 13718
[https://github.com/apache/spark/pull/13718]

> Sleep when no new data arrives to avoid 100% CPU usage
> ------------------------------------------------------
>
>                 Key: SPARK-16002
>                 URL: https://issues.apache.org/jira/browse/SPARK-16002
>             Project: Spark
>          Issue Type: Improvement
>          Components: SQL
>            Reporter: Shixiong Zhu
>            Assignee: Shixiong Zhu
>             Fix For: 2.0.0
>
>
> Right now if the trigger is ProcessTrigger(0), StreamExecution will keep polling new data even if there is no data. Then the CPU usage will be 100%. We should add a minimum polling delay when no new data arrives.



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