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

dongjoon 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 3a1609af41e4 [SPARK-45393][BUILD][FOLLOWUP] Update 
IsolatedClientLoader fallback Hadoop version to 3.4.0
3a1609af41e4 is described below

commit 3a1609af41e46ffaefddd4faabb24c284c108254
Author: Cheng Pan <cheng...@apache.org>
AuthorDate: Wed Mar 20 23:58:00 2024 -0700

    [SPARK-45393][BUILD][FOLLOWUP] Update IsolatedClientLoader fallback Hadoop 
version to 3.4.0
    
    ### What changes were proposed in this pull request?
    
    Update IsolatedClientLoader fallback Hadoop version to 3.4.0
    
    ### Why are the changes needed?
    
    Sync with the default Hadoop version
    
    ### Does this PR introduce _any_ user-facing change?
    
    No
    
    ### How was this patch tested?
    
    Pass GA.
    
    ### Was this patch authored or co-authored using generative AI tooling?
    
    No
    
    Closes #45628 from pan3793/SPARK-45393-followup.
    
    Authored-by: Cheng Pan <cheng...@apache.org>
    Signed-off-by: Dongjoon Hyun <dh...@apple.com>
---
 .../scala/org/apache/spark/sql/hive/client/IsolatedClientLoader.scala   | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/sql/hive/src/main/scala/org/apache/spark/sql/hive/client/IsolatedClientLoader.scala
 
b/sql/hive/src/main/scala/org/apache/spark/sql/hive/client/IsolatedClientLoader.scala
index 5693041d21f9..99fa0d46b903 100644
--- 
a/sql/hive/src/main/scala/org/apache/spark/sql/hive/client/IsolatedClientLoader.scala
+++ 
b/sql/hive/src/main/scala/org/apache/spark/sql/hive/client/IsolatedClientLoader.scala
@@ -66,7 +66,7 @@ private[hive] object IsolatedClientLoader extends Logging {
           case e: RuntimeException if e.getMessage.contains("hadoop") =>
             // If the error message contains hadoop, it is probably because 
the hadoop
             // version cannot be resolved.
-            val fallbackVersion = "3.3.6"
+            val fallbackVersion = "3.4.0"
             logWarning(s"Failed to resolve Hadoop artifacts for the version 
$hadoopVersion. We " +
               s"will change the hadoop version from $hadoopVersion to 
$fallbackVersion and try " +
               "again. It is recommended to set jars used by Hive metastore 
client through " +


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

Reply via email to