Github user rxin commented on a diff in the pull request:

    https://github.com/apache/spark/pull/5392#discussion_r29312354
  
    --- Diff: core/src/main/scala/org/apache/spark/deploy/worker/Worker.scala 
---
    @@ -78,32 +82,26 @@ private[worker] class Worker(
         val randomNumberGenerator = new 
Random(UUID.randomUUID.getMostSignificantBits)
         randomNumberGenerator.nextDouble + FUZZ_MULTIPLIER_INTERVAL_LOWER_BOUND
       }
    -  private val INITIAL_REGISTRATION_RETRY_INTERVAL = (math.round(10 *
    -    REGISTRATION_RETRY_FUZZ_MULTIPLIER)).seconds
    -  private val PROLONGED_REGISTRATION_RETRY_INTERVAL = (math.round(60
    -    * REGISTRATION_RETRY_FUZZ_MULTIPLIER)).seconds
    +  private val INITIAL_REGISTRATION_RETRY_INTERVAL_SECONDS = (math.round(10 
*
    +    REGISTRATION_RETRY_FUZZ_MULTIPLIER))
    +  private val PROLONGED_REGISTRATION_RETRY_INTERVAL_SECONDS = 
(math.round(60
    +    * REGISTRATION_RETRY_FUZZ_MULTIPLIER))
     
       private val CLEANUP_ENABLED = 
conf.getBoolean("spark.worker.cleanup.enabled", false)
       // How often worker will clean up old app folders
       private 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
    -  private val APP_DATA_RETENTION_SECS = 
    +  private val APP_DATA_RETENTION_SECS =
    --- End diff --
    
    should use consistent naming. change this to SECONDS


---
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 [email protected] or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to