Browse Source

YARN-10344. Sync netty versions in hadoop-yarn-csi. (#2126)

Akira Ajisaka 4 năm trước cách đây
mục cha
commit
10d218934c
1 tập tin đã thay đổi với 12 bổ sung0 xóa
  1. 12 0
      hadoop-yarn-project/hadoop-yarn/hadoop-yarn-csi/pom.xml

+ 12 - 0
hadoop-yarn-project/hadoop-yarn/hadoop-yarn-csi/pom.xml

@@ -66,6 +66,18 @@
             <groupId>io.grpc</groupId>
             <artifactId>grpc-netty</artifactId>
             <version>${grpc.version}</version>
+            <exclusions>
+                <!-- Contained in netty-all. skip -->
+                <exclusion>
+                    <groupId>io.netty</groupId>
+                    <artifactId>netty-codec-http2</artifactId>
+                </exclusion>
+                <!-- Contained in netty-all. skip -->
+                <exclusion>
+                    <groupId>io.netty</groupId>
+                    <artifactId>netty-handler-proxy</artifactId>
+                </exclusion>
+            </exclusions>
         </dependency>
         <dependency>
             <groupId>junit</groupId>