You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-commits@hadoop.apache.org by st...@apache.org on 2024/02/21 14:29:26 UTC
(hadoop-release-support) 29/31: 3.4.0 RC testing
This is an automated email from the ASF dual-hosted git repository.
stevel pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/hadoop-release-support.git
commit 29eaee879f58ac5fc9c063e1abb31f24e3ae4987
Author: Steve Loughran <st...@cloudera.com>
AuthorDate: Mon Jan 15 16:33:57 2024 +0000
3.4.0 RC testing
---
README.md | 1 +
build.xml | 28 ++++++++++++++++++++--------
pom.xml | 11 +++++++++--
3 files changed, 30 insertions(+), 10 deletions(-)
diff --git a/README.md b/README.md
index 9573412..f6b37a3 100644
--- a/README.md
+++ b/README.md
@@ -295,6 +295,7 @@ ant purge-from-maven
## client validator maven
+Download the artifacts from maven staging repositories and compile/test a minimal application
```bash
ant mvn-test
diff --git a/build.xml b/build.xml
index b18c605..5fb99c1 100644
--- a/build.xml
+++ b/build.xml
@@ -48,13 +48,13 @@
<!-- base name of a release -->
- <property name="hadoop.version" value="3.3.5"/>
+ <property name="hadoop.version" value="3.4"/>
<property name="rc" value="RC0"/>
<property name="rc.name" value="${hadoop.version}-${rc}"/>
<!-- previous version, used in annoucements -->
- <property name="previous.ver" value="3.3.4"/>
- <property name="release.branch" value="3.3"/>
+ <property name="previous.ver" value="3.3.6"/>
+ <property name="release.branch" value="3.4"/>
<property name="git.commit.id" value="706d88266ab"/>
@@ -102,6 +102,8 @@
<property name="svn.production.url" value="${svn.apache.dist}/repos/dist/release/hadoop/common/${release}"/>
<property name="production.commit.msg" value="${jira.id}. Releasing Hadoop ${hadoop.version}" />
+ <property name="bin-untar.dir" location="target/bin-untar/${release}"/>
+
<target name="init">
<presetdef name="x">
@@ -232,11 +234,13 @@
</target>
<target name="mvn-test" depends="init"
- description="build and test the maven module">
+ description="build and test the maven module, use the build.properties hadoop version">
<mvn>
<arg value="test"/>
<arg value="-Pstaging"/>
+ <arg value="-Dhadoop.version=${hadoop.version}"/>
+ <arg value="-U"/>
</mvn>
</target>
@@ -275,8 +279,10 @@
<target name="release.dir.check" depends="init">
<verify-release-dir />
+ <echo>release.dir=${release.dir}</echo>
<x executable="ls">
<arg value="-l"/>
+ <arg value="-R"/>
<arg value="${release.dir}"/>
</x>
@@ -773,17 +779,23 @@ Message is in file ${message.out}
<x executable="wget" dir="${incoming.dir}" >
<arg value="--no-parent"/>
<arg value="--recursive"/>
- <arg value="--level=1"/>
+ <arg value="--level=5"/>
+ <arg value="-e"/>
+ <arg value="robots=off"/>
+ <arg value="-R"/>
+ <arg value="index.html"/>
+ <arg value="--report-speed=bits"/>
<arg value="--no-directories"/>
- <arg value="${http.source}"/>
+ <arg value="${http.source}/"/>
</x>
<!-- remove all index.html files which crept in -->
- <delete dir="${incoming.dir}" includes="index.*" />
+ <!--<delete dir="${incoming.dir}" includes="index.*" />-->
<delete dir="${release.dir}"/>
<move
file="${incoming.dir}"
tofile="${release.dir}"/>
+ <echo>copied http downloaded artifacts to ${release.dir}</echo>
</target>
<target name="release.site.untar" depends="release.dir.check"
@@ -854,7 +866,7 @@ Message is in file ${message.out}
<presetdef name="hadoopq">
<exec failonerror="false"
executable="bin/hadoop"
- dir="target/bin-untar/${release}" />
+ dir="${bin-untar.dir}" />
</presetdef>
<echo>ls</echo>
<hadoop>
diff --git a/pom.xml b/pom.xml
index d810f03..a21de82 100644
--- a/pom.xml
+++ b/pom.xml
@@ -40,7 +40,7 @@
<maven-antrun-plugin.version>1.7</maven-antrun-plugin.version>
- <hadoop.version>3.3.5</hadoop.version>
+ <hadoop.version>3.4.0</hadoop.version>
<!-- SLF4J/LOG4J version -->
<slf4j.version>1.7.36</slf4j.version>
@@ -247,10 +247,17 @@
</properties>
</profile>
+ <profile>
+ <id>3.4</id>
+ <properties>
+ <hadoop.version>3.4.0</hadoop.version>
+ </properties>
+ </profile>
+
<profile>
<id>trunk</id>
<properties>
- <hadoop.version>3.4.0-SNAPSHOT</hadoop.version>
+ <hadoop.version>3.5.0-SNAPSHOT</hadoop.version>
</properties>
</profile>
---------------------------------------------------------------------
To unsubscribe, e-mail: common-commits-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-commits-help@hadoop.apache.org