瀏覽代碼

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

Akira Ajisaka 4 年之前
父節點
當前提交
10d218934c
共有 1 個文件被更改,包括 12 次插入0 次删除
  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>