[ 
https://issues.apache.org/jira/browse/HADOOP-12479?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14960023#comment-14960023
 ] 

Hudson commented on HADOOP-12479:
---------------------------------

FAILURE: Integrated in Hadoop-Yarn-trunk #1277 (See 
[https://builds.apache.org/job/Hadoop-Yarn-trunk/1277/])
HADOOP-12479. ProtocMojo does not log the reason for a protoc (cnauroth: rev 
fdd740622459625efe5e12f37577aa3f5746177f)
* hadoop-common-project/hadoop-common/CHANGES.txt
* 
hadoop-maven-plugins/src/main/java/org/apache/hadoop/maven/plugin/protoc/ProtocMojo.java
* 
hadoop-maven-plugins/src/main/java/org/apache/hadoop/maven/plugin/util/Exec.java


> 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
>             Fix For: 2.8.0
>
>         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)

Reply via email to