GitHub user Ngone51 opened a pull request:

    https://github.com/apache/spark/pull/20996

    [SPARK-23884][CORE] hasLaunchedTask should be true when launchedAnyTask be 
true

    ## What changes were proposed in this pull request?
    
    `hasLaunchedTask` should be `true` when `launchedAnyTask` be `true`, rather 
than `task's size > 0`.
    `task'size` would be greater than 0 as long as there‘s any 
`WorkOffers`,but this dose not ensure there's any tasks launched.
    
    ## How was this patch tested?
    
    exists 

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/Ngone51/spark SPARK-23884

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/spark/pull/20996.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #20996
    
----
commit 983926a267eb1903fd6649c31850fba9ca85d721
Author: wuyi <ngone_5451@...>
Date:   2018-04-06T10:34:27Z

    hasLaunchedTask should be true when launchedAnyTask be true

----


---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org

Reply via email to