Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/maven.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,12 +34,12 @@ jobs:
cache: maven

- name: Build with Maven
run: mvn -P hadoop-3.4.2 -B verify
run: mvn -P hadoop-3.5.0 -B verify

- name: Update dependency graph
if: |
github.repository_owner == 'stackabletech'
&& !github.event.pull_request.head.repo.fork
uses: advanced-security/maven-dependency-submission-action@b275d12641ac2d2108b2cbb7598b154ad2f2cee8 # v5.0.0
with:
maven-args: -P hadoop-3.4.2
maven-args: -P hadoop-3.5.0
2 changes: 1 addition & 1 deletion .github/workflows/reviewdog.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ jobs:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
persist-credentials: false
- uses: reviewdog/action-markdownlint@6f0e0e8703a9e840ffefa37a2775832c51c1c640 # v0.28.0
- uses: reviewdog/action-markdownlint@34762a7b2dddebf3eb82f7e3a63b9d0242d0a42a # v0.31.4
with:
github_token: ${{ secrets.GITHUB_TOKEN }}

Expand Down
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,12 @@ All notable changes to this project will be documented in this file.

## [Unreleased]

### Removed

- Removed support for Hadoop `3.4.2` ([#66]).

[#66]: https://github.com/stackabletech/hdfs-utils/pull/66

## [0.6.0] - 2026-06-09

### Added
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.4.2, 3.4.3 or 3.5.0. You need to specify the version by activating either the `hadoop-3.4.2`, `hadoop-3.4.3` or the `hadoop-3.5.0` profile below.
Currently you can compile hdfs-utils against Hadoop 3.4.3 or 3.5.0. You need to specify the version by activating either the `hadoop-3.4.3` or the `hadoop-3.5.0` profile below.

Run e.g. `mvn clean package -P hadoop-3.5.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/`.
Expand Down
14 changes: 0 additions & 14 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -314,20 +314,6 @@
</build>

<profiles>
<profile>
<id>hadoop-3.4.2</id>
<!--
Users need to explicitly set the version of Hadoop they want to build against
<activation>
<activeByDefault>true</activeByDefault>
</activation>
-->
<properties>
<hadoop.version>3.4.2</hadoop.version>
<!-- Taken from https://mvnrepository.com/artifact/org.apache.hadoop/hadoop-common/3.4.2 -->
<slf4j.version>1.7.36</slf4j.version>
</properties>
</profile>
<profile>
<id>hadoop-3.4.3</id>
<properties>
Expand Down
5 changes: 2 additions & 3 deletions test/topology-provider/stack/03-hdfs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ metadata:
name: simple-zk
spec:
image:
productVersion: 3.9.4
productVersion: 3.9.6
pullPolicy: IfNotPresent
servers:
roleGroups:
Expand All @@ -18,8 +18,7 @@ metadata:
name: simple-hdfs
spec:
image:
productVersion: 3.4.2
custom: oci.stackable.tech/sandbox/hadoop:3.4.2-stackable0.0.0-dev
productVersion: 3.5.0
pullPolicy: IfNotPresent
clusterConfig:
dfsReplication: 1
Expand Down
4 changes: 2 additions & 2 deletions test/topology-provider/stack/04-spark.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ metadata:
name: spark-teragen
spec:
sparkImage:
custom: oci.stackable.tech/sandbox/spark-k8s:3.5.6-stackable0.0.0-terasort
productVersion: 3.5.6
custom: oci.stackable.tech/sdp/spark-k8s:3.5.8-stackable0.0.0-terasort
productVersion: 3.5.8
pullPolicy: IfNotPresent
mode: cluster
mainApplicationFile: local:///tmp/spark-terasort-1.2-SNAPSHOT.jar
Expand Down
2 changes: 1 addition & 1 deletion test/topology-provider/stack/05-access-hdfs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ spec:
spec:
containers:
- name: access-hdfs
image: oci.stackable.tech/sandbox/hadoop:3.4.2-stackable0.0.0-dev
image: oci.stackable.tech/sdp/hadoop:3.5.0-stackable0.0.0-dev
imagePullPolicy: IfNotPresent
env:
- name: HADOOP_CONF_DIR
Expand Down
7 changes: 5 additions & 2 deletions test/topology-provider/teragen/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,9 +1,12 @@
#
# cd test/stack/teragen
# docker build . -t oci.stackable.tech/sandbox/spark-k8s:3.5.6-stackable0.0.0-terasort
# docker build . -t oci.stackable.tech/sdp/spark-k8s:3.5.8-stackable0.0.0-terasort
#

FROM oci.stackable.tech/sdp/spark-k8s:3.5.6-stackable0.0.0-dev
FROM oci.stackable.tech/sdp/spark-k8s:3.5.8-stackable0.0.0-dev

# this .jar is compiled from the code here: https://github.com/ehiggs/spark-terasort
# N.B. 3.5.8 is used as that compiles against scala 2.12, as is the case for the terasort jar.
# For newer spark versions (3.5.8 is marked for removal in 26.11), the tereasort code will need
# to be changed to compile against scala 2.13.
COPY --chown=stackable:stackable ./spark-terasort-1.2-SNAPSHOT.jar /tmp/
Loading