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 Thu, 03 Nov 2011 06:50:15 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=12&rev2=13

  
  To build an official release, you must:
  
+   1. Use a 64-bit Linux system. Currently we don't have support for 32-bit binaries in our
maven builds.
-   1. Use a 64-bit Linux system, so that we can [[http://hadoop.apache.org/common/docs/current/native_libraries.html|build
native code]] for both 32- and 64-bit architectures.
- 
-   1. Have a recent version of [[http://www.eclipse.org/|Eclipse]] installed, so that the
eclipse plugin will build.
- 
-   1. Have [[http://xerces.apache.org/xerces-c/download.cgi|Xerces C]] 2.8.x installed.
- 
- [[https://issues.apache.org/jira/browse/HADOOP-6846|HADOOP-6846]] has some scripts that
make it easier to build and smoke test a release for 0.21.0 and later.
  
  = Building =
  
@@ -100, +94 @@

  $ mvn versions:set -DnewVersion=$version
  
  # first pass, make the distribution (do not use 'clean')
- $ mvn package install site -Psrc -Pnative -Pdist -DskipTests=true -Dcontainer-executor.conf.dir=/etc/hadoop
+ $ mvn package install site deploy -Psrc -Pnative -Pdist,sign -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*
@@ -121, +115 @@

  $ mkdir target/staging/hadoop-project/hadoop-project-dist/hadoop-mapreduce
  $ cp hadoop-mapreduce-project/CHANGES.txt target/staging/hadoop-project/hadoop-project-dist/hadoop-mapreduce
  
+ # copy NOTICE.txt README.txt LICENSE.txt
+ $ cp hadoop-common-project/hadoop-common/NOTICE.txt hadoop-0.23.0
+ $ cp hadoop-common-project/hadoop-common/README.txt hadoop-0.23.0
+ $ cp hadoop-common-project/hadoop-common/LICENSE.txt hadoop-0.23.0
+ 
  # copy site + javdocs
  $ cp -R target/staging/hadoop-project/* hadoop-dist/target/hadoop-0.23.0/share/doc/hadoop/
  
- # create the src and binary release tarball
+ # finally, create src/binary tarballs
  $ cd hadoop-dist/target
- $ tar -czf hadoop-0.23.0.tar.gz hadoop-0.23.0
+ 
+ # src tarball after copying NOTICE.txt README.txt LICENSE.txt
  $ tar -xzf hadoop-dist-0.23.0-src.tar.gz
  $ mv hadoop-dist-0.23.0-src hadoop-0.23.0-src
+ $ cp hadoop-common-project/hadoop-common/NOTICE.txt hadoop-0.23.0-src
+ $ cp hadoop-common-project/hadoop-common/README.txt hadoop-0.23.0-src
+ $ cp hadoop-common-project/hadoop-common/LICENSE.txt hadoop-0.23.0-src
  $ tar -czf hadoop-0.23.0-src.tar.gz hadoop-0.23.0-src
+ 
+ # binary tarball after copying NOTICE.txt README.txt LICENSE.txt
+ $ cp hadoop-common-project/hadoop-common/NOTICE.txt hadoop-0.23.0
+ $ cp hadoop-common-project/hadoop-common/README.txt hadoop-0.23.0
+ $ cp hadoop-common-project/hadoop-common/LICENSE.txt hadoop-0.23.0
+ $ tar -czf hadoop-0.23.0.tar.gz hadoop-0.23.0
  }}}
  	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