Skip to content

Commit 57b9767

Browse files
committed
support 3.4.2
1 parent fb9bd97 commit 57b9767

File tree

3 files changed

+18
-3
lines changed

3 files changed

+18
-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.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

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, 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.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.
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
@@ -332,5 +332,20 @@
332332
<jackson.version>2.12.7.1</jackson.version>
333333
</properties>
334334
</profile>
335+
<profile>
336+
<id>hadoop-3.4.2</id>
337+
<!--
338+
Users need to explicitly set the version of Hadoop they want to build against
339+
<activation>
340+
<activeByDefault>true</activeByDefault>
341+
</activation>
342+
-->
343+
<properties>
344+
<hadoop.version>3.4.2</hadoop.version>
345+
<!-- Taken from https://mvnrepository.com/artifact/org.apache.hadoop/hadoop-common/3.4.2 -->
346+
<slf4j.version>1.7.36</slf4j.version>
347+
<jackson.version>2.12.7.1</jackson.version>
348+
</properties>
349+
</profile>
335350
</profiles>
336351
</project>

0 commit comments

Comments
 (0)