Dear Wiki user, You have subscribed to a wiki page or wiki category on "Hadoop Wiki" for change notification.
The following page has been changed by NigelDaley: http://wiki.apache.org/hadoop/HowToRelease The comment on the change is: Update for Hadoop 0.20.0 ------------------------------------------------------------------------------ ''This page is prepared for Hadoop Core committers. You need committer rights to create a new Hadoop Core release.'' + + These instructions have been updated for Hadoop 0.20.0 and later releases. For earlier releases, check out an [http://wiki.apache.org/hadoop/HowToRelease?action=recall&rev=48 older revision] of this page. = Preparation = @@ -13, +15 @@ 1. Notify developers on the #hadoop IRC channel that you are about to branch a release. 1. Update {{{CHANGES.txt}}} to include the release version and date (use {{{Unreleased}}} for the date if it is unknown) and remove {{{Trunk (unreleased changes)}}}. - 1. Regenerate the documentation. {{{ - ant docs - }}} 1. Commit these changes to trunk. {{{ svn commit -m "Preparing for release X.Y.Z" }}} @@ -37, +36 @@ 1. Check out the branch with: {{{ svn co https://svn.apache.org/repos/asf/hadoop/core/branches/branch-X.Y }}} + 1. Update {{{CHANGES.txt}}} to include the release version and date (this change must be committed to trunk and any intermediate branches between trunk and the branch being released). - 1. Update {{{CHANGES.txt}}} to include the release version and date. - 1. Regenerate the documentation. {{{ - ant docs - }}} - 1. Update {{{docs/releasenotes.html}}} with release notes for this release. + 1. Update {{{src/docs/releasenotes.html}}} with release notes for this release. 1. Update the version number in {{{build.xml}}} to be ''hadoop-X.Y.N-dev'', where ''N'' is one greater than the release being made. 1. Commit these changes. {{{ svn commit -m "Preparing for release X.Y.Z" @@ -65, +61 @@ 1. Have a recent version of [http://www.eclipse.org/ Eclipse] installed, so that the eclipse plugin will build. - 1. Have [http://jdiff.sourceforge.net/ JDiff] 1.1.1 or later installed. - 1. Have [http://xerces.apache.org/xerces-c/download.cgi Xerces C] 2.8.x installed. = Building = @@ -75, +69 @@ export JAVA_HOME=/path/to/32bit/jdk export CFLAGS=-m32 export CXXFLAGS=-m32 - ant -Dversion=X.Y.Z -Dcompile.native=true -Dcompile.c++=true -Dlibhdfs=1 -Dlibrecordio=true -Dxercescroot=/usr/local/xerces-c -Declipse.home=/usr/lib/eclipse -Djdiff.home=/usr/local/jdiff clean package-libhdfs api-report tar test test-libhdfs + ant -Dversion=X.Y.Z -Dcompile.native=true -Dcompile.c++=true -Dlibhdfs=1 -Dlibrecordio=true -Dxercescroot=/usr/local/xerces-c -Declipse.home=/usr/lib/eclipse -Dforrest.home=/usr/local/forrest -Djava5.home=/usr/local/jdk1.5 clean api-report tar test test-c++-libhdfs export JAVA_HOME=/path/to/64bit/jdk export CFLAGS=-m64 export CXXFLAGS=-m64
