GitHub user ihazem opened a pull request:

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

    [SPARK-21099][Spark Core] INFO Log Message Using Incorrect Executor I…

    …dle Timeout Value
    
    ## What changes were proposed in this pull request?
    
    Updated the INFO logging method (logInfo) to use $timeout instead, which 
uses cachedExecutorIdleTimeoutS if the executor has cached blocks
    
    ## How was this patch tested?
    
    Testing was done by doing the following:
    1. Update spark-defaults.conf to set the following:
    executorIdleTimeout=30
    cachedExecutorIdleTimeout=20
    2. Update log4j.properties to set the following:
    shell.log.level=INFO
    3. Run the following in spark-shell:
    scala> val textFile = sc.textFile("/user/spark/applicationHistory/app_1234")
    scala> textFile.cache().count()
    4. After 20 secs I see the timeout message for idle cache, and after 30 
secs I see the timeout message for executor (executorIdleTimeoutS).
    
    Please review http://spark.apache.org/contributing.html before opening a 
pull request.


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

    $ git pull https://github.com/ihazem/spark master

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

    https://github.com/apache/spark/pull/18308.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 #18308
    
----
commit 00a42e7c3d08ba01265db8c7329f0ba2148ce41a
Author: root <r...@haz-1.gce.cloudera.com>
Date:   2017-06-14T22:56:24Z

    [SPARK-21099][Spark Core] INFO Log Message Using Incorrect Executor Idle 
Timeout Value

----


---
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 infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

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

Reply via email to