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 94ab490  [SPARK-26650][CORE] Demote noisy HBase-related log message.
94ab490 is described below

commit 94ab4901dadbf5de95a88ec5b1b77efee2e764b7
Author: Marcelo Vanzin <van...@cloudera.com>
AuthorDate: Thu Feb 14 11:40:10 2019 +0800

    [SPARK-26650][CORE] Demote noisy HBase-related log message.
    
    Make it a debug message so that it doesn't show up in the vast
    majority of cases, where HBase classes are not available.
    
    Closes #23776 from vanzin/SPARK-26650.
    
    Authored-by: Marcelo Vanzin <van...@cloudera.com>
    Signed-off-by: Hyukjin Kwon <gurwls...@apache.org>
---
 .../apache/spark/deploy/security/HBaseDelegationTokenProvider.scala   | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git 
a/core/src/main/scala/org/apache/spark/deploy/security/HBaseDelegationTokenProvider.scala
 
b/core/src/main/scala/org/apache/spark/deploy/security/HBaseDelegationTokenProvider.scala
index d53eb4e..e56d034 100644
--- 
a/core/src/main/scala/org/apache/spark/deploy/security/HBaseDelegationTokenProvider.scala
+++ 
b/core/src/main/scala/org/apache/spark/deploy/security/HBaseDelegationTokenProvider.scala
@@ -120,7 +120,9 @@ private[security] class HBaseDelegationTokenProvider
       confCreate.invoke(null, conf).asInstanceOf[Configuration]
     } catch {
       case NonFatal(e) =>
-        logWarning("Fail to invoke HBaseConfiguration", e)
+        // Keep at debug level since this is executed even when HBase tokens 
are not needed.
+        // Avoids a noisy warning for users who don't care about HBase.
+        logDebug("Unable to load HBaseConfiguration.", e)
         conf
     }
   }


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

Reply via email to