You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@spark.apache.org by redsanket <gi...@git.apache.org> on 2018/05/31 22:20:38 UTC

[GitHub] spark pull request #21475: [SPARK-24416] Fix configuration specification for...

GitHub user redsanket opened a pull request:

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

    [SPARK-24416] Fix configuration specification for killBlacklisted executors

    ## What changes were proposed in this pull request?
    
    spark.blacklist.killBlacklistedExecutors is defined as 
    
    (Experimental) If set to "true", allow Spark to automatically kill, and attempt to re-create, executors when they are blacklisted. Note that, when an entire node is added to the blacklist, all of the executors on that node will be killed.
    
    I presume the killing of blacklisted executors only happens after the stage completes successfully and all tasks have completed or on fetch failures (updateBlacklistForFetchFailure/updateBlacklistForSuccessfulTaskSet). It is confusing because the definition states that the executor will be attempted to be recreated as soon as it is blacklisted. This is not true while the stage is in progress and an executor is blacklisted, it will not attempt to cleanup until the stage finishes.

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

    $ git pull https://github.com/redsanket/spark SPARK-24416

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

    https://github.com/apache/spark/pull/21475.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 #21475
    
----
commit f08f74a3a774f9e2768f7924c4438516a4106b7c
Author: Sanket Chintapalli <sc...@...>
Date:   2018-05-31T22:16:39Z

    Fix configuration specification for killBlacklisted executors

----


---

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


[GitHub] spark issue #21475: [SPARK-24416] Fix configuration specification for killBl...

Posted by AmplabJenkins <gi...@git.apache.org>.
Github user AmplabJenkins commented on the issue:

    https://github.com/apache/spark/pull/21475
  
    Test PASSed.
    Refer to this link for build results (access rights to CI server needed): 
    https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/91381/
    Test PASSed.


---

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


[GitHub] spark pull request #21475: [SPARK-24416] Fix configuration specification for...

Posted by asfgit <gi...@git.apache.org>.
Github user asfgit closed the pull request at:

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


---

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


[GitHub] spark pull request #21475: [SPARK-24416] Fix configuration specification for...

Posted by tgravescs <gi...@git.apache.org>.
Github user tgravescs commented on a diff in the pull request:

    https://github.com/apache/spark/pull/21475#discussion_r194759455
  
    --- Diff: docs/configuration.md ---
    @@ -1629,8 +1629,10 @@ Apart from these, the following properties are also available, and may be useful
       <td><code>spark.blacklist.killBlacklistedExecutors</code></td>
       <td>false</td>
       <td>
    -    (Experimental) If set to "true", allow Spark to automatically kill, and attempt to re-create,
    -    executors when they are blacklisted.  Note that, when an entire node is added to the blacklist,
    +    (Experimental) If set to "true", allow Spark to automatically kill the
    +    executors when they are blacklisted on fetch failure or blacklisted for the entire application, 
    +    as controlled by spark.blacklist.application.*.  
    +    Note that, when an entire node is added to the blacklist,
    --- End diff --
    
    very minor nit, can you put this on previous line and wrap text accordingly


---

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


[GitHub] spark issue #21475: [SPARK-24416] Fix configuration specification for killBl...

Posted by AmplabJenkins <gi...@git.apache.org>.
Github user AmplabJenkins commented on the issue:

    https://github.com/apache/spark/pull/21475
  
    Can one of the admins verify this patch?


---

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


[GitHub] spark issue #21475: [SPARK-24416] Fix configuration specification for killBl...

Posted by AmplabJenkins <gi...@git.apache.org>.
Github user AmplabJenkins commented on the issue:

    https://github.com/apache/spark/pull/21475
  
    Merged build finished. Test PASSed.


---

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


[GitHub] spark issue #21475: [SPARK-24416] Fix configuration specification for killBl...

Posted by tgravescs <gi...@git.apache.org>.
Github user tgravescs commented on the issue:

    https://github.com/apache/spark/pull/21475
  
    yes I believe so. I think the main thing is to just clarify it so that users don't expect it to be killed if its just blacklisted for the stage. It has to be propagated up to the application level blacklisting.
    @squito  thoughts on wording?


---

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


[GitHub] spark issue #21475: [SPARK-24416] Fix configuration specification for killBl...

Posted by SparkQA <gi...@git.apache.org>.
Github user SparkQA commented on the issue:

    https://github.com/apache/spark/pull/21475
  
    **[Test build #91667 has finished](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/91667/testReport)** for PR 21475 at commit [`a103673`](https://github.com/apache/spark/commit/a103673073e3114b9a28cf183a8d7ec9271769e3).
     * This patch passes all tests.
     * This patch merges cleanly.
     * This patch adds no public classes.


---

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


[GitHub] spark issue #21475: [SPARK-24416] Fix configuration specification for killBl...

Posted by tgravescs <gi...@git.apache.org>.
Github user tgravescs commented on the issue:

    https://github.com/apache/spark/pull/21475
  
    that wording for the application level sounds good, so we are talking a about changing it to be something like:
    
     If set to "true", allow Spark to automatically kill the
      executors when they are blacklisted on fetch failure or blacklisted for the entire application, as controlled by spark.blacklist.application.*


---

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


[GitHub] spark issue #21475: [SPARK-24416] Fix configuration specification for killBl...

Posted by AmplabJenkins <gi...@git.apache.org>.
Github user AmplabJenkins commented on the issue:

    https://github.com/apache/spark/pull/21475
  
    Merged build finished. Test PASSed.


---

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


[GitHub] spark issue #21475: [SPARK-24416] Fix configuration specification for killBl...

Posted by SparkQA <gi...@git.apache.org>.
Github user SparkQA commented on the issue:

    https://github.com/apache/spark/pull/21475
  
    **[Test build #91667 has started](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/91667/testReport)** for PR 21475 at commit [`a103673`](https://github.com/apache/spark/commit/a103673073e3114b9a28cf183a8d7ec9271769e3).


---

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


[GitHub] spark issue #21475: [SPARK-24416] Fix configuration specification for killBl...

Posted by jerryshao <gi...@git.apache.org>.
Github user jerryshao commented on the issue:

    https://github.com/apache/spark/pull/21475
  
    I think original description is OK, just not too detailed.


---

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


[GitHub] spark pull request #21475: [SPARK-24416] Fix configuration specification for...

Posted by redsanket <gi...@git.apache.org>.
Github user redsanket commented on a diff in the pull request:

    https://github.com/apache/spark/pull/21475#discussion_r194760044
  
    --- Diff: docs/configuration.md ---
    @@ -1629,8 +1629,10 @@ Apart from these, the following properties are also available, and may be useful
       <td><code>spark.blacklist.killBlacklistedExecutors</code></td>
       <td>false</td>
       <td>
    -    (Experimental) If set to "true", allow Spark to automatically kill, and attempt to re-create,
    -    executors when they are blacklisted.  Note that, when an entire node is added to the blacklist,
    +    (Experimental) If set to "true", allow Spark to automatically kill the
    +    executors when they are blacklisted on fetch failure or blacklisted for the entire application, 
    +    as controlled by spark.blacklist.application.*.  
    +    Note that, when an entire node is added to the blacklist,
    --- End diff --
    
    ok, i checked the README.md and it did not spoil the indentation. No issues :)


---

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


[GitHub] spark issue #21475: [SPARK-24416] Fix configuration specification for killBl...

Posted by AmplabJenkins <gi...@git.apache.org>.
Github user AmplabJenkins commented on the issue:

    https://github.com/apache/spark/pull/21475
  
    Test PASSed.
    Refer to this link for build results (access rights to CI server needed): 
    https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/91712/
    Test PASSed.


---

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


[GitHub] spark issue #21475: [SPARK-24416] Fix configuration specification for killBl...

Posted by AmplabJenkins <gi...@git.apache.org>.
Github user AmplabJenkins commented on the issue:

    https://github.com/apache/spark/pull/21475
  
    Can one of the admins verify this patch?


---

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


[GitHub] spark issue #21475: [SPARK-24416] Fix configuration specification for killBl...

Posted by squito <gi...@git.apache.org>.
Github user squito commented on the issue:

    https://github.com/apache/spark/pull/21475
  
    lgtm


---

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


[GitHub] spark issue #21475: [SPARK-24416] Fix configuration specification for killBl...

Posted by AmplabJenkins <gi...@git.apache.org>.
Github user AmplabJenkins commented on the issue:

    https://github.com/apache/spark/pull/21475
  
    Merged build finished. Test PASSed.


---

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


[GitHub] spark issue #21475: [SPARK-24416] Fix configuration specification for killBl...

Posted by AmplabJenkins <gi...@git.apache.org>.
Github user AmplabJenkins commented on the issue:

    https://github.com/apache/spark/pull/21475
  
    Test PASSed.
    Refer to this link for build results (access rights to CI server needed): 
    https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/91667/
    Test PASSed.


---

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


[GitHub] spark issue #21475: [SPARK-24416] Fix configuration specification for killBl...

Posted by redsanket <gi...@git.apache.org>.
Github user redsanket commented on the issue:

    https://github.com/apache/spark/pull/21475
  
    @tgravescs plz review thanks


---

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


[GitHub] spark issue #21475: [SPARK-24416] Fix configuration specification for killBl...

Posted by redsanket <gi...@git.apache.org>.
Github user redsanket commented on the issue:

    https://github.com/apache/spark/pull/21475
  
    That description might work too @squito If that is ok with @tgravescs I can rephrase it... Just wanted it to be explicit


---

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


[GitHub] spark issue #21475: [SPARK-24416] Fix configuration specification for killBl...

Posted by SparkQA <gi...@git.apache.org>.
Github user SparkQA commented on the issue:

    https://github.com/apache/spark/pull/21475
  
    **[Test build #91712 has finished](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/91712/testReport)** for PR 21475 at commit [`1a654b4`](https://github.com/apache/spark/commit/1a654b4cfce4d0d8faa3ba6f14a3ba11dcc8ccd1).
     * This patch passes all tests.
     * This patch merges cleanly.
     * This patch adds no public classes.


---

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


[GitHub] spark issue #21475: [SPARK-24416] Fix configuration specification for killBl...

Posted by SparkQA <gi...@git.apache.org>.
Github user SparkQA commented on the issue:

    https://github.com/apache/spark/pull/21475
  
    **[Test build #91712 has started](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/91712/testReport)** for PR 21475 at commit [`1a654b4`](https://github.com/apache/spark/commit/1a654b4cfce4d0d8faa3ba6f14a3ba11dcc8ccd1).


---

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


[GitHub] spark issue #21475: [SPARK-24416] Fix configuration specification for killBl...

Posted by squito <gi...@git.apache.org>.
Github user squito commented on the issue:

    https://github.com/apache/spark/pull/21475
  
    what about "...  when they are blacklisted for the entire application, as controlled by spark.blacklist.application.*, ..."?


---

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


[GitHub] spark issue #21475: [SPARK-24416] Fix configuration specification for killBl...

Posted by jerryshao <gi...@git.apache.org>.
Github user jerryshao commented on the issue:

    https://github.com/apache/spark/pull/21475
  
    ok to test.


---

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


[GitHub] spark issue #21475: [SPARK-24416] Fix configuration specification for killBl...

Posted by tgravescs <gi...@git.apache.org>.
Github user tgravescs commented on the issue:

    https://github.com/apache/spark/pull/21475
  
    +1


---

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


[GitHub] spark issue #21475: [SPARK-24416] Fix configuration specification for killBl...

Posted by SparkQA <gi...@git.apache.org>.
Github user SparkQA commented on the issue:

    https://github.com/apache/spark/pull/21475
  
    **[Test build #91381 has started](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/91381/testReport)** for PR 21475 at commit [`f08f74a`](https://github.com/apache/spark/commit/f08f74a3a774f9e2768f7924c4438516a4106b7c).


---

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


[GitHub] spark issue #21475: [SPARK-24416] Fix configuration specification for killBl...

Posted by SparkQA <gi...@git.apache.org>.
Github user SparkQA commented on the issue:

    https://github.com/apache/spark/pull/21475
  
    **[Test build #91381 has finished](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/91381/testReport)** for PR 21475 at commit [`f08f74a`](https://github.com/apache/spark/commit/f08f74a3a774f9e2768f7924c4438516a4106b7c).
     * This patch passes all tests.
     * This patch merges cleanly.
     * This patch adds no public classes.


---

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


[GitHub] spark issue #21475: [SPARK-24416] Fix configuration specification for killBl...

Posted by squito <gi...@git.apache.org>.
Github user squito commented on the issue:

    https://github.com/apache/spark/pull/21475
  
    merged to master.  Thanks @redsanket !


---

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


[GitHub] spark issue #21475: [SPARK-24416] Fix configuration specification for killBl...

Posted by AmplabJenkins <gi...@git.apache.org>.
Github user AmplabJenkins commented on the issue:

    https://github.com/apache/spark/pull/21475
  
    Can one of the admins verify this patch?


---

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


[GitHub] spark issue #21475: [SPARK-24416] Fix configuration specification for killBl...

Posted by redsanket <gi...@git.apache.org>.
Github user redsanket commented on the issue:

    https://github.com/apache/spark/pull/21475
  
    @tgravescs @squito fixed the description hope you can take a look thanks


---

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