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

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


The following commit(s) were added to refs/heads/branch-2.0 by this push:
     new 8534fc418da [opt](deps) reduce the size of FE dependencies (#31130)
8534fc418da is described below

commit 8534fc418dae4446f6f3038cdeb5507d52c6646c
Author: Mingyu Chen <morning...@163.com>
AuthorDate: Tue Feb 20 11:43:22 2024 +0800

    [opt](deps) reduce the size of FE dependencies (#31130)
    
    bp #31129
---
 fe/fe-core/pom.xml |  4 ++++
 fe/pom.xml         | 22 ++++++++++++++--------
 2 files changed, 18 insertions(+), 8 deletions(-)

diff --git a/fe/fe-core/pom.xml b/fe/fe-core/pom.xml
index c425ea5394f..2998909f5a4 100644
--- a/fe/fe-core/pom.xml
+++ b/fe/fe-core/pom.xml
@@ -398,6 +398,10 @@ under the License.
             <groupId>com.amazonaws</groupId>
             <artifactId>aws-java-sdk-dynamodb</artifactId>
         </dependency>
+        <dependency>
+            <groupId>com.amazonaws</groupId>
+            <artifactId>aws-java-sdk-logs</artifactId>
+        </dependency>
         <dependency>
             <groupId>com.huaweicloud</groupId>
             <artifactId>hadoop-huaweicloud</artifactId>
diff --git a/fe/pom.xml b/fe/pom.xml
index ad126d7111e..fa994bcadcb 100644
--- a/fe/pom.xml
+++ b/fe/pom.xml
@@ -402,11 +402,6 @@ under the License.
                 <artifactId>nimbus-jose-jwt</artifactId>
                 <version>${nimbusds.version}</version>
             </dependency>
-            <dependency>
-                <groupId>com.amazonaws</groupId>
-                <artifactId>aws-java-sdk-bundle</artifactId>
-                <version>${aws-java-sdk.version}</version>
-            </dependency>
             <!-- opentelemetry-->
             <dependency>
                 <groupId>io.opentelemetry</groupId>
@@ -891,12 +886,17 @@ under the License.
                         <artifactId>logback-classic</artifactId>
                     </exclusion>
                     <exclusion>
-                        
<artifactId>elasticsearch-rest-high-level-client</artifactId>
+                        <groupId>org.apache.hive</groupId>
+                        <artifactId>hive-storage-api</artifactId>
+                    </exclusion>
+                    <exclusion>
                         <groupId>org.elasticsearch.client</groupId>
+                        
<artifactId>elasticsearch-rest-high-level-client</artifactId>
                     </exclusion>
+                    <!--ranger audit only depends on aws logs, which is 
provided alone-->
                     <exclusion>
-                        <groupId>org.apache.hive</groupId>
-                        <artifactId>hive-storage-api</artifactId>
+                        <groupId>com.amazonaws</groupId>
+                        <artifactId>*</artifactId>
                     </exclusion>
                 </exclusions>
             </dependency>
@@ -1399,6 +1399,12 @@ under the License.
                 <artifactId>aws-java-sdk-dynamodb</artifactId>
                 <version>${aws-java-sdk.version}</version>
             </dependency>
+            <!--only for apache ranger audit-->
+            <dependency>
+                <groupId>com.amazonaws</groupId>
+                <artifactId>aws-java-sdk-logs</artifactId>
+                <version>${aws-java-sdk.version}</version>
+            </dependency>
             <dependency>
                 <groupId>org.mariadb.jdbc</groupId>
                 <artifactId>mariadb-java-client</artifactId>


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

Reply via email to