You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@spark.apache.org by gu...@apache.org on 2020/08/25 13:48:16 UTC

[spark] branch master updated: [SPARK-32664][CORE] Switch the log level from info to debug at BlockManager.getLocalBlockData

This is an automated email from the ASF dual-hosted git repository.

gurwls223 pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/spark.git


The following commit(s) were added to refs/heads/master by this push:
     new a3179a7  [SPARK-32664][CORE] Switch the log level from info to debug at BlockManager.getLocalBlockData
a3179a7 is described below

commit a3179a78b6619f27726bd7fb2d81d2fce5f00fd1
Author: Daniel Moore <mo...@knights.ucf.edu>
AuthorDate: Tue Aug 25 22:45:44 2020 +0900

    [SPARK-32664][CORE] Switch the log level from info to debug at BlockManager.getLocalBlockData
    
    ### What changes were proposed in this pull request?
    Changing an info log to a debug log based on SPARK-32664
    
    ### Why are the changes needed?
    It is outlined in SPARK-32664
    
    ### Does this PR introduce _any_ user-facing change?
    There are changes to the debug and info logs
    
    ### How was this patch tested?
    Tested by looking at the logs
    
    Closes #29527 from dmoore62/SPARK-32664.
    
    Authored-by: Daniel Moore <mo...@knights.ucf.edu>
    Signed-off-by: HyukjinKwon <gu...@apache.org>
---
 core/src/main/scala/org/apache/spark/storage/BlockManager.scala | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/core/src/main/scala/org/apache/spark/storage/BlockManager.scala b/core/src/main/scala/org/apache/spark/storage/BlockManager.scala
index ee534f5..5072340 100644
--- a/core/src/main/scala/org/apache/spark/storage/BlockManager.scala
+++ b/core/src/main/scala/org/apache/spark/storage/BlockManager.scala
@@ -628,7 +628,7 @@ private[spark] class BlockManager(
    */
   override def getLocalBlockData(blockId: BlockId): ManagedBuffer = {
     if (blockId.isShuffle) {
-      logInfo(s"Getting local shuffle block ${blockId}")
+      logDebug(s"Getting local shuffle block ${blockId}")
       shuffleManager.shuffleBlockResolver.getBlockData(blockId)
     } else {
       getLocalBytes(blockId) match {


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@spark.apache.org
For additional commands, e-mail: commits-help@spark.apache.org