You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-commits@hadoop.apache.org by Apache Wiki <wi...@apache.org> on 2016/01/26 01:11:09 UTC

[Hadoop Wiki] Update of "HowToRelease" by VinodKumarVavilapalli

Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Hadoop Wiki" for change notification.

The "HowToRelease" page has been changed by VinodKumarVavilapalli:
https://wiki.apache.org/hadoop/HowToRelease?action=diff&rev1=78&rev2=79

Comment:
Updating tags related information after the recent ASF level change to push and guard tags under rel/ . And other minor edits.

  }}}
    1. Generate {{{releasenotes.html}}} with release notes for this release. You generate these with:
    {{{
- python ./dev-support/relnotes.py -v $(vers)
+ python ./dev-support/relnotes.py -v ${vers}
  }}}
     . If your release includes more then one version you may add additional -v options for each version.  By default the previousVersion mentioned in the notes will be X.Y.Z-1, if this is not correct you can override this by setting the --previousVer option.
    1. Update {{{releasenotes.html}}}
    {{{
- mv releasenotes.$(vers).html ./hadoop-common-project/hadoop-common/src/main/docs/releasenotes.html
+ mv releasenotes.${vers}.html ./hadoop-common-project/hadoop-common/src/main/docs/releasenotes.html
  }}}
     . Note that the script generates a set of notes for HDFS, HADOOP, MAPREDUCE, and YARN too, but only common is linked from the html documentation so the indavidual ones are ignored for now.
    1. Commit these changes to branch-X.Y.Z
@@ -128, +128 @@

   1. Copy release files to a public place and ensure they are readable.
   {{{
  ssh people.apache.org mkdir public_html/hadoop-${version}
- scp -p hadoop-${version}.tar.gz* people.apache.org:public_html/hadoop-${version}
+ scp -p hadoop-${version}*.tar.gz* people.apache.org:public_html/hadoop-${version}
- ssh people apache.org chmod -R a+r public_html/hadoop-${version}
+ ssh people.apache.org chmod -R a+r public_html/hadoop-${version}
  }}}
   1. Log into [[https://repository.apache.org|Nexus]], select "{{{Staging}}} Repositories" from the left navigation pane, select the check-box against the specific hadoop repository, and {{{close}}} the release.
   1. Call a release vote on common-dev at hadoop.apache.org. It's usually a good idea to start the release vote on Monday so that people will have a chance to verify the release candidate during the week. [[https://www.mail-archive.com/common-dev@hadoop.apache.org/msg13339.html|Example]]
@@ -145, +145 @@

  }}}
   1. Tag the release. Do it from the release branch and push the created tag to the remote repository:
   {{{
- git tag -s release-X.Y.Z -m "Hadoop X.Y.Z release"
+ git tag -s rel/release-X.Y.Z -m "Hadoop X.Y.Z release"
+ git push origin rel/release-X.Y.Z
  }}}
   1. Use [[https://builds.apache.org/job/HADOOP2_Release_Artifacts_Builder|this Jenkins job]] to create the final release files
   1. Copy release files to the distribution directory