From 57b976734afd90074044f1fb18ff86a385867679 Mon Sep 17 00:00:00 2001 From: Andrew Kenworthy Date: Tue, 30 Sep 2025 15:59:45 +0200 Subject: [PATCH 1/4] support 3.4.2 --- .github/workflows/maven.yml | 4 ++-- README.md | 2 +- pom.xml | 15 +++++++++++++++ 3 files changed, 18 insertions(+), 3 deletions(-) diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml index ff2a586..8310777 100644 --- a/.github/workflows/maven.yml +++ b/.github/workflows/maven.yml @@ -26,8 +26,8 @@ jobs: distribution: 'temurin' cache: maven - name: Build with Maven - run: mvn -P hadoop-3.4.1 -B verify + run: mvn -P hadoop-3.4.2 -B verify - name: Update dependency graph uses: advanced-security/maven-dependency-submission-action@bb3f7338b5bd0e3b225d8082e26b7b6289e17ef3 # v4.1.0 with: - maven-args: -P hadoop-3.4.1 + maven-args: -P hadoop-3.4.2 diff --git a/README.md b/README.md index d21336d..fc7af23 100644 --- a/README.md +++ b/README.md @@ -10,7 +10,7 @@ This project contains multiple plugins for Apache Hadoop, which are intended to ## Installation -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. +Currently you can compile hdfs-utils against Hadoop 3.3.4, 3.3.6, 3.4.0, 3.4.1 or 3.4.2. You need to specify the version by activating either the `hadoop-3.3.4`, `hadoop-3.3.6`, `hadoop-3.4.0`, `hadoop-3.4.1` or the `hadoop-3.4.2` profile below. Run `mvn clean package -P hadoop-3.4.0` and put the resulting `target/hdfs-utils-*.jar` file on your HDFS classpath. The easiest way to achieve this is to put it in the directory `/stackable/hadoop/share/hadoop/tools/lib/`. diff --git a/pom.xml b/pom.xml index 2126b63..ac40f97 100644 --- a/pom.xml +++ b/pom.xml @@ -332,5 +332,20 @@ 2.12.7.1 + + hadoop-3.4.2 + + + 3.4.2 + + 1.7.36 + 2.12.7.1 + + From 7074667a94bb9fd876ac045c171f8f6488295bb2 Mon Sep 17 00:00:00 2001 From: Andrew Kenworthy Date: Tue, 30 Sep 2025 16:01:02 +0200 Subject: [PATCH 2/4] changelog --- CHANGELOG.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 99f8246..a714599 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,12 @@ All notable changes to this project will be documented in this file. ## [Unreleased] +### Added + +- Add build profile for `3.4.2` ([#56]). + +[#56]: https://github.com/stackabletech/hdfs-utils/pull/56 + ## [0.4.1] - 2025-03-11 ### Added From 2620a5a312d488a083c72749c0037d5574535a06 Mon Sep 17 00:00:00 2001 From: Andrew Kenworthy Date: Tue, 30 Sep 2025 16:27:43 +0200 Subject: [PATCH 3/4] update reviewdog action --- .github/workflows/reviewdog.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/reviewdog.yml b/.github/workflows/reviewdog.yml index 47e3714..6d575bf 100644 --- a/.github/workflows/reviewdog.yml +++ b/.github/workflows/reviewdog.yml @@ -22,7 +22,7 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7 - - uses: reviewdog/action-detect-secrets@84a331098c48fc892be9af5656f798d0f5f79d81 # v0.25.0 + - uses: reviewdog/action-detect-secrets@7a58df110a56c350091ce195aaf7f11ab1d5eda7 # v0.29.1 with: github_token: ${{ secrets.github_token }} From 0aadc3084b5ddad423f95c348dca462029317c2e Mon Sep 17 00:00:00 2001 From: Andrew Kenworthy Date: Tue, 30 Sep 2025 17:16:51 +0200 Subject: [PATCH 4/4] remove profiles no longer needed --- README.md | 4 ++-- pom.xml | 24 ------------------------ 2 files changed, 2 insertions(+), 26 deletions(-) diff --git a/README.md b/README.md index fc7af23..f277d20 100644 --- a/README.md +++ b/README.md @@ -10,9 +10,9 @@ This project contains multiple plugins for Apache Hadoop, which are intended to ## Installation -Currently you can compile hdfs-utils against Hadoop 3.3.4, 3.3.6, 3.4.0, 3.4.1 or 3.4.2. You need to specify the version by activating either the `hadoop-3.3.4`, `hadoop-3.3.6`, `hadoop-3.4.0`, `hadoop-3.4.1` or the `hadoop-3.4.2` profile below. +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. -Run `mvn clean package -P hadoop-3.4.0` and put the resulting `target/hdfs-utils-*.jar` file on your HDFS classpath. +Run e.g. `mvn clean package -P hadoop-3.4.2` and put the resulting `target/hdfs-utils-*.jar` file on your HDFS classpath. The easiest way to achieve this is to put it in the directory `/stackable/hadoop/share/hadoop/tools/lib/`. The Stackable HDFS already takes care of this, you don't need to do anything in this case. diff --git a/pom.xml b/pom.xml index ac40f97..fe67edc 100644 --- a/pom.xml +++ b/pom.xml @@ -293,30 +293,6 @@ 2.12.7.1 - - hadoop-3.3.4 - - 3.3.4 - - 1.7.36 - 2.12.7.1 - - - - hadoop-3.4.0 - - - 3.4.0 - - 1.7.36 - 2.12.7.1 - - hadoop-3.4.1