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

Junjie Chen edited comment on PARQUET-1493 at 1/16/19 1:12 PM:
---------------------------------------------------------------

Hi [~gszadovszky]

I just tried 3.6.0.2, still failed.  I'm using ubuntu18.04. (uname output: 
4.15.0-43-generic #46-Ubuntu SMP Thu Dec 6 14:45:28 UTC 2018 x86_64 x86_64 
x86_64 GNU/Linux)
{quote}[INFO] Apache Parquet Protobuf ............................ FAILURE [ 
30.834 s]
 [INFO] Apache Parquet Scala ............................... SKIPPED
 [INFO] Apache Parquet Scrooge ............................. SKIPPED
 [INFO] Apache Parquet Hadoop Bundle ....................... SKIPPED
 [INFO] Apache Parquet Hive ................................ SKIPPED
 [INFO] Apache Parquet Hive Binding Parent ................. SKIPPED
 [INFO] Apache Parquet Hive Binding Interface .............. SKIPPED
 [INFO] Apache Parquet Hive 0.10 Binding ................... SKIPPED
 [INFO] Apache Parquet Hive 0.12 Binding ................... SKIPPED
 [INFO] Apache Parquet Hive Binding Factory ................ SKIPPED
 [INFO] Apache Parquet Hive Binding Bundle ................. SKIPPED
 [INFO] Apache Parquet Hive Storage Handler ................ SKIPPED
 [INFO] Apache Parquet Hive Bundle ......................... SKIPPED
 [INFO] Apache Parquet Tools ............................... SKIPPED
 [INFO] ------------------------------------------------------------------------
 [INFO] BUILD FAILURE
 [INFO] ------------------------------------------------------------------------
 [INFO] Total time: 01:10 min
 [INFO] Finished at: 2019-01-17T05:08:43+08:00
 [INFO] Final Memory: 115M/1593M
 [INFO] ------------------------------------------------------------------------
 [ERROR] Failed to execute goal 
com.github.os72:protoc-jar-maven-plugin:3.6.0.2: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}


was (Author: junjie):
Hi [~gszadovszky]

I just tried 3.6.0.2, still failed.  I'm using ubuntu18.04.
{quote}[INFO] Apache Parquet Protobuf ............................ FAILURE [ 
30.834 s]
[INFO] Apache Parquet Scala ............................... SKIPPED
[INFO] Apache Parquet Scrooge ............................. SKIPPED
[INFO] Apache Parquet Hadoop Bundle ....................... SKIPPED
[INFO] Apache Parquet Hive ................................ SKIPPED
[INFO] Apache Parquet Hive Binding Parent ................. SKIPPED
[INFO] Apache Parquet Hive Binding Interface .............. SKIPPED
[INFO] Apache Parquet Hive 0.10 Binding ................... SKIPPED
[INFO] Apache Parquet Hive 0.12 Binding ................... SKIPPED
[INFO] Apache Parquet Hive Binding Factory ................ SKIPPED
[INFO] Apache Parquet Hive Binding Bundle ................. SKIPPED
[INFO] Apache Parquet Hive Storage Handler ................ SKIPPED
[INFO] Apache Parquet Hive Bundle ......................... SKIPPED
[INFO] Apache Parquet Tools ............................... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 01:10 min
[INFO] Finished at: 2019-01-17T05:08:43+08:00
[INFO] Final Memory: 115M/1593M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal 
com.github.os72:protoc-jar-maven-plugin:3.6.0.2: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}

> 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
>            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
(v7.6.3#76005)

Reply via email to