You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by "Chris Nauroth (JIRA)" <ji...@apache.org> on 2015/10/15 00:31:06 UTC

[jira] [Updated] (HADOOP-12479) ProtocMojo does not log the reason for a protoc compilation failure.

     [ https://issues.apache.org/jira/browse/HADOOP-12479?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Chris Nauroth updated HADOOP-12479:
-----------------------------------
    Attachment: HADOOP-12479.001.patch

> 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)