Return-Path: X-Original-To: apmail-hadoop-common-issues-archive@minotaur.apache.org Delivered-To: apmail-hadoop-common-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 5796B188A2 for ; Wed, 22 Jul 2015 01:38:05 +0000 (UTC) Received: (qmail 88525 invoked by uid 500); 22 Jul 2015 01:38:05 -0000 Delivered-To: apmail-hadoop-common-issues-archive@hadoop.apache.org Received: (qmail 88475 invoked by uid 500); 22 Jul 2015 01:38:05 -0000 Mailing-List: contact common-issues-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: common-issues@hadoop.apache.org Delivered-To: mailing list common-issues@hadoop.apache.org Received: (qmail 88460 invoked by uid 99); 22 Jul 2015 01:38:05 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 22 Jul 2015 01:38:04 +0000 Date: Wed, 22 Jul 2015 01:38:04 +0000 (UTC) From: "Kengo Seki (JIRA)" To: common-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HADOOP-12130) document features added in 12113 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/HADOOP-12130?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14636110#comment-14636110 ] Kengo Seki commented on HADOOP-12130: ------------------------------------- +1 non-binding other than following minor nits. h4. precommit-advanced.md: {code} * pluginname_preapply - executed prior to the patch being applied. This is useful for any "before"-type data collection for later comparisons {code} needs a period {code} ## Test Determination The `personality_file_tests` function determines which tests to turn on based upon the file name. It is realtively simple. For example, to turn on a full suite of tests for Java files: {code} s/realtively/relatively/ h4. precommit-basic.md {code} * shellcheck installed, preferably 0.3.6 and higher {code} s/and higher/or higher/ {code} After the tests have run, there is a directory that contains all of the test-patch related artifacts. This is generally referred to as the patchprocess directory. By default, test-patch tries to make something off of /tmp to contain this content. Using the `--patchdir` option, one can specify exactly which directory to use. {code} s/\-\-patchdir/--patch-dir/ {code} ```bash $ test-patch.sh (other options) --built-tool=ant ``` {code} s/built-tool/build-tool/ {code} # MultiJDK For many projects, it is useful to test Java code against multiple versions of JDKs at the same time. test-patch can do this with the -multijdkdirs option: {code} s/\-multijdkdirs/--multijdkdirs/ > document features added in 12113 > -------------------------------- > > Key: HADOOP-12130 > URL: https://issues.apache.org/jira/browse/HADOOP-12130 > Project: Hadoop Common > Issue Type: Sub-task > Components: yetus > Affects Versions: HADOOP-12111 > Reporter: Allen Wittenauer > Assignee: Allen Wittenauer > Attachments: HADOOP-12130.HADOOP-12111.00.patch, HADOOP-12130.HADOOP-12111.01.patch > > > We need to write up more documentation, especially around the new stuff added in 12113, since a lot of people are looking for information on those bits. (e.g., "How do I use multiJDK mode?") -- This message was sent by Atlassian JIRA (v6.3.4#6332)