diff --git a/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-csi/pom.xml b/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-csi/pom.xml
index e0af8fbf11..53196b74f3 100644
--- a/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-csi/pom.xml
+++ b/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-csi/pom.xml
@@ -26,7 +26,6 @@
jar
- 3.6.1
1.26.0
1.5.0.Final
@@ -39,7 +38,7 @@
com.google.protobuf
protobuf-java
- ${protobuf.version}
+ ${hadoop.protobuf.version}
io.netty
@@ -54,6 +53,13 @@
io.grpc
grpc-protobuf
${grpc.version}
+
+
+
+ com.google.protobuf
+ protobuf-java
+
+
io.grpc
@@ -91,21 +97,49 @@
hadoop-common
test-jar
test
+
+
+
+ com.google.protobuf
+ protobuf-java
+
+
org.apache.hadoop
hadoop-common
provided
+
+
+
+ com.google.protobuf
+ protobuf-java
+
+
org.apache.hadoop
hadoop-yarn-common
provided
+
+
+
+ com.google.protobuf
+ protobuf-java
+
+
org.apache.hadoop
hadoop-yarn-api
provided
+
+
+
+ com.google.protobuf
+ protobuf-java
+
+
javax.annotation
@@ -158,7 +192,7 @@
protobuf-maven-plugin
${protobuf-maven-plugin.version}
- com.google.protobuf:protoc:3.6.1:exe:${os.detected.classifier}
+ com.google.protobuf:protoc:${hadoop.protobuf.version}:exe:${os.detected.classifier}
grpc-java
io.grpc:protoc-gen-grpc-java:1.26.0:exe:${os.detected.classifier}