Dear Wiki user,

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

The "HowToCommit" page has been changed by OwenOMalley.
http://wiki.apache.org/hadoop/HowToCommit?action=diff&rev1=13&rev2=14

--------------------------------------------------

  svn merge -r 4000:4001 https://svn.apache.org/repos/asf/hadoop/core/trunk .
  svn commit
  }}}
-     
+ 
+ == Patches that break HDFS and MapReduce ==
+ 
+ In general, the process flow is that Hudson notices the checkin and 
automatically builds the new versions of the common libraries and pushes them 
to Nexus, the Apache Maven repository.
+ 
+ However, to speed up the process or if Hudson is not working properly, 
developers can push builds manually to Nexus. To do so, they need to create a 
file in ~/.m2/settings.xml that looks like: {{{
+ <settings>
+   <servers>
+     <!-- To publish a snapshot of some part of Maven -->
+     <server>
+       <id>apache.snapshots.https</id>
+       <username> <!-- YOUR APACHE SVN USERNAME --> </username>
+       <password> <!-- YOUR APACHE SVN PASSWORD --> </password>
+     </server>
+     <!-- To publish a website of some part of Maven -->
+     <server>
+       <id>apache.website</id>
+       <username> <!-- YOUR APACHE SSH USERNAME --> </username>
+       <filePermissions>664</filePermissions>
+       <directoryPermissions>775</directoryPermissions>
+     </server>
+     <!-- To stage a release of some part of Maven -->
+     <server>
+       <id>apache.releases.https</id>
+       <username> <!-- YOUR APACHE SVN USERNAME --> </username>
+       <password> <!-- YOUR APACHE SVN PASSWORD --> </password>
+     </server>
+     <!-- To stage a website of some part of Maven -->
+     <server>
+       <id>stagingSite</id>
+       <!-- must match hard-coded repository identifier in site:stage-deploy 
-->
+       <username> <!-- YOUR APACHE SSH USERNAME --> </username>
+       <filePermissions>664</filePermissions>
+       <directoryPermissions>775</directoryPermissions>
+     </server>
+   </servers>
+ </settings>
+ }}}
+ 
+ After you have committed the change to Common, do an "ant mvn-publish" to 
publish the new jars. 
+ 
+ As a security note, since the settings.xml file contains your Apache svn 
password in the clear, I prefer to leave the settings file encrypted using gpg 
when I'm not using it. I also don't ever publish from a shared machine, but 
that is just me being paranoid. :)
+ 
  == Dialog ==
  
  Committers should hang out in the #hadoop room on irc.freenode.net for 
real-time discussions.  However any substantive discussion (as with any 
off-list project-related discussion) should be re-iterated in Jira or on the 
developer list.

Reply via email to