spark-reviews mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From vanzin <>
Subject [GitHub] spark pull request: [SPARK-10515] When killing executor, there is ...
Date Wed, 16 Sep 2015 02:07:41 GMT
Github user vanzin commented on the pull request:
    Ok, I think I see what the problem is. But your fix is not correct.
    The problem is here:
            numExistingExecutors + numPendingExecutors - executorsPendingToRemove.size)
    By subtracting `executorsPendingToRemove.size` when that list contains an executor that
is pending replacement, that replacement will be lost. The fix is to keep track of how many
replacement executors the code is waiting for, and account for that in the above equation,
not to remove that code altogether.
    > So there is no need to change the number of executors when killing executors.
    That's not true, in YARN, at least. See SPARK-6325. So you can't make your current change
unless you also change how the YARN backend does accounting for the running executors.

If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at or file a JIRA ticket
with INFRA.

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

View raw message