From common-issues-return-38928-apmail-hadoop-common-issues-archive=hadoop.apache.org@hadoop.apache.org Thu Oct 18 22:50:04 2012 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 7E594DA40 for ; Thu, 18 Oct 2012 22:50:04 +0000 (UTC) Received: (qmail 88455 invoked by uid 500); 18 Oct 2012 22:50:04 -0000 Delivered-To: apmail-hadoop-common-issues-archive@hadoop.apache.org Received: (qmail 88426 invoked by uid 500); 18 Oct 2012 22:50:04 -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 88320 invoked by uid 99); 18 Oct 2012 22:50:04 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 18 Oct 2012 22:50:04 +0000 Date: Thu, 18 Oct 2012 22:50:03 +0000 (UTC) From: "Alejandro Abdelnur (JIRA)" To: common-issues@hadoop.apache.org Message-ID: <741228504.66351.1350600604007.JavaMail.jiratomcat@arcas> In-Reply-To: <1219410019.1984.1349462285098.JavaMail.jiratomcat@arcas> Subject: [jira] [Updated] (HADOOP-8887) Use a Maven plugin to build the native code using CMake 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-8887?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Alejandro Abdelnur updated HADOOP-8887: --------------------------------------- Resolution: Fixed Fix Version/s: 2.0.3-alpha Hadoop Flags: Reviewed Status: Resolved (was: Patch Available) Thanks Colin. Committed to trunk and branch-2. > Use a Maven plugin to build the native code using CMake > ------------------------------------------------------- > > Key: HADOOP-8887 > URL: https://issues.apache.org/jira/browse/HADOOP-8887 > Project: Hadoop Common > Issue Type: Improvement > Components: build > Affects Versions: 2.0.3-alpha > Reporter: Colin Patrick McCabe > Assignee: Colin Patrick McCabe > Priority: Minor > Fix For: 2.0.3-alpha > > Attachments: HADOOP-8887.001.patch, HADOOP-8887.002.patch, HADOOP-8887.003.patch, HADOOP-8887.004.patch, HADOOP-8887.005.patch, HADOOP-8887.006.patch > > > Currently, we build the native code using ant-build invocations. Although this works, it has some limitations: > * compiler warning messages are hidden, which can cause people to check in code with warnings unintentionally > * there is no framework for running native unit tests; instead, we use ad-hoc constructs involving shell scripts > * the antrun code is very platform specific > * there is no way to run a specific native unit test > * it's more or less impossible for scripts like test-patch.sh to separate a native test failing from the build itself failing (no files are created) or to enumerate which native tests failed. > Using a native Maven plugin would overcome these limitations. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira