...
Tag the release and delete the release candidate tag. Do it from the release branch:
No Format git tag -s rel/release-X.Y.Z -m "HiveX.Y.Z release." git push origin rel/release-X.Y.Z git tag -d release-X.Y.Z-rcR git push origin :release-X.Y.Z-rcR
If errors happen while "git tag -s", try to configure the git signing key by "git config user.signingkey your_gpg_key_id" then rerun the command.
Move the release artifacts to the release area of the project (https://dist.apache.org/repos/dist/release/hive/). Using svn mv command is important otherwise you may hit size limitations applying to artifacts(
)Jira server ASF JIRA serverId 5aa69414-a9e9-3523-82ec-879b028fb15b key INFRA-23055 No Format svn mv https://dist.apache.org/repos/dist/dev/hive/hive-X.Y.Z https://dist.apache.org/repos/dist/release/hive/hive-X.Y.Z -m "Move hive-X.Y.Z release from dev to release"
- Wait till the release propagates to the mirrors and appears under: https://dlcdn.apache.org/hive/
In your base hive source directory, generate javadocs as follows:
No Format mvn clean install javadoc:javadoc javadoc:aggregate -DskipTests -Pjavadoc,iceberg
After you run this, you should have javadocs present in your <hive_source_dir>/target/site/apidocs
Check out the javadocs svn repository as follows:
No Format svn co --depth empty https://svn.apache.org/repos/infra/websites/production/hive/content/javadocs
Copy the generated javadocs from the source repository to the javadocs repository, add and commit:
No Format mkdir <hive_javadocs_repo_dir>/rX.Y.Z/ cd <hive_javadocs_repo_dir> cp -r <hive_source_dir>/target/site/apidocs ./rX.Y.Z/api svn add rX.Y.Z svn commit
If this is a bugfix release, svn rm the obsoleted version. (For eg., when committing javadocs for r0.13.1, r0.13.0 would have been removed)
Prepare to edit the website.
No Format git clone https://github.com/apache/hive-site.git
Edit files content/downloads.mdtext and javadoc.mdtext to appropriately add entries for the new release in the appropriate location. For example, for 1.2.0, the entries made were as follows:
Code Block language text ./downloads.md:### 18 May 2015 : release 1.2.0 available ./downloads.md:You can look at the complete [JIRA change log for this release][HIVE_1_2_0_CL]. ./downloads.md:[HIVE_1_2_0_CL]: https://issues.apache.org/jira/secure/ReleaseNote.jspa?version=12329345&styleName=Text&projectId=12310843 ./javadoc.md: * [Hive 1.2.0 Javadocs][r1.2.0] ./javadoc.md:[r1.2.0]: /javadocs/r1.2.0/api/index.html
As you can see, you will need a release note link for this release as created previously for this section.
Push your changes to the https://github.com/apache/hive-site/tree/gh-pages branch, and you can preview the results at https://apache.github.io/hive-site/. If everything is ok, then you can push your changes to https://github.com/apache/hive-site/tree/main branch and see the results at https://hive.apache.org/ site.
- Update JIRA
- Ensure that only issues in the "Fixed" state have a "Fix Version" set to release X.Y.Z.
- Release the version. Visit the releases page. Select the version number you are releasing, and hit the release button. You need to have the "Admin" role in Hive's Jira for this step and the next.
- Close issues resolved in the release. Disable mail notifications for this bulk change.
Login to the Apache Nexus server and mark the release candidate artifacts as released.
Add the release in Apache Committee Report Helper for the next board report to pick that up automatically.
- Check the Docker image for the release is present.
Send a release announcement to Hive
user
anddev
lists as well as the Apacheannounce
list. This email should be sent from your Apache email address:No Format From: you@apache.org To: user@hive.apache.org, dev@hive.apache.org, announce@apache.org Subject: [ANNOUNCE] Apache Hive X.Y.Z Released The Apache Hive team is proud to announce the release of Apache Hive version X.Y.Z. The Apache Hive (TM) data warehouse software facilitates querying and managing large datasets residing in distributed storage. Built on top of Apache Hadoop (TM), it provides, among others: * Tools to enable easy data extract/transform/load (ETL) * A mechanism to impose structure on a variety of data formats * Access to files stored either directly in Apache HDFS (TM) or in other data storage systems such as Apache HBase (TM) * Massively parallel query execution via Apache Tez For Hive release details and downloads, please visit: https://hive.apache.org/downloads.html Hive X.Y.Z Release Notes are available here: [UPDATE THIS LINK] https://issues.apache.org/jira/secure/ReleaseNote.jspa?projectId=12310843&version=12316178 For the Docker image, check: https://hub.docker.com/r/apache/hive/tags We would like to thank the many contributors who made this release possible. Regards, The Apache Hive Team
...