Skip to content

Commit 9a7e4e6

Browse files
committed
HADOOP-19090. Use protobuf-java 3.23.4.
update fix groupId fix repository url
1 parent dae871e commit 9a7e4e6

File tree

4 files changed

+14
-7
lines changed

4 files changed

+14
-7
lines changed

hadoop-common-project/hadoop-common/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040
<dependencies>
4141
<dependency>
4242
<groupId>org.apache.hadoop.thirdparty</groupId>
43-
<artifactId>hadoop-shaded-protobuf_3_21</artifactId>
43+
<artifactId>hadoop-shaded-protobuf_3_23</artifactId>
4444
</dependency>
4545
<dependency>
4646
<groupId>org.apache.hadoop</groupId>

hadoop-project/pom.xml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -93,11 +93,11 @@
9393
<!-- Protobuf scope in other modules which explicitly import the libarary -->
9494
<transient.protobuf2.scope>${common.protobuf2.scope}</transient.protobuf2.scope>
9595
<!-- ProtocolBuffer version, actually used in Hadoop -->
96-
<hadoop.protobuf.version>3.21.12</hadoop.protobuf.version>
96+
<hadoop.protobuf.version>3.23.4</hadoop.protobuf.version>
9797
<protoc.path>${env.HADOOP_PROTOC_PATH}</protoc.path>
9898

9999
<hadoop-thirdparty.version>1.2.0</hadoop-thirdparty.version>
100-
<hadoop-thirdparty-protobuf.version>${hadoop-thirdparty.version}</hadoop-thirdparty-protobuf.version>
100+
<hadoop-thirdparty-protobuf.version>1.3.0-SNAPSHOT</hadoop-thirdparty-protobuf.version>
101101
<hadoop-thirdparty-guava.version>${hadoop-thirdparty.version}</hadoop-thirdparty-guava.version>
102102
<hadoop-thirdparty-shaded-prefix>org.apache.hadoop.thirdparty</hadoop-thirdparty-shaded-prefix>
103103
<hadoop-thirdparty-shaded-protobuf-prefix>${hadoop-thirdparty-shaded-prefix}.protobuf</hadoop-thirdparty-shaded-protobuf-prefix>
@@ -250,7 +250,7 @@
250250
</dependency>
251251
<dependency>
252252
<groupId>org.apache.hadoop.thirdparty</groupId>
253-
<artifactId>hadoop-shaded-protobuf_3_21</artifactId>
253+
<artifactId>hadoop-shaded-protobuf_3_23</artifactId>
254254
<version>${hadoop-thirdparty-protobuf.version}</version>
255255
</dependency>
256256
<dependency>

hadoop-yarn-project/hadoop-yarn/hadoop-yarn-api/pom.xml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@
5151
<exclusions>
5252
<exclusion>
5353
<groupId>org.apache.hadoop.thirdparty</groupId>
54-
<artifactId>hadoop-shaded-protobuf_3_21</artifactId>
54+
<artifactId>hadoop-shaded-protobuf_3_23</artifactId>
5555
</exclusion>
5656
</exclusions>
5757
</dependency>
@@ -64,7 +64,7 @@
6464

6565
<dependency>
6666
<groupId>org.apache.hadoop.thirdparty</groupId>
67-
<artifactId>hadoop-shaded-protobuf_3_21</artifactId>
67+
<artifactId>hadoop-shaded-protobuf_3_23</artifactId>
6868
</dependency>
6969

7070
<dependency>
@@ -75,7 +75,7 @@
7575
<exclusions>
7676
<exclusion>
7777
<groupId>org.apache.hadoop.thirdparty</groupId>
78-
<artifactId>hadoop-shaded-protobuf_3_21</artifactId>
78+
<artifactId>hadoop-shaded-protobuf_3_23</artifactId>
7979
</exclusion>
8080
</exclusions>
8181
</dependency>

pom.xml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/x
5757
<name>${distMgmtSnapshotsName}</name>
5858
<url>${distMgmtSnapshotsUrl}</url>
5959
</repository>
60+
<repository>
61+
<id>Apache Nexus Snapshots</id>
62+
<url>https://repository.apache.org/content/groups/snapshots/</url>
63+
<snapshots>
64+
<enabled>true</enabled>
65+
</snapshots>
66+
</repository>
6067
<repository>
6168
<id>repository.jboss.org</id>
6269
<url>https://repository.jboss.org/nexus/content/groups/public/</url>

0 commit comments

Comments
 (0)