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 07:01:44 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=2&rev2=3

  = Building =
  
  	1. Build the release & run unit tests.  This is captured in [[http://svn.apache.org/viewvc/hadoop/nightly/hudsonBuildHadoopRelease.sh?view=markup]].
{{{
+ # first pass, make the distribution
  $ mvn clean package install site -Psrc -Pnative -Pdist -Dtar -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*
  $ cd hadoop-mapreduce-project
  $ ant veryclean all-jars -Dversion=$version -Dresolvers=internal
  $ 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 ..
+ 
+ # release notes
+ $ 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/
+ $ cp hadoop-hdfs-project/hadoop-hdfs/src/main/docs/releasenotes.html hadoop-dist/target/hadoop-0.23.0/share/doc/hadoop/hdfs/
+ $ cp hadoop-mapreduce-project/src/docs/releasenotes.html hadoop-dist/target/hadoop-0.23.0/share/doc/hadoop/mapreduce/
+ 
+ # javadocs
+ $ cp -R target/site/hadoop-project/api hadoop-dist/target/hadoop-0.23.0/share/doc/hadoop/common/
+ 
+ # site
+ 
  }}}
  	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