Return-Path: X-Original-To: apmail-hadoop-common-commits-archive@www.apache.org Delivered-To: apmail-hadoop-common-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id BAB0511D60 for ; Fri, 15 Aug 2014 14:10:29 +0000 (UTC) Received: (qmail 88018 invoked by uid 500); 15 Aug 2014 14:10:29 -0000 Delivered-To: apmail-hadoop-common-commits-archive@hadoop.apache.org Received: (qmail 87949 invoked by uid 500); 15 Aug 2014 14:10:29 -0000 Mailing-List: contact common-commits-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: common-dev@hadoop.apache.org Delivered-To: mailing list common-commits@hadoop.apache.org Received: (qmail 87940 invoked by uid 500); 15 Aug 2014 14:10:29 -0000 Delivered-To: apmail-hadoop-core-commits@hadoop.apache.org Received: (qmail 87937 invoked by uid 99); 15 Aug 2014 14:10:29 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 15 Aug 2014 14:10:29 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.131] (HELO eos.apache.org) (140.211.11.131) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 15 Aug 2014 14:10:06 +0000 Received: from eos.apache.org (localhost [127.0.0.1]) by eos.apache.org (Postfix) with ESMTP id 7525F485; Fri, 15 Aug 2014 14:10:04 +0000 (UTC) MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable From: Apache Wiki To: Apache Wiki Date: Fri, 15 Aug 2014 14:10:04 -0000 Message-ID: <20140815141004.31394.75677@eos.apache.org> Subject: =?utf-8?q?=5BHadoop_Wiki=5D_Update_of_=22HowToContribute=22_by_SomeOtherA?= =?utf-8?q?ccount?= Auto-Submitted: auto-generated X-Virus-Checked: Checked by ClamAV on apache.org Dear Wiki user, You have subscribed to a wiki page or wiki category on "Hadoop Wiki" for ch= ange notification. The "HowToContribute" page has been changed by SomeOtherAccount: https://wiki.apache.org/hadoop/HowToContribute?action=3Ddiff&rev1=3D93&rev2= =3D94 = =3D=3D=3D Native libraries =3D=3D=3D = - On Linux, you need the tools to create the native libraries. + On Unix, you need the tools to create the native libraries: LZO headers,z= lib 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 = - =3D=3D=3D=3D Linux =3D=3D=3D=3D + =3D=3D=3D=3D Unix =3D=3D=3D=3D = Install the protobuf packages ''provided they are current enough'' -see t= he 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/technetwor= k/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. [[ht= tp://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/HowToDevelopUnit= Tests|Hadoop uses JUnit v4]]. * Define methods within your class whose names begin with {{{test}}}, a= nd call JUnit's many assert methods to verify conditions; these methods wil= l be executed when you run {{{mvn test}}}. Please add meaningful messages t= o 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 s= tandalone 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 speci= fic unit test with {{{mvn -Dtest=3D test= }}}. Run these commands from the {{{hadoop-trunk}}} directory. + * If you modify the Unix shell scripts, see the UnixShellScriptProgrammi= ngGuide. = =3D=3D=3D=3D Using Maven =3D=3D=3D=3D Hadoop 0.23 and later is built using [[http://maven.apache.org/|Apache Ma= ven]], version 3 or later.