Skip to content

Instantly share code, notes, and snippets.

@fooker
Last active December 30, 2015 00:49
Show Gist options
  • Save fooker/7752115 to your computer and use it in GitHub Desktop.
Save fooker/7752115 to your computer and use it in GitHub Desktop.
[INFO] OpenNMS SaaS :: Portal :: AngularJS Client ........ SUCCESS [26.012s]
[INFO] OpenNMS SaaS :: Integration Tests ................. SUCCESS [0.095s]
[INFO] OpenNMS SaaS :: Integration Tests :: System Storage FAILURE [4.885s]
[INFO] OpenNMS SaaS :: Integration Tests :: E-Mail :: MailGun SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 49.445s
[INFO] Finished at: Mon Dec 02 18:33:05 CET 2013
[INFO] Final Memory: 48M/417M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.codehaus.mojo:cassandra-maven-plugin:2.0.2-ONMS-20131028-1:cql-exec (load-schema) on project system-storage: API Exception calling Apache Cassandra: There was a problem calling Apache Cassandra's Thrift API. Details: InvalidRequestException -> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.codehaus.mojo:cassandra-maven-plugin:2.0.2-ONMS-20131028-1:cql-exec (load-schema) on project system-storage: API Exception calling Apache Cassandra
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:217)
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:84)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59)
at org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183)
at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:320)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156)
at org.apache.maven.cli.MavenCli.execute(MavenCli.java:537)
at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:141)
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:290)
at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230)
at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:409)
at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352)
Caused by: org.apache.maven.plugin.MojoExecutionException: API Exception calling Apache Cassandra
at org.codehaus.mojo.cassandra.Utils.executeThrift(Utils.java:350)
at org.codehaus.mojo.cassandra.CqlExecCassandraMojo.doExec(CqlExecCassandraMojo.java:185)
at org.codehaus.mojo.cassandra.CqlExecCassandraMojo.execute(CqlExecCassandraMojo.java:135)
at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:101)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209)
... 19 more
Caused by: org.codehaus.mojo.cassandra.ThriftApiExecutionException: There was a problem calling Apache Cassandra's Thrift API. Details:
at org.codehaus.mojo.cassandra.CqlExecCassandraMojo$CqlExecOperation.executeOperation(CqlExecCassandraMojo.java:222)
at org.codehaus.mojo.cassandra.Utils.executeThrift(Utils.java:347)
... 23 more
Caused by: InvalidRequestException(why:line 0:-1 no viable alternative at input '<EOF>')
at org.apache.cassandra.thrift.Cassandra$execute_cql3_query_result$execute_cql3_query_resultStandardScheme.read(Cassandra.java:48006)
at org.apache.cassandra.thrift.Cassandra$execute_cql3_query_result$execute_cql3_query_resultStandardScheme.read(Cassandra.java:47983)
at org.apache.cassandra.thrift.Cassandra$execute_cql3_query_result.read(Cassandra.java:47898)
at org.apache.thrift.TServiceClient.receiveBase(TServiceClient.java:78)
at org.apache.cassandra.thrift.Cassandra$Client.recv_execute_cql3_query(Cassandra.java:1658)
at org.apache.cassandra.thrift.Cassandra$Client.execute_cql3_query(Cassandra.java:1643)
at org.codehaus.mojo.cassandra.CqlExecCassandraMojo$CqlExecOperation.executeOperation(CqlExecCassandraMojo.java:213)
... 24 more
[ERROR]
[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 :system-storage
zsh: exit 1 mvn install -DskipITs=false -e
@coolgeng
Copy link

I got the same issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment