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 A1B38173EE for ; Thu, 15 Oct 2015 09:39:10 +0000 (UTC) Received: (qmail 55842 invoked by uid 500); 15 Oct 2015 09:39:05 -0000 Delivered-To: apmail-hadoop-common-issues-archive@hadoop.apache.org Received: (qmail 55784 invoked by uid 500); 15 Oct 2015 09:39: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 55770 invoked by uid 99); 15 Oct 2015 09:39:05 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 15 Oct 2015 09:39:05 +0000 Date: Thu, 15 Oct 2015 09:39:05 +0000 (UTC) From: "Steve Loughran (JIRA)" To: common-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HADOOP-12479) ProtocMojo does not log the reason for a protoc compilation failure. 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-12479?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14958582#comment-14958582 ] Steve Loughran commented on HADOOP-12479: ----------------------------------------- That change to exec() doesn't break anything does it? Given its inside the maven plugin, I'm happy +1 > ProtocMojo does not log the reason for a protoc compilation failure. > -------------------------------------------------------------------- > > Key: HADOOP-12479 > URL: https://issues.apache.org/jira/browse/HADOOP-12479 > Project: Hadoop Common > Issue Type: Bug > Components: build > Reporter: Chris Nauroth > Assignee: Chris Nauroth > Priority: Minor > Attachments: HADOOP-12479.001.patch > > > If protoc fails with a compilation error in the proto files, our Maven plugin won't print the details. The only way to figure it out is to repeat running the {{protoc}} command manually from outside the Hadoop build. This is because our {{ProtocMojo}} only captures stdout from the {{protoc}} command, and compilation errors get written to {{stderr}}. -- This message was sent by Atlassian JIRA (v6.3.4#6332)