spark-reviews mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From andrewor14 <...@git.apache.org>
Subject [GitHub] spark pull request: SPARK-1154: Clean up app folders in worker nod...
Date Wed, 02 Apr 2014 19:11:47 GMT
Github user andrewor14 commented on a diff in the pull request:

    https://github.com/apache/spark/pull/288#discussion_r11222159
  
    --- Diff: core/src/main/scala/org/apache/spark/deploy/worker/Worker.scala ---
    @@ -64,6 +64,11 @@ private[spark] class Worker(
       val REGISTRATION_TIMEOUT = 20.seconds
       val REGISTRATION_RETRIES = 3
     
    +  // How often worker will clean up old app folders
    +  val CLEANUP_INTERVAL_MILLIS = conf.getLong("spark.worker.cleanup_interval", 60 * 30)
* 1000
    +  // TTL for app folders/data;  after TTL expires it will be cleaned up
    +  val APP_DATA_RETENTION_SECS = conf.getLong("spark.worker.app_data_ttl", 7 * 24 * 3600)
    +
    --- End diff --
    
    For Spark configuration we use camel case: see http://spark.apache.org/docs/0.9.0/configuration.html


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

Mime
View raw message