hadoop/dev-support
Gautham B A f7bb4f1595
HADOOP-18135. Produce Windows binaries of Hadoop (#6673)
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
..
bin HADOOP-18135. Produce Windows binaries of Hadoop (#6673) 2024-04-09 22:15:05 +05:30
byteman HDDS-342. Add example byteman script to print out hadoop rpc traffic. 2018-08-22 14:48:22 -07:00
code-formatter HADOOP-17892. Add Hadoop code formatter in dev-support (#3387) 2021-09-23 12:34:19 +08:00
docker HADOOP-18135. Produce Windows binaries of Hadoop (#6673) 2024-04-09 22:15:05 +05:30
git-jira-validation HADOOP-18789. Remove ozone from hadoop dev support. (#5800). Contributed by Xiaoqiao He. 2023-07-02 15:23:32 +08:00
findHangingTest.sh HADOOP-13963. /bin/bash is hard coded in some of the scripts. Contributed by Ajay Yadav. 2017-08-04 10:40:52 -07:00
hadoop-vote.sh HADOOP-18228. Update hadoop-vote to use HADOOP_RC_VERSION dir (#4272) 2022-05-16 07:34:39 -07:00
jenkins.sh HADOOP-18134. Setup Jenkins nightly CI for Windows 10 (#5062) 2023-05-03 22:44:54 +05:30
Jenkinsfile HADOOP-11867. Add a high-performance vectored read API. (#3904) 2022-06-22 17:29:32 +01:00
jenkinsfile-windows-10 HADOOP-19017. Setup pre-commit CI for Windows 10 (#5820) 2023-12-29 16:41:10 +05:30
README.md HADOOP-12651. Replace dev-support with wrappers to Yetus (aw) 2016-01-21 13:03:34 -08:00
verify-xml.sh HADOOP-13963. /bin/bash is hard coded in some of the scripts. Contributed by Ajay Yadav. 2017-08-04 10:40:52 -07:00
win-paths-eg.cmd HADOOP-14667. Flexible Visual Studio support. Contributed by Allen Wittenauer 2018-03-19 16:05:55 -07:00

This directory contains tools to help in the development and release of Apache Hadoop.

  • bin

    • releasedocmaker

      Build release notes for a given Hadoop project or subproject. This is called from Maven when -Preleasedocs is used. See BUILDING.txt for more information.

    • shelldocs

      Create documentation for the Unix Shell API. This is called from Maven when -Pshelldocs is used.

    • smart-apply-patch

      Intelligently apply a patch file to a source tree.

    • test-patch

      Test a patch against a source tree.

  • create-release.sh

    Helps REs create a release of Apache Hadoop for distribution.

  • determine-flaky-tests-hadoop.py

    Given a jenkins test job, this script examines all runs of the job done within specified period of time (number of days prior to the execution time of this script), and reports all failed tests.

  • docker

    Various helpers for the start-build-env.sh script, including the Dockerfile itself. See parent BUILDING.txt for more information.

  • findHangingTest.sh

    Finds hanging test from Jenkins build output.

Previously, the scripts test-patch.sh, smart-apply-patch.sh, releasedocmaker.py, and shelldocs.py were in this directory. They have been moved to the Apache Yetus project (https://yetus.apache.org). These scripts have been replaced with wrapper scripts located in the bin directory. Command line options are generally different than the previous versions that shipped with older versions of Apache Hadoop.

The wrapper scripts will download, verify (if GPG is installed), and cache a local copy of Apache Yetus in the hadoop/patchprocess directory. The version that is used may be overridden by setting the HADOOP_YETUS_VERSION environment variable. The cache directory may be overwritten by setting the HADOOP_PATCHPROCESS directory. If a local version of Apache Yetus is already installed, it may be used instead by setting the YETUS_HOME environment variable to point to that directory.