You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Joseph K. Bradley (JIRA)" <ji...@apache.org> on 2015/08/16 03:48:45 UTC

[jira] [Resolved] (SPARK-9805) Make streaming PySpark ML tests more robust using termination conditions

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

Joseph K. Bradley resolved SPARK-9805.
--------------------------------------
       Resolution: Fixed
    Fix Version/s: 1.5.0

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

> Make streaming PySpark ML tests more robust using termination conditions
> ------------------------------------------------------------------------
>
>                 Key: SPARK-9805
>                 URL: https://issues.apache.org/jira/browse/SPARK-9805
>             Project: Spark
>          Issue Type: Test
>          Components: MLlib, PySpark, Streaming
>    Affects Versions: 1.5.0
>            Reporter: Joseph K. Bradley
>            Assignee: Joseph K. Bradley
>             Fix For: 1.5.0
>
>
> Recently, PySpark ML streaming tests have been flaky, most likely because of the batches not being processed in time.  Proposal: Replace the use of _ssc_wait (which waits for a fixed amount of time) with a method which waits for a fixed amount of time but can terminate early based on a termination condition method.  With this, we can extend the waiting period (to make tests less flaky) but also stop early when possible (making tests faster on average).



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