Uploaded image for project: 'Flume'
  1. Flume
  2. FLUME-3259

Error compiling protocol file

    XMLWordPrintableJSON

Details

    • Question
    • Status: Open
    • Trivial
    • Resolution: Unresolved
    • 1.8.0
    • None
    • Build
    • None
    • centos7.test 3.10.0-693.el7.x86_64
      openjdk version 1.8.0_161
      Apache Maven 3.5.4

    Description

      Following is the result of command mvn install -DskipTests -e

      [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
      

      Attachments

        Activity

          People

            Unassigned Unassigned
            JimmySun JimmySun
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: