You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@impala.apache.org by jo...@apache.org on 2022/03/24 16:00:29 UTC

[impala] 02/02: IMPALA-11198: Exclude aws-java-sdk-bundle coming from Ranger audit

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

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

commit b694901414b05d4f7696b424507e253f07d0a182
Author: Joe McDonnell <jo...@cloudera.com>
AuthorDate: Wed Mar 23 17:30:56 2022 -0700

    IMPALA-11198: Exclude aws-java-sdk-bundle coming from Ranger audit
    
    Ranger started pulling in aws-java-sdk-bundle. Impala uses a
    stripped down version of this jar (impala-minimal-s3a-aws-sdk)
    to save space and we don't need aws-java-sdk-bundle. This adds
    an exclusion to ranger-plugins-audit to avoid this dependency.
    
    Testing:
     - Ran core tests
    
    Change-Id: Ia60601e9f21661f62a6c261e547f67a26e0400d0
    Reviewed-on: http://gerrit.cloudera.org:8080/18349
    Tested-by: Impala Public Jenkins <im...@cloudera.com>
    Reviewed-by: Csaba Ringhofer <cs...@cloudera.com>
---
 fe/pom.xml | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/fe/pom.xml b/fe/pom.xml
index 8cfa721..62cb57c 100644
--- a/fe/pom.xml
+++ b/fe/pom.xml
@@ -162,6 +162,12 @@ under the License.
           <groupId>org.apache.hive</groupId>
           <artifactId>hive-exec</artifactId>
         </exclusion>
+        <!-- Exclude the aws-java-sdk-bundle dependency because the Impala minimal
+             version of this dependency is used instead. -->
+        <exclusion>
+          <groupId>com.amazonaws</groupId>
+          <artifactId>aws-java-sdk-bundle</artifactId>
+        </exclusion>
       </exclusions>
     </dependency>