Skip to content

Commit f20e043

Browse files
authored
HADOOP-18484. Upgrade hsqldb to v2.7.1 to mitigate CVE-2022-41853 (#5102)
1 parent d26fd21 commit f20e043

File tree

5 files changed

+6
-1
lines changed
  • hadoop-mapreduce-project
  • hadoop-project
  • hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-common

5 files changed

+6
-1
lines changed

hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-jobclient/pom.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,7 @@
104104
<groupId>org.hsqldb</groupId>
105105
<artifactId>hsqldb</artifactId>
106106
<scope>test</scope>
107+
<classifier>jdk8</classifier>
107108
</dependency>
108109
<!-- 'mvn dependency:analyze' fails to detect use of this dependency -->
109110
<dependency>

hadoop-mapreduce-project/hadoop-mapreduce-examples/pom.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -106,6 +106,7 @@
106106
<groupId>org.hsqldb</groupId>
107107
<artifactId>hsqldb</artifactId>
108108
<scope>provided</scope>
109+
<classifier>jdk8</classifier>
109110
</dependency>
110111
<dependency>
111112
<groupId>com.google.guava</groupId>

hadoop-mapreduce-project/pom.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -142,6 +142,7 @@
142142
<groupId>org.hsqldb</groupId>
143143
<artifactId>hsqldb</artifactId>
144144
<scope>compile</scope>
145+
<classifier>jdk8</classifier>
145146
</dependency>
146147
<dependency>
147148
<groupId>org.fusesource.leveldbjni</groupId>

hadoop-project/pom.xml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,7 @@
175175
<native-maven-plugin.version>1.0-alpha-8</native-maven-plugin.version>
176176
<surefire.fork.timeout>900</surefire.fork.timeout>
177177
<aws-java-sdk.version>1.11.901</aws-java-sdk.version>
178-
<hsqldb.version>2.3.4</hsqldb.version>
178+
<hsqldb.version>2.7.1</hsqldb.version>
179179
<frontend-maven-plugin.version>1.11.2</frontend-maven-plugin.version>
180180
<!-- the version of Hadoop declared in the version resources; can be overridden
181181
so that Hadoop 3.x can declare itself a 2.x artifact. -->
@@ -1324,6 +1324,7 @@
13241324
<groupId>org.hsqldb</groupId>
13251325
<artifactId>hsqldb</artifactId>
13261326
<version>${hsqldb.version}</version>
1327+
<classifier>jdk8</classifier>
13271328
</dependency>
13281329
<dependency>
13291330
<groupId>io.dropwizard.metrics</groupId>

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -123,6 +123,7 @@
123123
<groupId>org.hsqldb</groupId>
124124
<artifactId>hsqldb</artifactId>
125125
<scope>test</scope>
126+
<classifier>jdk8</classifier>
126127
</dependency>
127128
<dependency>
128129
<groupId>com.microsoft.sqlserver</groupId>

0 commit comments

Comments
 (0)