Skip to content

Commit

Permalink
bump version for hadoop, aws-sdk and json
Browse files Browse the repository at this point in the history
  • Loading branch information
fengjiankun committed Jun 25, 2024
2 parents 5971bbc + ecd23c9 commit b33f922
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,14 @@ public class HadoopVersionTest {
public void testParseHadoopVersion() {
assertTrue(HadoopVersion.hasHaddopVersion());

// assume the hadoop version at build time is 3.2.1
// assume the hadoop version at build time is 3.2.4
assertTrue(HadoopVersion.isHaddopVersionAtLeast(3));
assertTrue(HadoopVersion.isHaddopVersionAtLeast(3, 2));
assertTrue(HadoopVersion.isHaddopVersionAtLeast(3, 2, 1));
assertTrue(HadoopVersion.isHaddopVersionAtLeast(3, 2, 4));

assertFalse(HadoopVersion.isHaddopVersionAtLeast(4));
assertFalse(HadoopVersion.isHaddopVersionAtLeast(3, 3));
assertFalse(HadoopVersion.isHaddopVersionAtLeast(3, 2, 2));
assertFalse(HadoopVersion.isHaddopVersionAtLeast(3, 2, 5));

assertTrue(HadoopVersion.isHaddopVersionAtLeast(2, 6));
assertTrue(HadoopVersion.isHaddopVersionAtLeast(2, 7));
Expand Down
5 changes: 3 additions & 2 deletions history-server/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -197,8 +197,6 @@
<includes>
<!-- for /jobhistory/job -->
<include>*-default.xml</include>
<include>org/apache/hadoop/io/*</include>
<include>org/apache/hadoop/tracing/*</include>
<include>org/apache/hadoop/conf/*</include>
<include>org/apache/hadoop/crypto/key/*</include>
<include>org/apache/hadoop/fs/*</include>
Expand All @@ -212,13 +210,16 @@
<include>org/apache/hadoop/hdfs/shortcircuit/*</include>
<include>org/apache/hadoop/hdfs/util/*</include>
<include>org/apache/hadoop/http/*</include>
<include>org/apache/hadoop/io/*</include>
<include>org/apache/hadoop/io/retry/*</include>
<include>org/apache/hadoop/ipc/**/*</include>
<include>org/apache/hadoop/metrics2/**/*</include>
<include>org/apache/hadoop/net/unix/*</include>
<include>org/apache/hadoop/security/SecurityUtil*</include>
<include>org/apache/hadoop/security/http/XFrameOptionsFilter*</include>
<include>org/apache/hadoop/security/token/**/*</include>
<include>org/apache/hadoop/service/*</include>
<include>org/apache/hadoop/tracing/*</include>
<include>org/apache/hadoop/util/*</include>
<include>org/apache/hadoop/util/concurrent/*</include>
<include>org/apache/hadoop/yarn/webapp/**/*</include>
Expand Down
6 changes: 3 additions & 3 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
-->
<project.target.release>8</project.target.release>

<hadoop.version>3.2.1</hadoop.version>
<hadoop.version>[3.2.4]</hadoop.version>
<sortpom.version>4.0.0</sortpom.version>
<sort.verifyFail>warn</sort.verifyFail>

Expand Down Expand Up @@ -124,13 +124,13 @@
<dependency>
<groupId>org.json</groupId>
<artifactId>json</artifactId>
<version>20140107</version>
<version>[20231013,)</version>
</dependency>
<!-- amazon s3 -->
<dependency>
<groupId>com.amazonaws</groupId>
<artifactId>aws-java-sdk-s3</artifactId>
<version>1.11.86</version>
<version>[1.12.261]</version>
</dependency>
<!-- junit -->
<dependency>
Expand Down
1 change: 1 addition & 0 deletions web/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -249,6 +249,7 @@
<exclude>org.apache.hadoop.service.*</exclude>
<exclude>org.apache.hadoop.tracing.*</exclude>
<exclude>org.apache.hadoop.util.*</exclude>
<exclude>org.apache.hadoop.yarn.api.*</exclude>
<exclude>org.apache.hadoop.yarn.api.records.*</exclude>
<exclude>org.apache.hadoop.yarn.conf.*</exclude>
<exclude>org.apache.hadoop.yarn.exceptions.*</exclude>
Expand Down

0 comments on commit b33f922

Please sign in to comment.