Browse Source

HADOOP-17971. Exclude IBM Java security classes from being shaded/relocated. (#3567)

Signed-off-by: Akira Ajisaka <aajisaka@apache.org>
(cherry picked from commit 3e1135469eec67a8bfbe60feeb41a25aea013596)
(cherry picked from commit 87869c6c266a8fb6b66eccffd81d3dabab909218)
Nicholas Marion 3 năm trước cách đây
mục cha
commit
6ecaa0ac8b

+ 2 - 0
hadoop-client-modules/hadoop-client-api/pom.xml

@@ -165,6 +165,8 @@
                         <exclude>com/sun/security/**/*</exclude>
                         <exclude>com/sun/jndi/**/*</exclude>
                         <exclude>com/sun/management/**/*</exclude>
+                        <exclude>com/ibm/security/*</exclude>
+                        <exclude>com/ibm/security/**/*</exclude>
                       </excludes>
                     </relocation>
                     <relocation>

+ 2 - 0
hadoop-client-modules/hadoop-client-minicluster/pom.xml

@@ -874,6 +874,8 @@
                         <exclude>com/sun/security/**/*</exclude>
                         <exclude>com/sun/jndi/**/*</exclude>
                         <exclude>com/sun/management/**/*</exclude>
+                        <exclude>com/ibm/security/*</exclude>
+                        <exclude>com/ibm/security/**/*</exclude>
                       </excludes>
                     </relocation>
                     <relocation>

+ 2 - 0
hadoop-client-modules/hadoop-client-runtime/pom.xml

@@ -275,6 +275,8 @@
                         <exclude>com/sun/security/**/*</exclude>
                         <exclude>com/sun/jndi/**/*</exclude>
                         <exclude>com/sun/management/**/*</exclude>
+                        <exclude>com/ibm/security/*</exclude>
+                        <exclude>com/ibm/security/**/*</exclude>
                       </excludes>
                     </relocation>
                     <relocation>