浏览代码

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

Signed-off-by: Akira Ajisaka <aajisaka@apache.org>
Nicholas Marion 3 年之前
父节点
当前提交
3e1135469e

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

@@ -179,6 +179,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

@@ -919,6 +919,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

@@ -288,6 +288,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>