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

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

VotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 2.8.0, 3.0.0-alpha1
    • build
    • None
    • 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

        1. HADOOP-12479.001.patch
          3 kB
          Chris Nauroth

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment