Skip to end of metadata
Go to start of metadata


Apache Release Documentation

Code Signing Key

Create a code signing gpg key for release signing; use <your Apache ID> for your primary ID for the code signing key. See the Apache Release Signing documentation for further information.

Ensure JIRA Issues are Appropriately Tagged for the Release 

Ensure that all HAWQ JIRA issues that are addressed in this release are marked with the release version in the ‘FixVersion’ field of the issue.


Create the Release Candidate

Prepare Tarballs

  1. Branch your release:

    git checkout -b <your release name> <commit sha1> 

    push to origin:
    git push origin <your release name>

  2. Apply signed tag on release branch and push to origin


     git tag -u <GPG KEY ID> --sign <your release name>-rc# -m "Apache HAWQ <your release name> RC#" <SHA of HEAD of branch>

     git push origin <your release name>-rc#

  3. Make a tarball and gzip:
    git archive -o ../apache-hawq-src-<your release name>.tar --prefix=apache-hawq-src-<your release name>/ <your tag/branch name>
    gzip ../apache-hawq-src-<your release name>.tar


    $ git archive -o ../apache-hawq-src- --prefix=apache-hawq-src-
    $ gzip ../apache-hawq-src-

  4.  Prepare SHA256 and ASC files from the source tarball:

    shasum -a 256 apache-hawq-src-<your release name>.tar.gz > apache-hawq-src-<your release name>.tar.gz.sha256 
    gpg --detach-sign -a apache-hawq-src-<your release name>.tar.gz


    $ shasum -a 256 apache-hawq-src- > apache-hawq-src-
    $ gpg --detach-sign -a apache-hawq-src-
    You need a passphrase to unlock the secret key for
    user: "Edward Bartolo Espino (CODE SIGNING KEY) <>"
    4096-bit RSA key, ID 57325522, created 2017-01-09

    $ ls -al apache-hawq-src-*
    -rw-r--r-- 1 espino staff 35214063 Jan 10 11:04 apache-hawq-src-
    -rw-r--r-- 1 espino staff 819 Jan 10 11:09 apache-hawq-src-
    -rw-r--r-- 1 espino staff 83 Jan 10 11:10 apache-hawq-src-
    -rw-r--r-- 1 espino staff 84 Jan 10 11:10 apache-hawq-src-
  5. Retrieve the subversion dev hawq repo
    Example: svn checkout --username=<your apache user>
  6. Create a local folder for the release (e.g. in svn. We use apache's distribution repo:
  7. Move the files into the release folder on local disk.
  8. svn add <release folder>
  9. Commit artifacts:
    Example: svn commit -m 'adding RC1 candidate release artifacts' --username=<your apache user id>

Validate the Release Candidate 

As per the Apache documentation, verify that the release candidate artifacts satisfy the following:

  • PGP signatures and SHA256 checksum verification

Example (performed on a Macbook Pro: brew install gpg2 coreutils):

$ brew install gpg coreutils
brew install gpg coreutils
Warning: gnupg 2.2.9 is already installed
Warning: coreutils 8.30 is already installed
$ which gpg gsha256sum gmd5sum
$ gpg --import ../KEYS

gpg: key 60E8C5A6D0D6D44A: "Caleb Welton <>" not changed
gpg: key 0C2F24469AF9C0EE: "Ting (Goden) Yao (CODE SIGNING KEY) <>" not changed
gpg: key 0BD297A18051460D: "Ting (Goden) Yao (CODE SIGNING KEY) <>" not changed
gpg: key 13971DA39475BD5D: 7 signatures not checked due to missing keys
gpg: key 13971DA39475BD5D: "Roman V Shaposhnik (CODE SIGNING KEY) <>" not changed
gpg: key 83BCBA982858A0C9: "Lei Chang <>" not changed
gpg: key FC0662F257325522: "Edward Bartolo Espino (CODE SIGNING KEY) <>" not changed
gpg: key 8FECDA881B8B6872: "Ruilong Huo (CODE SIGNING KEY) <>" not changed
gpg: key CE60F90D1333092A: "Yi Jin <>" not changed
gpg: key 280B695FCA7FAEB2: "Radar Lei <>" not changed
gpg: Total number processed: 9
gpg: unchanged: 9

gpg --verify apache-hawq-src-

gpg: assuming signed data in 'apache-hawq-src-'
gpg: Signature made Tue Sep 11 15:54:29 2018 CST
gpg: using RSA key 31136E4DB96401A60446D269280B695FCA7FAEB2
gpg: Good signature from "Radar Lei <>" [ultimate]

$ gsha256sum --check apache-hawq-src-
apache-hawq-src- OK


Vote on the Release

Release voting must successfully pass within the Apache HAWQ community via the mail list. 

General information regarding the Apache voting process can be found here.

Apache HAWQ Community Vote 

To vote on a candidate release, send an email to the dev list with subject: [VOTE]: Apache HAWQ <release version> Release and a body similar to the template below.  Use a Text Editor without formatting when composing the email.

This is the vote for <release name> of Apache HAWQ. This is a Source only release.
The vote will run for at least 72 hours and will close on <vote closing date>.
Release Notes (Jira generated):
<JIRA Release Notes URL>
Release verification steps can be found at:
Git branch for the release:<release name>
Sources for the release:<release name>.RC#/apache-hawq-src-<release name>.tar.gz
Source release verification:
PGP Signature:<release name>.RC#/apache-hawq-src-<release name>.tar.gz.asc
MD5/SHA256 Hash:<release name>.RC#/apache-hawq-src-<release name>.tar.gz.md5<release name>.RC#/apache-hawq-src-<release name>.tar.gz.sha256
Keys to verify the signature of the release artifact are available at:
The artifact(s) have been signed with Key : <CODE SIGNING KEY ID>
Please vote accordingly:
[ ] +1 approve
[ ] +0 no opinion
[ ] -1 disapprove (and reason why)

If any -1 (binding) votes are entered, then address them such that the voter changes their vote to a +1 (binding) or cancel the vote, fix the issues, and start over with Prepare Tarballs.

Once 72 hours has passed (which is generally preferred) and/or at least three +1 (binding) votes have been cast with no -1 (binding) votes, send an email closing the vote and pronouncing the release candidate a success. Please use the subject:[RESULT][VOTE]: Apache HAWQ <release version> Release

The Apache HAWQ <release version> vote is now closed and has
passed as follows:

[number] +1 (binding) votes
[number] -1 (binding) votes

A vote Apache HAWQ <release version> will now be called on


Publishing and Distributing Release

  1. Finalizing your tag
    switching to master branch
    git tag -s rel/v{version} <commit SHA> -m "Apache HAWQ {version) release (<other comments>)"


    Sign your release tag

    You need to configure your git user signing key first before you can sign a tag.

    git config --global user.signingkey <Your secret key SHA>
  2. Push your tag to remote (origin)
    git push origin rel/v{version}
  3. Move tarballs from staging (dev) folder to release location:

    svn mv{version}.RC#/{version}

    Commit Message

    As if you put https URL in svn commands, it'll commit automatically. A text editor will popup for you to edit commit message, put something like: "Release Apache HAWQ {{version}}"

  4. Add download link on hawq website: 
    Use mirror for latest download, e.g.
    Use dist server links for binary signatures and hashes. e.g.
    Use archive server links for archives downloads. e.g.

  5. Go to to release the specific version (need admin permission, under "Version")
  6. Add the document for the version into the hawq website and modify the link if needed. (


Announce the Release

After doing the above change, wait for at least 24 hours and then announce the release by send an email to, and with the subject: [ANNOUNCE] Apache HAWQ <release number> Release and a body along the lines of:

Apache HAWQ Project Team is proud to announce Apache
HAWQ <release version> has been released.

Apache HAWQ combines exceptional MPP-based analytics

performance, robust ANSI SQL compliance, Hadoop ecosystem
integration and manageability, and flexible data-store format
support, all natively in Hadoop, no connectors required. Built
from a decade’s worth of massively parallel processing (MPP)
expertise developed through the creation of the Pivotal
Greenplum® enterprise database and open source PostgreSQL, HAWQ
enables to you to swiftly and interactively query Hadoop data,
natively via HDFS.*Download Link*:

*About this release*
This is a release having both source code and binary.
All changes:
*HAWQ Resources:*

   - JIRA:
   - Wiki:
   - Mailing list(s):

*Know more about HAWQ:*

- Apache HAWQ Team

General Apache information regarding announcing a release may be found here.




  • No labels