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 "HowToRelease" by MattFoley
Date Sat, 17 Dec 2011 00:20:07 GMT
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=73&rev2=74

Comment:
provide actual ant arguments that worked in release-1.0.0

    -Dlibhdfs=true \
    -Dlibrecordio=true \
    -Dtest.junit.output.format=xml \                                                     
                                           
-   veryclean api-report task-controller tar rpm deb test test-c++-libhdfs | tee build_log_dir/build32-X.Y.Z.log
+   veryclean api-report compile-core-native task-controller compile-c++ tar rpm deb \
+      | tee build_log_dir/build32-X.Y.Z.log
  
  ## build 64-bit
  export JAVA_HOME=/path/to/64bit/jdk
  export CFLAGS=-m64
  export CXXFLAGS=-m64
  ant \
+   -Dforrest.home=/usr/local/forrest \
+   -Djava5.home=/usr/local/jdk1.5 \
+   -Dfindbugs.home=/usr/local/findbugs \                                                
                       
    -Dversion=X.Y.Z \
    -Dhadoop.version=X.Y.Z \                                                             
                         
    -Dcompile.native=true \
    -Dcompile.c++=true \
+   -Dlibhdfs=true \
+   -Dlibrecordio=true \
    compile-core-native compile-c++ tar rpm deb | tee build_log_dir/build64-X.Y.Z.log
  
  ## run tests (back in 32-bit mode)
@@ -128, +134 @@

  export CFLAGS=-m32
  export CXXFLAGS=-m32
  ant \
+   -Dforrest.home=/usr/local/forrest \
+   -Djava5.home=/usr/local/jdk1.5 \
    -Dfindbugs.home=/usr/local/findbugs \                                                
                       
    -Declipse.home=/usr/lib/eclipse \
    -Dxercescroot=/usr/local/xerces-c \
@@ -152, +160 @@

  scp -p hadoop-X.Y.Z.tar.gz* people.apache.org:public_html/hadoop-X.Y.Z-candidate-0
  }}}
  	1. Stage the release candidate to the maven repository: {{{
- ant -Dversion=X.Y.Z -Drepo=staging mvn-deploy
+ ant \
+   -Dforrest.home=/usr/local/forrest \
+   -Djava5.home=/usr/local/jdk1.5 \
+   -Dfindbugs.home=/usr/local/findbugs \                                                
                       
+   -Dversion=X.Y.Z \
+   -Dhadoop.version=X.Y.Z \                                                             
                         
+   -Drepo=staging \                                                                     
                            
+   mvn-deploy
+ ## Be ready to respond to the interactive request for your GPG pass-phrase, for signing
the artifacts.
  }}}
  	1. Log into [[https://repository.apache.org|Nexus]], select {{{Staging}}} from the left
navigation pane, right-click on the pushed repository, and {{{close}}} the release.
          1. Call a release vote on common-dev at hadoop.apache.org.

Mime
View raw message