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

2016-10-14 Thread Apache Spark (JIRA)

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

Apache Spark commented on SPARK-16002:
--

User 'lw-lin' has created a pull request for this issue:
https://github.com/apache/spark/pull/15497

> 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: Sub-task
>  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-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org



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

2016-06-16 Thread Apache Spark (JIRA)

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

Apache Spark commented on SPARK-16002:
--

User 'zsxwing' has created a pull request for this issue:
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
>
> 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-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org