When I launch the server I get the following.
2014-10-14T13:46:42.696+0000 INFO com.facebook.presto.server.PrestoServer.main() Bootstrap
2014-10-14T13:46:42.972+0000 INFO com.facebook.presto.server.PrestoServer.main() org.eclipse.jetty.util.log Logging initialized @31256ms
2014-10-14T13:46:43.596+0000 INFO com.facebook.presto.server.PrestoServer.main() io.airlift.bootstrap.LifeCycleManager Life cycle starting...
2014-10-14T13:46:43.596+0000 INFO com.facebook.presto.server.PrestoServer.main() io.airlift.bootstrap.LifeCycleManager Life cycle startup complete. System ready.
2014-10-14T13:46:43.601+0000 INFO com.facebook.presto.server.PrestoServer.main() com.facebook.presto.metadata.CatalogManager -- Added catalog hive using connector hive-cdh4 --
2014-10-14T13:46:43.601+0000 INFO com.facebook.presto.server.PrestoServer.main() com.facebook.presto.metadata.CatalogManager -- Loading catalog etc/catalog/cassandra.properties --
2014-10-14T13:46:43.608+0000 ERROR com.facebook.presto.server.PrestoServer.main() com.facebook.presto.server.PrestoServer No factory for connector cassandra
java.lang.IllegalArgumentException: No factory for connector cassandra
at com.google.common.base.Preconditions.checkArgument(Preconditions.java:148) ~[guava-16.0.1.jar:na]
at com.facebook.presto.connector.ConnectorManager.createConnection(ConnectorManager.java:97) ~[classes/:na]
at com.facebook.presto.metadata.CatalogManager.loadCatalog(CatalogManager.java:88) ~[classes/:na]
at com.facebook.presto.metadata.CatalogManager.loadCatalogs(CatalogManager.java:70) ~[classes/:na]
at com.facebook.presto.server.PrestoServer.run(PrestoServer.java:113) [classes/:na]
at com.facebook.presto.server.PrestoServer.main(PrestoServer.java:61) [classes/:na]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.7.0_65]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) ~[na:1.7.0_65]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.7.0_65]
at java.lang.reflect.Method.invoke(Method.java:606) ~[na:1.7.0_65]
at org.codehaus.mojo.exec.ExecJavaMojo$1.run(ExecJavaMojo.java:297) [exec-maven-plugin-1.2.1.jar:na]
at java.lang.Thread.run(Thread.java:745) [na:1.7.0_65]
any idea to solve this ?
Regards
Eduardo
The code for that part of the system is very simple. It takes the provided string, "cassandra", and looks up in a map of the registered plugins. My guess is the plugin was not loaded during startup. You can see which plugins were loaded in the server log.
-dain
Did you do a full build first from the command line?
--
You received this message because you are subscribed to the Google Groups "Presto" group.
To unsubscribe from this group and stop receiving emails from it, send an email to presto-users...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
after buid again Im still recive "No factory for connector cassandra".I remove catalog/cassandra.properties file and the server start OK.
On Tue, Oct 14, 2014 at 3:37 PM, Eduardo Cusa <eduardo.cusa@usmediaconsulting.com> wrote:
I run "mvn clean install" first
On Tue, Oct 14, 2014 at 3:11 PM, David Phillips <da...@acz.org> wrote:
Did you do a full build first from the command line?
--
You received this message because you are subscribed to the Google Groups "Presto" group.
To unsubscribe from this group and stop receiving emails from it, send an email to presto-users+unsubscribe@googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to presto-users...@googlegroups.com.