You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@parquet.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2021/02/25 09:36:00 UTC

[jira] [Commented] (PARQUET-1493) maven protobuf plugin not work properly

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

ASF GitHub Bot commented on PARQUET-1493:
-----------------------------------------

gszadovszky opened a new pull request #875:
URL: https://github.com/apache/parquet-mr/pull/875


   Make sure you have checked _all_ steps below.
   
   ### Jira
   
   - [ ] My PR addresses the following [Parquet Jira](https://issues.apache.org/jira/browse/PARQUET/) issues and references them in the PR title. For example, "PARQUET-1234: My Parquet PR"
     - https://issues.apache.org/jira/browse/PARQUET-XXX
     - In case you are adding a dependency, check if the license complies with the [ASF 3rd Party License Policy](https://www.apache.org/legal/resolved.html#category-x).
   
   ### Tests
   
   - [ ] My PR adds the following unit tests __OR__ does not need testing for this extremely good reason:
   
   ### Commits
   
   - [ ] My commits all reference Jira issues in their subject lines. In addition, my commits follow the guidelines from "[How to write a good git commit message](http://chris.beams.io/posts/git-commit/)":
     1. Subject is separated from body by a blank line
     1. Subject is limited to 50 characters (not including Jira issue reference)
     1. Subject does not end with a period
     1. Subject uses the imperative mood ("add", not "adding")
     1. Body wraps at 72 characters
     1. Body explains "what" and "why", not "how"
   
   ### Documentation
   
   - [ ] In case of new functionality, my PR adds documentation that describes how to use it.
     - All the public functions and the classes in the PR contain Javadoc that explain what it does
   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


> maven protobuf plugin not work properly
> ---------------------------------------
>
>                 Key: PARQUET-1493
>                 URL: https://issues.apache.org/jira/browse/PARQUET-1493
>             Project: Parquet
>          Issue Type: Bug
>          Components: parquet-mr
>    Affects Versions: 1.11.0
>            Reporter: Junjie Chen
>            Assignee: Gabor Szadovszky
>            Priority: Major
>
> I checked out master branch and executed "mvn clean install -DskipTests",  it failed to build with following error: 
> {quote}[ERROR] Failed to execute goal com.github.os72:protoc-jar-maven-plugin:3.6.0.1:run (generate-sources) on project parquet-protobuf: Error extracting protoc for version 3.5.1: Unsupported platform: protoc-3.5.1-linux-x86_64.exe -> [Help 1]
> [ERROR] 
> [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
> [ERROR] Re-run Maven using the -X switch to enable full debug logging.
> [ERROR] 
> [ERROR] For more information about the errors and possible solutions, please read the following articles:
> [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
> [ERROR] 
> [ERROR] After correcting the problems, you can resume the build with the command
> [ERROR]   mvn <goals> -rf :parquet-protobuf{quote}
> After I updated the plugin version as same as protobuf version, it pass the build.
> {code:java}
> --- a/parquet-protobuf/pom.xml
> +++ b/parquet-protobuf/pom.xml
> @@ -159,7 +159,7 @@
>        <plugin>
>          <groupId>com.github.os72</groupId>
>          <artifactId>protoc-jar-maven-plugin</artifactId>
> -        <version>3.6.0.1</version>
> +        <version>3.5.1</version>
>          <executions>
>            <execution>
>              <id>generate-sources</id>
> {code}
> Do we need to set this version to ${protobuf.version}?



--
This message was sent by Atlassian Jira
(v8.3.4#803005)