hadoop-common-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <wikidi...@apache.org>
Subject [Hadoop Wiki] Update of "HowToReleasePostMavenization" by Arun C Murthy
Date Tue, 01 Nov 2011 09:13:30 GMT
Dear Wiki user,

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

The "HowToReleasePostMavenization" page has been changed by Arun C Murthy:
http://wiki.apache.org/hadoop/HowToReleasePostMavenization?action=diff&rev1=4&rev2=5

  = Building =
  
  	1. Build the release & run unit tests.  This is captured in [[http://svn.apache.org/viewvc/hadoop/nightly/hudsonBuildHadoopRelease.sh?view=markup]].
{{{
+ # set version
+ $ mvn versions:set -DnewVersion=$version
  # first pass, make the distribution
- $ mvn clean package install site -Psrc -Pnative -Pdist -Dtar -DskipTests=true -Dcontainer-executor.conf.dir=/etc/hadoop
+ $ mvn clean package install site -Psrc -Pnative -Pdist -DskipTests=true -Dcontainer-executor.conf.dir=/etc/hadoop
  
  # remove ivy cache and build MR1 jars, copy them to the distribution 
  $ rm -rf ~/.ivy2/cache/org.apache.hadoop*
@@ -103, +105 @@

  $ for i in `find build -name *.jar | grep hadoop | grep -v ivy`; do echo $i; cp $i ../hadoop-dist/target/hadoop-0.23.0/;
done
  $ cd ..
  
+ # stage site
+ $ mvn site:stage
+ 
  # release notes
+ $ cp hadoop-common-project/hadoop-common/src/main/docs/releasenotes.html target/staging/hadoop-project/hadoop-project-dist/
- $ mkdir hadoop-dist/target/hadoop-0.23.0/share/doc/hadoop/mapreduce
- $ cp hadoop-common-project/hadoop-common/src/main/docs/releasenotes.html hadoop-dist/target/hadoop-0.23.0/share/doc/hadoop/common/
  
- # javadocs
+ # copy site + javdocs
- $ cp -R target/site/hadoop-project/api hadoop-dist/target/hadoop-0.23.0/share/doc/hadoop/common/
+ $ cp -R target/staging/hadoop-project/* hadoop-dist/target/hadoop-0.23.0/share/doc/hadoop/
  
+ # create the release tarball
+ $ mvn package -Dtar -DskipTests=true
- # site
- $ cp -R hadoop-mapreduce-project/hadoop-yarn/hadoop-yarn-site/target/site/* hadoop-dist/target/hadoop-0.23.0/share/doc/hadoop/common/
- $ hadoop-dist/target/hadoop-0.23.0/share/doc/hadoop/common/conf
- $ cp 
- $ hadoop-dist/target/hadoop-0.23.0/share/doc/hadoop/common/hadoop-auth
- $ cp 
  }}}
  	1. Check that release file looks ok - e.g. install it and run examples from tutorial.
          1. Generate the checksums of the release file. {{{

Mime
View raw message