You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flume.apache.org by "JimmySun (JIRA)" <ji...@apache.org> on 2018/07/16 01:49:00 UTC

[jira] [Updated] (FLUME-3259) Error compiling protocol file

     [ https://issues.apache.org/jira/browse/FLUME-3259?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

JimmySun updated FLUME-3259:
----------------------------
    Environment: 
centos7.test 3.10.0-693.el7.x86_64
openjdk version 1.8.0_161
Apache Maven 3.5.4

  was:
*OS:*

Linux localhost.centos7.test 3.10.0-693.el7.x86_64 #1 SMP Tue Aug 22 21:09:27 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux

*JAVA:* 

openjdk version "1.8.0_161"
OpenJDK Runtime Environment (build 1.8.0_161-b14)
OpenJDK 64-Bit Server VM (build 25.161-b14, mixed mode)

*MAVEN*

Apache Maven 3.5.4 (1edded0938998edf8bf061f1ceb3cfdeccf443fe; 2018-06-18T02:33:14+08:00)

    Description: 
Following is the result of command *mvn install -DskipTests -e*
{code:java}
[ERROR] Failed to execute goal org.apache.avro:avro-maven-plugin:1.7.4:idl-protocol (default) on project flume-ng-sdk: Error compiling protocol file ._flume.avdl to /home/ftpuser/aaa/apache-flume-1.8.0-src/flume-ng-sdk/target/generated-sources/avro: org.apache.avro.compiler.idl.ParseException: Encountered " <STUFF_TO_IGNORE> " "" at line 1, column 1. [ERROR] Was expecting one of: [ERROR] "protocol" ... [ERROR] "@" ... [ERROR] -> [Help 1] org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.apache.avro:avro-maven-plugin:1.7.4:idl-protocol (default) on project flume-ng-sdk: Error compiling protocol file ._flume.avdl to /home/ftpuser/aaa/apache-flume-1.8.0-src/flume-ng-sdk/target/generated-sources/avro at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:213) at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:154) at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:146) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:117) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:81) at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build (SingleThreadedBuilder.java:56) at org.apache.maven.lifecycle.internal.LifecycleStarter.execute (LifecycleStarter.java:128) at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:305) at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:192) at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:105) at org.apache.maven.cli.MavenCli.execute (MavenCli.java:954) at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:288) at org.apache.maven.cli.MavenCli.main (MavenCli.java:192) at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke (Method.java:498) at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:289) at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:229) at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:415) at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:356) Caused by: org.apache.maven.plugin.MojoExecutionException: Error compiling protocol file ._flume.avdl to /home/ftpuser/aaa/apache-flume-1.8.0-src/flume-ng-sdk/target/generated-sources/avro
{code}

  was:
{code:java}
[ERROR] Failed to execute goal org.apache.avro:avro-maven-plugin:1.7.4:idl-protocol (default) on project flume-ng-sdk: Error compiling protocol file ._flume.avdl to /home/ftpuser/aaa/apache-flume-1.8.0-src/flume-ng-sdk/target/generated-sources/avro: org.apache.avro.compiler.idl.ParseException: Encountered " <STUFF_TO_IGNORE> " "" at line 1, column 1.
[ERROR] Was expecting one of:
[ERROR] "protocol" ...
[ERROR] "@" ...
[ERROR] -> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.apache.avro:avro-maven-plugin:1.7.4:idl-protocol (default) on project flume-ng-sdk: Error compiling protocol file ._flume.avdl to /home/ftpuser/aaa/apache-flume-1.8.0-src/flume-ng-sdk/target/generated-sources/avro
at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:213)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:154)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:146)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:117)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:81)
at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build (SingleThreadedBuilder.java:56)
at org.apache.maven.lifecycle.internal.LifecycleStarter.execute (LifecycleStarter.java:128)
at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:305)
at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:192)
at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:105)
at org.apache.maven.cli.MavenCli.execute (MavenCli.java:954)
at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:288)
at org.apache.maven.cli.MavenCli.main (MavenCli.java:192)
at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke (Method.java:498)
at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:289)
at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:229)
at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:415)
at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:356)
Caused by: org.apache.maven.plugin.MojoExecutionException: Error compiling protocol file ._flume.avdl to /home/ftpuser/aaa/apache-flume-1.8.0-src/flume-ng-sdk/target/generated-sources/avro
{code}


> Error compiling protocol file
> -----------------------------
>
>                 Key: FLUME-3259
>                 URL: https://issues.apache.org/jira/browse/FLUME-3259
>             Project: Flume
>          Issue Type: Question
>          Components: Build
>    Affects Versions: 1.8.0
>         Environment: centos7.test 3.10.0-693.el7.x86_64
> openjdk version 1.8.0_161
> Apache Maven 3.5.4
>            Reporter: JimmySun
>            Priority: Trivial
>
> Following is the result of command *mvn install -DskipTests -e*
> {code:java}
> [ERROR] Failed to execute goal org.apache.avro:avro-maven-plugin:1.7.4:idl-protocol (default) on project flume-ng-sdk: Error compiling protocol file ._flume.avdl to /home/ftpuser/aaa/apache-flume-1.8.0-src/flume-ng-sdk/target/generated-sources/avro: org.apache.avro.compiler.idl.ParseException: Encountered " <STUFF_TO_IGNORE> " "" at line 1, column 1. [ERROR] Was expecting one of: [ERROR] "protocol" ... [ERROR] "@" ... [ERROR] -> [Help 1] org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.apache.avro:avro-maven-plugin:1.7.4:idl-protocol (default) on project flume-ng-sdk: Error compiling protocol file ._flume.avdl to /home/ftpuser/aaa/apache-flume-1.8.0-src/flume-ng-sdk/target/generated-sources/avro at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:213) at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:154) at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:146) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:117) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:81) at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build (SingleThreadedBuilder.java:56) at org.apache.maven.lifecycle.internal.LifecycleStarter.execute (LifecycleStarter.java:128) at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:305) at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:192) at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:105) at org.apache.maven.cli.MavenCli.execute (MavenCli.java:954) at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:288) at org.apache.maven.cli.MavenCli.main (MavenCli.java:192) at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke (Method.java:498) at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:289) at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:229) at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:415) at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:356) Caused by: org.apache.maven.plugin.MojoExecutionException: Error compiling protocol file ._flume.avdl to /home/ftpuser/aaa/apache-flume-1.8.0-src/flume-ng-sdk/target/generated-sources/avro
> {code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@flume.apache.org
For additional commands, e-mail: issues-help@flume.apache.org