Getting issues running Prestodb with Apache Cassandra 2.0.5

477 views
Skip to first unread message

Ebot Tabi

unread,
Feb 10, 2014, 4:52:20 PM2/10/14
to presto...@googlegroups.com

I have Apache Cassandra 2.0.5 running will i run bin/launch run --verbose i get this weird erorr, i am using java jdk  1.7.0_51-b13 and on a macbook pro Mac OSX  x86_64, any idea what might be causing the issue.

2014-02-10T22:50:03.462+0100 INFO main Bootstrap PROPERTY                                       DEFAULT  RUNTIME      DESCRIPTION

2014-02-10T22:50:03.462+0100 INFO main Bootstrap cassandra.consistency-level                    ONE      ONE

2014-02-10T22:50:03.462+0100 INFO main Bootstrap cassandra.contact-points                       []       [localhost]

2014-02-10T22:50:03.462+0100 INFO main Bootstrap cassandra.fetch-size                           5000     5000

2014-02-10T22:50:03.462+0100 INFO main Bootstrap cassandra.fetch-size-for-partition-key-select  20000    20000

2014-02-10T22:50:03.462+0100 INFO main Bootstrap cassandra.limit-for-partition-key-select       100000   100000

2014-02-10T22:50:03.462+0100 INFO main Bootstrap cassandra.max-schema-refresh-threads           10       10

2014-02-10T22:50:03.462+0100 INFO main Bootstrap cassandra.native-protocol-port                 9042     9042

2014-02-10T22:50:03.462+0100 INFO main Bootstrap cassandra.schema-cache-ttl                     1.00h    1.00h

2014-02-10T22:50:03.462+0100 INFO main Bootstrap cassandra.schema-refresh-interval              2.00m    2.00m

2014-02-10T22:50:03.462+0100 INFO main Bootstrap cassandra.unpartitioned-splits                 1000     1000

2014-02-10T22:50:03.463+0100 INFO main Bootstrap node.binary-spec                               null     null

2014-02-10T22:50:03.463+0100 INFO main Bootstrap node.config-spec                               null     null

2014-02-10T22:50:03.463+0100 INFO main Bootstrap node.environment                               null     development

2014-02-10T22:50:03.463+0100 INFO main Bootstrap node.location                                  null     null

2014-02-10T22:50:03.463+0100 INFO main Bootstrap node.bind-ip                                   null     null

2014-02-10T22:50:03.463+0100 INFO main Bootstrap node.external-address                          null     null

2014-02-10T22:50:03.463+0100 INFO main Bootstrap node.id                                        null     presto-1

2014-02-10T22:50:03.463+0100 INFO main Bootstrap node.ip                                        null     null

2014-02-10T22:50:03.463+0100 INFO main Bootstrap node.pool                                      general  general

2014-02-10T22:50:03.463+0100 INFO main Bootstrap

2014-02-10T22:50:03.519+0100 WARN main com.datastax.driver.core.FrameCompressor Cannot find Snappy class, you should make sure the Snappy library is in the classpath if you intend to use it. Snappy compression will not be available for the protocol.

2014-02-10T22:50:03.520+0100 WARN main com.datastax.driver.core.FrameCompressor Cannot find LZ4 class, you should make sure the LZ4 library is in the classpath if you intend to use it. LZ4 compression will not be available for the protocol.

2014-02-10T22:50:04.383+0100 DEBUG main com.facebook.presto.cassandra.RebindSafeMBeanServer io.airlift.node:name=NodeInfo already bound to io.airlift.node.NodeInfo[io.airlift.node:name=NodeInfo]

2014-02-10T22:50:04.399+0100 ERROR main com.facebook.presto.server.PrestoServer null

java.lang.AbstractMethodError: null

at com.facebook.presto.connector.ConnectorManager.addConnector(ConnectorManager.java:115) ~[presto-main-0.59.jar:0.59]

at com.facebook.presto.connector.ConnectorManager.createConnection(ConnectorManager.java:105) ~[presto-main-0.59.jar:0.59]

at com.facebook.presto.metadata.CatalogManager.loadCatalog(CatalogManager.java:79) ~[presto-main-0.59.jar:0.59]

at com.facebook.presto.metadata.CatalogManager.loadCatalogs(CatalogManager.java:64) ~[presto-main-0.59.jar:0.59]

at com.facebook.presto.server.PrestoServer.run(PrestoServer.java:86) [presto-server-0.59.jar:0.59]

at com.facebook.presto.server.PrestoServer.main(PrestoServer.java:46) [presto-server-0.59.jar:0.59]

2014-02-10T22:50:04.400+0100 INFO Thread-7 io.airlift.bootstrap.LifeCycleManager Life cycle stopping...

Ebots-MacBook-Pro:presto ebot$ 

Dain Sundstrom

unread,
Feb 11, 2014, 3:35:53 PM2/11/14
to presto...@googlegroups.com
The exception AbstractMethodError means that the ConnectorManager is attempting to call a method on the connector that the connector has not implemented.  The only thing I can think of that would cause this exception is if you have an older build of the Cassandra connector with a newer version of Presto.

You can find all versions of the plugin by searching for "presto-cassandra" at search.maven.org.  You always want to use the version that matches the Presto version you are using.  In the future, I expect we will ship this plugin with presto, so it won't be an issue.

-dain

Dain Sundstrom

unread,
Feb 12, 2014, 1:38:53 PM2/12/14
to presto...@googlegroups.com
Starting with 0.60 we are shipping the Cassandra connector with Presto, so this should no longer be an issue.

-dain

Ebot Tabi

unread,
Feb 12, 2014, 10:20:43 PM2/12/14
to presto...@googlegroups.com
Hey Dain,
Guy you just made my day awesome, thanks for the piece of tool, i am pretty much happy and grateful, looking forward to contribute as well.
Reply all
Reply to author
Forward
0 new messages