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 SomeOtherAccount
Date Fri, 15 Aug 2014 14:10:04 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 SomeOtherAccount:
https://wiki.apache.org/hadoop/HowToContribute?action=diff&rev1=93&rev2=94

  
  === Native libraries ===
  
- On Linux, you need the tools to create the native libraries.
+ On Unix, you need the tools to create the native libraries: LZO headers,zlib headers, gcc,
OpenSSL headers, cmake, protobuf dev tools, and libtool, and the GNU autotools (automake,
autoconf, etc).
  
  For RHEL (and hence also CentOS):
  {{{
@@ -90, +90 @@

  
  To install and use ProtocolBuffers
  
- ==== Linux ====
+ ==== Unix ====
  
  Install the protobuf packages ''provided they are current enough'' -see the README file
for the current version. If they are too old, uninstall any version you have and follow the
instructions.
  
@@ -135, +135 @@

   * Code must be formatted according to [[http://www.oracle.com/technetwork/java/codeconv-138413.html|Sun's
conventions]], with one exception:
    * Indent two spaces per level, not four.
   * Contributions must pass existing unit tests.
-  * New unit tests should be provided to demonstrate bugs and fixes.  [[http://www.junit.org|JUnit]]
is our test framework:
+    * New unit tests should be provided to demonstrate bugs and fixes.  [[http://www.junit.org|JUnit]]
is our test framework:
    * You must implement a class that uses {{{@Test}}} annotations for all test methods. Please
note, [[http://wiki.apache.org/hadoop/HowToDevelopUnitTests|Hadoop uses JUnit v4]].
    * Define methods within your class whose names begin with {{{test}}}, and call JUnit's
many assert methods to verify conditions; these methods will be executed when you run {{{mvn
test}}}. Please add meaningful messages to the assert statement to facilitate diagnostics.
    * By default, do not let tests write any temporary files to {{{/tmp}}}.  Instead, the
tests should write to the location specified by the {{{test.build.data}}} system property.
@@ -144, +144 @@

    * {{{TestFileSystem.java}}} and {{{TestMapRed.java}}} are examples of standalone MapReduce-based
tests.
    * {{{TestPath.java}}} is an example of a non MapReduce-based test.
    * You can run all the Common unit tests with {{{mvn test}}}, or a specific unit test with
{{{mvn -Dtest=<class name without package prefix> test}}}. Run these commands from the
{{{hadoop-trunk}}} directory.
+  * If you modify the Unix shell scripts, see the UnixShellScriptProgrammingGuide.
  
  ==== Using Maven ====
  Hadoop 0.23 and later is built using [[http://maven.apache.org/|Apache Maven]], version
3 or later.

Mime
View raw message