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 MattFoley:
http://wiki.apache.org/hadoop/HowToRelease?action=diff&rev1=81&rev2=82

          1. Prepare to edit the website. {{{
  svn co https://svn.apache.org/repos/asf/hadoop/common/site ~/hadoop-site
  }}}
-       1. Update the documentation links in {{{ 
{common,hdfs,mapreduce}/author/src/documentation/content/xdocs/site.xml}}}.
+       1. Update the documentation links in {{{ 
main/author/src/documentation/content/xdocs/site.xml}}}.
-       1. Update the release news in {{{ 
{common,hdfs,mapreduce}/author/src/documentation/content/xdocs/releases.xml}}}.
+       1. Update the release news in {{{ 
main/author/src/documentation/content/xdocs/releases.xml}}}.
        1. Regenerate the site, review it, then commit it. {{{
- cd ~/hadoop-site/common
+ cd ~/hadoop-site/main
  ant -Dforrest.home=/usr/local/forrest -Djava5.home=/usr/local/jdk1.5 update
- cd ~/hadoop-site/hdfs
- ant -Dforrest.home=/usr/local/forrest -Djava5.home=/usr/local/jdk1.5 update
- cd ~/hadoop-site/mapreduce
- ant -Dforrest.home=/usr/local/forrest -Djava5.home=/usr/local/jdk1.5 update
- cd ~/hadoop-site
  svn commit -m "Updated site for release X.Y.Z."
  }}}
        1. It is not usually necessary to update the site front page 
([[http://hadoop.apache.org]]), but if it is needed, update 
{{{main/author/src/documentation/content/xdocs/index.xml}}}, then do {{{
@@ -225, +220 @@

  }}}
        1. Deploy your site changes. {{{
  ssh people.apache.org
- cd /www/hadoop.apache.org/common
+ cd /www/hadoop.apache.org/
  svn up
- cd /www/hadoop.apache.org/hdfs
- svn up
- cd /www/hadoop.apache.org/mapreduce
- svn up
- ## and only if needed:
- cd /www/hadoop.apache.org
- svn up
  }}}
-       1. Copy the new release docs to 
{{{people.apache.org:/www/hadoop.apache.org/common/docs/rX.Y.Z}}} and update 
the {{{docs/current}}} link, 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/docs/rX.Y.Z}}}, 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 
--wildcards '*/docs'
  chmod -R ug=rwX,o=rX hadoop-X.Y.Z
  chgrp -R hadoop hadoop-X.Y.Z
- cp -rp hadoop-X.Y.Z/docs /www/hadoop.apache.org/common/docs/rX.Y.Z
+ cp -rp hadoop-X.Y.Z/docs /www/hadoop.apache.org/docs/rX.Y.Z
  rm -r hadoop-X.Y.Z
+ }}}
+       1. If the {{{docs/current}}} and/or {{{docs/stable}}} links should be 
updated to the new release, do one or both of the following: {{{
+ ## update current
- cd /www/hadoop.apache.org/common/docs/
+ cd /www/hadoop.apache.org/docs/
+ rm current
  ln -s rX.Y.Z current
+ 
+ ## update stable
+ cd /www/hadoop.apache.org/docs/
+ rm stable
+ ln -s rX.Y.Z stable
  }}}
          1. Generate the jdiff API data for the new release by, in the branch 
directory, running {{{
  ant -Dversion=X.Y.Z api-xml

Reply via email to