kudu-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Darren Hoo <darren....@gmail.com>
Subject help on buiding Kudu Java Client 0.7.0
Date Tue, 01 Mar 2016 09:30:10 GMT
I have installed the exact version 2.6.1 of protoc

$ which protoc
/usr/local/bin/protoc

$ protoc --version
libprotoc 2.6.1

but when I try to build the Java Client, I got this error:


[INFO] Kudu ............................................... SUCCESS [  1.375 s]
[INFO] Kudu Annotations ................................... SUCCESS [  0.511 s]
[INFO] Kudu Java Client ................................... FAILURE [  0.407 s]
[INFO] Kudu's MapReduce bindings .......................... SKIPPED
[INFO] Collection of tools that interact directly with Kudu SKIPPED
[INFO] Kudu Spark Bindings ................................ SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 2.520 s
[INFO] Finished at: 2016-03-01T17:24:18+08:00
[INFO] Final Memory: 35M/1932M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal
com.google.protobuf.tools:maven-protoc-plugin:0.1.10:compile (default)
on project kudu-client: protoc failed to execute because: null:
IllegalArgumentException -> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to
execute goal com.google.protobuf.tools:maven-protoc-plugin:0.1.10:compile
(default) on project kudu-client: protoc failed to execute because:
null
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:212)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:116)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:80)
at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:51)
at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:128)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:307)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:193)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:106)
at org.apache.maven.cli.MavenCli.execute(MavenCli.java:863)
at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:288)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:199)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
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.MojoFailureException: protoc failed
to execute because: null
at com.google.protobuf.maven.AbstractProtocMojo.execute(AbstractProtocMojo.java:175)
at com.google.protobuf.maven.ProtocCompileMojo.execute(ProtocCompileMojo.java:21)
at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:134)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:207)
... 20 more
Caused by: java.lang.IllegalArgumentException
at com.google.common.base.Preconditions.checkArgument(Preconditions.java:70)
at com.google.protobuf.maven.Protoc$Builder.addProtoPathElement(Protoc.java:191)
at com.google.protobuf.maven.Protoc$Builder.addProtoPathElements(Protoc.java:201)
at com.google.protobuf.maven.AbstractProtocMojo.execute(AbstractProtocMojo.java:157)
... 23 more
[ERROR]
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]


what's the problem?

Mime
View raw message