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

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


The following commit(s) were added to refs/heads/master by this push:
     new 11023043fbb [Fix](JDK17) Fixed that BE could not be started using 
JDK17 (#30286)
11023043fbb is described below

commit 11023043fbb75993e5f8e5f0a6d9d3bb74d38127
Author: Tiewei Fang <43782773+bepppo...@users.noreply.github.com>
AuthorDate: Thu Feb 1 23:02:42 2024 +0800

    [Fix](JDK17) Fixed that BE could not be started using JDK17 (#30286)
    
    Issue Number: #30484
    
    This is because hadoop-client-api relies on hadoop-common.
    In the case of JDK17, it will still include hadoop-common.
---
 fe/be-java-extensions/preload-extensions/pom.xml | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/fe/be-java-extensions/preload-extensions/pom.xml 
b/fe/be-java-extensions/preload-extensions/pom.xml
index a63c0a9b238..8c6f57f746c 100644
--- a/fe/be-java-extensions/preload-extensions/pom.xml
+++ b/fe/be-java-extensions/preload-extensions/pom.xml
@@ -140,6 +140,12 @@ under the License.
             <artifactId>spark-sql_${scala.binary.version}</artifactId>
             <version>${spark.version}</version>
             <scope>compile</scope>
+            <exclusions>
+                <exclusion>
+                    <artifactId>hadoop-client-api</artifactId>
+                    <groupId>org.apache.hadoop</groupId>
+                </exclusion>
+            </exclusions>
         </dependency>
         <dependency>
             <groupId>org.apache.spark</groupId>


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

Reply via email to