22 Commits

Author SHA1 Message Date
Gautham B A
f7bb4f1595
HADOOP-18135. Produce Windows binaries of Hadoop ()
This PR enables one to create the Hadoop
release tarball on Windows, complete with
the native binaries (including winutils.exe).
This PR contains the following changes -

* Prevents splitting during array element
  expansion - this is needed since we need
  to pass the arguments correctly to maven.
* Install Python 3.11.8 and pip to the
  Windows docker image for building
  Hadoop.
* pom file changes to get maven to invoke
  the releasedocmaker script through
  bash.exe on Windows.
2024-04-09 22:15:05 +05:30
slfan1989
4c3d4e6a57
HADOOP-19038. Improve create-release RUN script. () Contributed by Shilun Fan.
Reviewed-by: Steve Loughran <stevel@cloudera.com>
Reviewed-by: He Xiaoqiao <hexiaoqiao@apache.org>
Signed-off-by: Shilun Fan <slfan1989@apache.org>
2024-01-18 19:12:12 +08:00
Steve Loughran
aa917b1cd4
HADOOP-18198. add -mvnargs option to create-release command line ()
This allows for builds to be run with options like
--mvnargs="-Dhttp.keepAlive=false -Dmaven.wagon.http.pool=false"

Contributed by Ayush Saxena.

Change-Id: I396e82d0915d679657d063a948f865041bcdde29
2022-05-03 14:08:39 +01:00
Steve Loughran
d7fd61d616
HADOOP-18202. create-release fails fatal: unsafe repository ()
Since April 2022/CVE-2022-24765, git refuses to work in directories
whose owner != the current user, unless explicitly told to trust it.

This patches the create-release script to trust the /build/source
dir mounted from the hosting OS, whose userid is inevitably different
from that of the account in the container running git.

Contributed by: Steve Loughran, Ayush Saxena and the new git error messages
2022-04-18 19:24:35 +01:00
Gautham B A
1c0b2edde9
HADOOP-17727. Modularize docker images ()
Reviewed-by: Inigo Goiri <inigoiri@apache.org>
2021-06-07 20:11:08 -07:00
Vinayakumar B
4d24d99e85
HADOOP-16985. Handle release package related issues () 2020-04-15 20:38:19 +05:30
Vinayakumar B
52b360a928
HADOOP-16797. Add Dockerfile for ARM builds. Contributed by Vinayakumar B. () 2020-01-13 10:40:29 +05:30
Akira Ajisaka
34dd9ee366
HADOOP-16494. Add SHA-512 checksum to release artifact to comply with the release distribution policy.
This closes 
2019-08-22 11:01:02 +09:00
Akira Ajisaka
af5958f7b6
HADOOP-15925. The config and log of gpg-agent are removed in create-release script. Contributed by Dinesh Chitlangia. 2018-11-16 13:16:59 +09:00
Akira Ajisaka
df5e863fee
HADOOP-15930. Exclude MD5 checksum files from release artifact. 2018-11-15 10:45:34 +09:00
Akira Ajisaka
703b2860a4
HADOOP-15923. create-release script should set max-cache-ttl as well as default-cache-ttl for gpg-agent. 2018-11-13 13:40:43 +09:00
Allen Wittenauer
4b8c2b1c1c
HADOOP-14671. Upgrade Apache Yetus to 0.8.0
Signed-off-by: Akira Ajisaka <aajisaka@apache.org>
2018-09-11 08:55:34 -07:00
Akira Ajisaka
659074728e
HADOOP-15352. Fix default local maven repository path in create-release script. Contributed by Elek, Marton. 2018-03-30 23:25:14 +09:00
Sean Mackrory
5533648241 HADOOP-15058. create-release site build outputs dummy shaded jars due to skipShade. Contributed by Andrew Wang. 2017-12-04 15:39:43 -07:00
Andrew Wang
51e882d5c9 HADOOP-15018. Update JAVA_HOME in create-release for Xenial Dockerfile. 2017-11-07 16:39:04 -08:00
Andrew Wang
3cf3540f19 HADOOP-14835. mvn site build throws SAX errors. Contributed by Andrew Wang and Sean Mackrory. 2017-09-18 15:13:42 -07:00
Allen Wittenauer
0c52da7d3e HADOOP-14602. allow custom release notes/changelog during create-release
Signed-off-by: Chris Douglas <cdouglas@apache.org>
2017-06-29 08:03:16 -07:00
Andrew Wang
2bf4c6e2d6 HADOOP-13996. Fix some release build issues. 2017-01-18 15:18:48 -08:00
sunilg
e8096911ac YARN-5598. [YARN-3368] Fix create-release to be able to generate bits for the new yarn-ui (Wangda Tan via Sunil G) 2016-11-06 13:13:31 -08:00
Allen Wittenauer
e2f640942b HADOOP-13245. Fix up some misc create-release issues (aw) 2016-06-14 16:03:20 -07:00
Allen Wittenauer
cf2ee45f71 HADOOP-13067. cleanup the dockerfile 2016-04-28 10:03:45 -07:00
Allen Wittenauer
7b1c37a13a HADOOP-12892. fix/rewrite create-release (aw) 2016-04-27 08:38:22 -07:00