Skip to content

Commit e849014

Browse files
authored
chore: Support Hadoop 3.4.2 (#56)
* support 3.4.2 * changelog * update reviewdog action * remove profiles no longer needed
1 parent fb9bd97 commit e849014

File tree

5 files changed

+17
-20
lines changed

5 files changed

+17
-20
lines changed

.github/workflows/maven.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,8 @@ jobs:
2626
distribution: 'temurin'
2727
cache: maven
2828
- name: Build with Maven
29-
run: mvn -P hadoop-3.4.1 -B verify
29+
run: mvn -P hadoop-3.4.2 -B verify
3030
- name: Update dependency graph
3131
uses: advanced-security/maven-dependency-submission-action@bb3f7338b5bd0e3b225d8082e26b7b6289e17ef3 # v4.1.0
3232
with:
33-
maven-args: -P hadoop-3.4.1
33+
maven-args: -P hadoop-3.4.2

.github/workflows/reviewdog.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
runs-on: ubuntu-latest
2323
steps:
2424
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
25-
- uses: reviewdog/action-detect-secrets@84a331098c48fc892be9af5656f798d0f5f79d81 # v0.25.0
25+
- uses: reviewdog/action-detect-secrets@7a58df110a56c350091ce195aaf7f11ab1d5eda7 # v0.29.1
2626
with:
2727
github_token: ${{ secrets.github_token }}
2828

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,12 @@ All notable changes to this project will be documented in this file.
44

55
## [Unreleased]
66

7+
### Added
8+
9+
- Add build profile for `3.4.2` ([#56]).
10+
11+
[#56]: https://github.com/stackabletech/hdfs-utils/pull/56
12+
713
## [0.4.1] - 2025-03-11
814

915
### Added

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,9 @@ This project contains multiple plugins for Apache Hadoop, which are intended to
1010

1111
## Installation
1212

13-
Currently you can compile hdfs-utils against Hadoop 3.3.4, 3.3.6, 3.4.0 or 3.4.1. You need to specify the version by activating either the `hadoop-3.3.4`, `hadoop-3.3.6`, `hadoop-3.4.0` or the `hadoop-3.4.1` profile below.
13+
Currently you can compile hdfs-utils against Hadoop 3.3.6, 3.4.1 or 3.4.2. You need to specify the version by activating either the `hadoop-3.3.6`, `hadoop-3.4.1` or the `hadoop-3.4.2` profile below.
1414

15-
Run `mvn clean package -P hadoop-3.4.0` and put the resulting `target/hdfs-utils-*.jar` file on your HDFS classpath.
15+
Run e.g. `mvn clean package -P hadoop-3.4.2` and put the resulting `target/hdfs-utils-*.jar` file on your HDFS classpath.
1616
The easiest way to achieve this is to put it in the directory `/stackable/hadoop/share/hadoop/tools/lib/`.
1717
The Stackable HDFS already takes care of this, you don't need to do anything in this case.
1818

pom.xml

Lines changed: 6 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -294,40 +294,31 @@
294294
</properties>
295295
</profile>
296296
<profile>
297-
<id>hadoop-3.3.4</id>
298-
<properties>
299-
<hadoop.version>3.3.4</hadoop.version>
300-
<!-- Taken from https://mvnrepository.com/artifact/org.apache.hadoop/hadoop-common/3.3.4 -->
301-
<slf4j.version>1.7.36</slf4j.version>
302-
<jackson.version>2.12.7.1</jackson.version>
303-
</properties>
304-
</profile>
305-
<profile>
306-
<id>hadoop-3.4.0</id>
297+
<id>hadoop-3.4.1</id>
307298
<!--
308299
Users need to explicitly set the version of Hadoop they want to build against
309300
<activation>
310301
<activeByDefault>true</activeByDefault>
311302
</activation>
312303
-->
313304
<properties>
314-
<hadoop.version>3.4.0</hadoop.version>
315-
<!-- Taken from https://mvnrepository.com/artifact/org.apache.hadoop/hadoop-common/3.4.0 -->
305+
<hadoop.version>3.4.1</hadoop.version>
306+
<!-- Taken from https://mvnrepository.com/artifact/org.apache.hadoop/hadoop-common/3.4.1 -->
316307
<slf4j.version>1.7.36</slf4j.version>
317308
<jackson.version>2.12.7.1</jackson.version>
318309
</properties>
319310
</profile>
320311
<profile>
321-
<id>hadoop-3.4.1</id>
312+
<id>hadoop-3.4.2</id>
322313
<!--
323314
Users need to explicitly set the version of Hadoop they want to build against
324315
<activation>
325316
<activeByDefault>true</activeByDefault>
326317
</activation>
327318
-->
328319
<properties>
329-
<hadoop.version>3.4.1</hadoop.version>
330-
<!-- Taken from https://mvnrepository.com/artifact/org.apache.hadoop/hadoop-common/3.4.1 -->
320+
<hadoop.version>3.4.2</hadoop.version>
321+
<!-- Taken from https://mvnrepository.com/artifact/org.apache.hadoop/hadoop-common/3.4.2 -->
331322
<slf4j.version>1.7.36</slf4j.version>
332323
<jackson.version>2.12.7.1</jackson.version>
333324
</properties>

0 commit comments

Comments
 (0)