Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-12479

ProtocMojo does not log the reason for a protoc compilation failure.

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.8.0, 3.0.0-alpha1
    • Component/s: build
    • Labels:
      None
    • Target Version/s:
    • Hadoop Flags:
      Reviewed

      Description

      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.

        Attachments

          Activity

            People

            • Assignee:
              cnauroth Chris Nauroth
              Reporter:
              cnauroth Chris Nauroth
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: