spark-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jakub Dubovsky (JIRA)" <>
Subject [jira] [Created] (SPARK-23283) Probable mistake in hasLaunchedTask condition
Date Wed, 31 Jan 2018 13:47:00 GMT
Jakub Dubovsky created SPARK-23283:

             Summary: Probable mistake in hasLaunchedTask condition
                 Key: SPARK-23283
             Project: Spark
          Issue Type: Bug
          Components: Spark Core
    Affects Versions: 2.2.1
            Reporter: Jakub Dubovsky

In class {code}TaskSchedulerImpl{code} there is a [variable|]
tracking whether some task was already launched. It is then set to true [here|]
whenever some task is launched.

I believe the [condition|]
should be {code} > 0{code} instead of current {code}tasks.size >

Current condition asks whether there are some resource offers while it should ask whether
there were some launched tasks. In some cases it might happen that resources are offered but
no tasks launched. In such a case no warning is issued.

Can you confirm this is valid?

This message was sent by Atlassian JIRA

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message