Skip to content

Commit c9b051f

Browse files
chore: Add profile for hadoop 3.4.1 (#54)
* chore: Add profile for hadoop 3.4.1 * chore: Update changelog * chore: Update readme * Apply suggestions from code review Co-authored-by: Sebastian Bernauer <[email protected]> * ci: update profile version --------- Co-authored-by: Sebastian Bernauer <[email protected]>
1 parent 910cb11 commit c9b051f

File tree

4 files changed

+23
-3
lines changed

4 files changed

+23
-3
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.0 -B verify
29+
run: mvn -P hadoop-3.4.1 -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.0
33+
maven-args: -P hadoop-3.4.1

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,16 @@ 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.1` ([#54]).
10+
711
### Changed
812

913
- Update registry references to oci ([#53]).
1014

1115
[#53]: https://github.com/stackabletech/hdfs-utils/pull/53
16+
[#54]: https://github.com/stackabletech/hdfs-utils/pull/54
1217

1318
## [0.4.0] - 2024-11-05
1419

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ 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 or 3.4.0. You need to specify the version by activating either the `hadoop-3.3.4`, `hadoop-3.3.6` or the `hadoop-3.4.0` profile below.
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.
1414

1515
Run `mvn clean package -P hadoop-3.4.0` 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/`.

pom.xml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -317,5 +317,20 @@
317317
<jackson.version>2.12.7.1</jackson.version>
318318
</properties>
319319
</profile>
320+
<profile>
321+
<id>hadoop-3.4.1</id>
322+
<!--
323+
Users need to explicitly set the version of Hadoop they want to build against
324+
<activation>
325+
<activeByDefault>true</activeByDefault>
326+
</activation>
327+
-->
328+
<properties>
329+
<hadoop.version>3.4.1</hadoop.version>
330+
<!-- Taken from https://mvnrepository.com/artifact/org.apache.hadoop/hadoop-common/3.4.1 -->
331+
<slf4j.version>1.7.36</slf4j.version>
332+
<jackson.version>2.12.7.1</jackson.version>
333+
</properties>
334+
</profile>
320335
</profiles>
321336
</project>

0 commit comments

Comments
 (0)