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 and beyond ------------------------------------------------------------------------------ 1. Prepare to edit the website. {{{ svn co https://svn.apache.org/repos/asf/hadoop/core/site }}} - 1. Add the newly tagged release to the website as an external. When adding the new branch, leave the old branches so that links do not break. Once the external is added, update your workspace to checkout the new external reference. {{{ - svn propedit svn:externals publish/docs - svn update - }}} 1. Update the documentation links in {{{author/src/documentation/content/xdocs/site.xml}}}. 1. Update the release news in {{{author/src/documentation/content/xdocs/releases.xml}}}. - 1. Update the link {{{publish/docs/current}}}. 1. Regenerate the site, review it, then commit it. {{{ - ant + ant -Dforrest.home=/usr/local/forrest -Djava5.home=/usr/local/jdk1.5 firefox publish/index.html svn commit -m "Updated site for release X.Y.Z." }}} @@ -129, +124 @@ cd /www/hadoop.apache.org/core svn up }}} - 1. Copy the new Javadoc to {{{people.apache.org:/www/hadoop.apache.org/core/docs/rX.Y.Z/api}}}, by doing the following in your home directory on people.apache.org: {{{ + 1. Copy the new release docs to {{{people.apache.org:/www/hadoop.apache.org/core/docs/rX.Y.Z}}} and update the {{{docs/current}}} link, by doing the following in your home directory on people.apache.org: {{{ ssh people.apache.org - tar xvf /www/www.apache.org/dist/hadoop/core/hadoop-X.Y.Z/hadoop-X.Y.Z.tar.gz '*/docs/api' + tar xvf /www/www.apache.org/dist/hadoop/core/hadoop-X.Y.Z/hadoop-X.Y.Z.tar.gz '*/docs' - tar xvf /www/www.apache.org/dist/hadoop/core/hadoop-X.Y.Z/hadoop-X.Y.Z.tar.gz '*/docs/jdiff' chmod -R 775 hadoop-X.Y.Z chgrp -R hadoop hadoop-X.Y.Z - cp -rp hadoop-X.Y.Z/docs/api /www/hadoop.apache.org/core/docs/rX.Y.Z + cp -rp hadoop-X.Y.Z/docs /www/hadoop.apache.org/core/docs/rX.Y.Z - cp -rp hadoop-X.Y.Z/docs/jdiff /www/hadoop.apache.org/core/docs/rX.Y.Z rm -r hadoop-X.Y.Z + cd /www/hadoop.apache.org/core/docs/ + ln -s rX.Y.Z current }}} - 1. Generate the jdiff API data for the new release by, in the branch directory, running {{{ ant -Dversion=X.Y.Z -Djdiff.home=/usr/local/jdiff api-xml }}} then commit the XML file generated in docs/jdiff to both trunk and to the branch (and any intermediate branches between trunk and the branch being released). {{{
