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

    https://github.com/apache/spark/pull/4838#discussion_r25647202
  
    --- Diff: core/src/main/scala/org/apache/spark/storage/MemoryStore.scala ---
    @@ -184,7 +184,7 @@ private[spark] class MemoryStore(blockManager: 
BlockManager, maxMemory: Long)
           val entry = entries.remove(blockId)
           if (entry != null) {
             currentMemory -= entry.size
    -        logInfo(s"Block $blockId of size ${entry.size} dropped from memory 
(free $freeMemory)")
    +        logDebug(s"Block $blockId of size ${entry.size} dropped from 
memory (free $freeMemory)")
    --- End diff --
    
    I believe we do have INFO level logging for this up the call chain when 
drops are blocked due to cache contention:
    
    
https://github.com/apache/spark/blob/master/core/src/main/scala/org/apache/spark/storage/BlockManager.scala#L1004
    
    Might be nice to augment that logging to have information on the size and 
limit (like this does).


---
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