Skip to content

Commit

Permalink
use thirdparty avro staging jar
Browse files Browse the repository at this point in the history
  • Loading branch information
pjfanning committed Jan 31, 2024
1 parent 816e419 commit b67612b
Show file tree
Hide file tree
Showing 8 changed files with 29 additions and 23 deletions.
4 changes: 2 additions & 2 deletions hadoop-client-modules/hadoop-client-minicluster/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -137,8 +137,8 @@
<artifactId>avro</artifactId>
</exclusion>
<exclusion>
<groupId>com.github.pjfanning.hadoop.thirdparty</groupId>
<artifactId>hadoop-shaded-avro</artifactId>
<groupId>org.apache.hadoop.thirdparty</groupId>
<artifactId>hadoop-shaded-avro_1_11</artifactId>
</exclusion>
<exclusion>
<groupId>org.apache.curator</groupId>
Expand Down
16 changes: 8 additions & 8 deletions hadoop-client-modules/hadoop-client/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -115,8 +115,8 @@
<artifactId>avro</artifactId>
</exclusion>
<exclusion>
<groupId>com.github.pjfanning.hadoop.thirdparty</groupId>
<artifactId>hadoop-shaded-avro</artifactId>
<groupId>org.apache.hadoop.thirdparty</groupId>
<artifactId>hadoop-shaded-avro_1_11</artifactId>
</exclusion>
<exclusion>
<groupId>org.eclipse.jetty</groupId>
Expand Down Expand Up @@ -171,8 +171,8 @@
<artifactId>avro</artifactId>
</exclusion>
<exclusion>
<groupId>com.github.pjfanning.hadoop.thirdparty</groupId>
<artifactId>hadoop-shaded-avro</artifactId>
<groupId>org.apache.hadoop.thirdparty</groupId>
<artifactId>hadoop-shaded-avro_1_11</artifactId>
</exclusion>
<exclusion>
<groupId>com.sun.jersey</groupId>
Expand Down Expand Up @@ -287,8 +287,8 @@
<artifactId>avro</artifactId>
</exclusion>
<exclusion>
<groupId>com.github.pjfanning.hadoop.thirdparty</groupId>
<artifactId>hadoop-shaded-avro</artifactId>
<groupId>org.apache.hadoop.thirdparty</groupId>
<artifactId>hadoop-shaded-avro_1_11</artifactId>
</exclusion>
<exclusion>
<groupId>org.apache.hadoop</groupId>
Expand Down Expand Up @@ -332,8 +332,8 @@
<artifactId>avro</artifactId>
</exclusion>
<exclusion>
<groupId>com.github.pjfanning.hadoop.thirdparty</groupId>
<artifactId>hadoop-shaded-avro</artifactId>
<groupId>org.apache.hadoop.thirdparty</groupId>
<artifactId>hadoop-shaded-avro_1_11</artifactId>
</exclusion>
<exclusion>
<groupId>org.apache.hadoop</groupId>
Expand Down
4 changes: 2 additions & 2 deletions hadoop-common-project/hadoop-common/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -249,8 +249,8 @@
<scope>test</scope>
</dependency>
<dependency>
<groupId>com.github.pjfanning.hadoop.thirdparty</groupId>
<artifactId>hadoop-shaded-avro</artifactId>
<groupId>org.apache.hadoop.thirdparty</groupId>
<artifactId>hadoop-shaded-avro_1_11</artifactId>
<scope>compile</scope>
</dependency>
<dependency>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,8 @@
<artifactId>hadoop-mapreduce-client-core</artifactId>
</dependency>
<dependency>
<groupId>com.github.pjfanning.hadoop.thirdparty</groupId>
<artifactId>hadoop-shaded-avro</artifactId>
<groupId>org.apache.hadoop.thirdparty</groupId>
<artifactId>hadoop-shaded-avro_1_11</artifactId>
<exclusions>
<exclusion>
<groupId>org.slf4j</groupId>
Expand Down
4 changes: 2 additions & 2 deletions hadoop-mapreduce-project/hadoop-mapreduce-client/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,8 @@
<scope>${transient.protobuf2.scope}</scope>
</dependency>
<dependency>
<groupId>com.github.pjfanning.hadoop.thirdparty</groupId>
<artifactId>hadoop-shaded-avro</artifactId>
<groupId>org.apache.hadoop.thirdparty</groupId>
<artifactId>hadoop-shaded-avro_1_11</artifactId>
<exclusions>
<exclusion>
<groupId>org.slf4j</groupId>
Expand Down
5 changes: 3 additions & 2 deletions hadoop-mapreduce-project/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -56,8 +56,9 @@
<artifactId>protobuf-java</artifactId>
</dependency>
<dependency>
<groupId>com.github.pjfanning.hadoop.thirdparty</groupId>
<artifactId>hadoop-shaded-avro</artifactId>
<groupId>org.apache.hadoop.thirdparty</groupId>
<artifactId>hadoop-shaded-avro_1.11</artifactId>
<version>${hadoop-thirdparty.avro.version}</version>
<exclusions>
<exclusion>
<groupId>org.slf4j</groupId>
Expand Down
10 changes: 5 additions & 5 deletions hadoop-project/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -63,8 +63,7 @@
<java.security.egd>file:///dev/urandom</java.security.egd>

<!-- avro version: avro.version needs to match avro version used in hadoop-shaded-avro -->
<avro.version>1.11.1</avro.version>
<hadoop-shaded-avro.version>1.2.0-rc1</hadoop-shaded-avro.version>
<avro.version>1.11.3</avro.version>

<!-- jersey version -->
<jersey.version>1.19.4</jersey.version>
Expand Down Expand Up @@ -98,6 +97,7 @@
<protoc.path>${env.HADOOP_PROTOC_PATH}</protoc.path>

<hadoop-thirdparty.version>1.1.1</hadoop-thirdparty.version>
<hadoop-thirdparty.avro.version>1.2.0</hadoop-thirdparty.avro.version>
<hadoop-thirdparty-protobuf.version>${hadoop-thirdparty.version}</hadoop-thirdparty-protobuf.version>
<hadoop-thirdparty-guava.version>${hadoop-thirdparty.version}</hadoop-thirdparty-guava.version>
<hadoop-thirdparty-shaded-prefix>org.apache.hadoop.thirdparty</hadoop-thirdparty-shaded-prefix>
Expand Down Expand Up @@ -1325,9 +1325,9 @@
</exclusions>
</dependency>
<dependency>
<groupId>com.github.pjfanning.hadoop.thirdparty</groupId>
<artifactId>hadoop-shaded-avro</artifactId>
<version>${hadoop-shaded-avro.version}</version>
<groupId>org.apache.hadoop.thirdparty</groupId>
<artifactId>hadoop-shaded-avro_1_11</artifactId>
<version>${hadoop-thirdparty.avro.version}</version>
</dependency>
<dependency>
<groupId>net.sf.kosmosfs</groupId>
Expand Down
5 changes: 5 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,11 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/x
</distributionManagement>

<repositories>
<repository>
<id>apache-staging</id>
<name>Apache Development Staging Repository</name>
<url>https://repository.apache.org/content/groups/staging</url>
</repository>
<repository>
<id>${distMgmtSnapshotsId}</id>
<name>${distMgmtSnapshotsName}</name>
Expand Down

0 comments on commit b67612b

Please sign in to comment.