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 "HowToContribute" by SteveLoughran
Date Wed, 28 Sep 2011 16:52:30 GMT
Dear Wiki user,

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

The "HowToContribute" page has been changed by SteveLoughran:

maven sucks too. It thinks it knows better, but it doesn't.

  ==== Using Maven ====
  Hadoop 0.23 and later is built using [[http://maven.apache.org/|Apache Maven]], version
3 or later. (Parts of MapReduce are still built using Ant, see the instructions in the {{{INSTALL}}}
file in {{{hadoop-mapreduce}}} for details.)
+ Maven likes to download things, especially on the first run. 
+  1. Be online for that first build, on a good network
+  1. To set the Maven proxy setttings, see http://maven.apache.org/guides/mini/guide-proxies.html
+  1. Because Maven doesn't pass proxy settings down to the Ant tasks it runs [[https://issues.apache.org/jira/browse/HDFS-2381|HDFS-2381]]
some parts of the Hadoop build may fail. The fix for this is to pass down the Ant proxy settings
in the build Unix: {{{mvn $ANT_OPTS}}}; windows   {{{mvn %ANT_OPTS%}}}. 
  === Generating a patch ===
  ==== Unit Tests ====
  Please make sure that all unit tests succeed before constructing your patch and that no
new javac compiler warnings are introduced by your patch.

View raw message