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

    https://github.com/apache/spark/pull/20761#discussion_r223918822
  
    --- Diff: 
resource-managers/yarn/src/main/scala/org/apache/spark/deploy/yarn/YarnAllocator.scala
 ---
    @@ -288,9 +296,14 @@ private[yarn] class YarnAllocator(
           s"executorsStarting: ${numExecutorsStarting.get}")
     
         if (missing > 0) {
    -      logInfo(s"Will request $missing executor container(s), each with " +
    -        s"${resource.getVirtualCores} core(s) and " +
    -        s"${resource.getMemory} MB memory (including $memoryOverhead MB of 
overhead)")
    +      var requestContainerMessage = s"Will request $missing executor 
container(s), each with " +
    --- End diff --
    
    `lofInfo()` already calls `if (log.isInfoEnabled())`: 
    
    `protected def logInfo(msg: => String) {
        if (log.isInfoEnabled) log.info(msg)
      }`


---

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

Reply via email to