Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

This document describe the process to release apache Hadoop Ozone. The process is not yet scripted and the documentation is work in progress

Pre-Vote

Tag the repository

git tag -s ozone-0.3.0-alpha-RC0

Set up environment variables

export VERSION=0.34.0-alpha

export RELEASE_DIR=~/home/elek/projects/ozone-release/ (ozone-release /needs to be created)

export CODESIGNINGKEY=your_gpg_key_id

...

git clean -dfx

Update the versions

find -name pom.xml -type f | xargs -n 1 sed -i 's/3.3.0-SNAPSHOT/ozone-$VERSION/g'

Use below command or use IDE to replace "0.4.0-SNAPSHOT" to "0.4.0-alpha".

find . find -name pom.xml -type f | xargs -n 1 sed -i 's/0.34.0-SNAPSHOT/0.34.0-alpha/g'

Commit the changes

git commit -am "commit updated ozone version"

Tag the repository

git tag -s ozone-0.4.0-alpha-RC0

Create the release artifacts

...

  1. Run rat

...

  1. check

./hadoop-ozone/dev-support/checks/rat.sh

mvn clean -fn -P hddsmvn install -Dmaven.javadoc.skip=true -DskipTests -DskipShade -Psign,dist,src,hdds,hdds-src -Dtar -Dgpg.keyname=$CODESIGNINGKEY

...

cp hadoop-dist/target/hadoop-ozone-$VERSION*-src-with-hdds.tar.gz $RELEASE_DIR/hadoop-ozone-$VERSION-src.tar.gz

...