有没有办法使用Facebook Presto 0.131与Cassandra 3.0.0? [英] Is there a way to use Facebook Presto 0.131 with Cassandra 3.0.0?
问题描述
当使用Presto 0.131查询Cassandra 3.0.0群集时,我得到:
When querying a Cassandra 3.0.0 cluster using Presto 0.131 I get:
所有尝试查询的主机失败[..snip ...] InvalidQueryException :unconfigured table schema_keyspaces
All host(s) tried for query failed [..snip...] InvalidQueryException: unconfigured table schema_keyspaces
我假设这是由于Cassandra的系统架构的一些变化?如果是,是否有解决方法,还是应该等待Presto支持Cassandra 3.0.0?
I assume this is due to some change in Cassandra's system schemas? If so is there a workaround or should we wait for Presto to support Cassandra 3.0.0?
2016-11-05更新:较新版本的PrestoDB工作正常与Cassandra 3+。目前使用0.147,但最新版本为0.156,它们都与新协议。感谢您的回复。
2016-11-05 Update : Newer versions of PrestoDB work fine with Cassandra 3+. Currently using 0.147 but the latest version is 0.156 and they all work fine with the new protocol. Thanks for your replies.
推荐答案
是的,你猜到了 - Cassandra 2.2.4和3.0之间的模式存储发生了变化。 0。有关详细信息,请参见此处。 此问题中介绍了对模式的实际更改。
Yeah you guessed correctly - there was a change in schema storage between Cassandra 2.2.4 and 3.0.0. See here for more information. The actual change to the schema is described in this issue.
这篇关于有没有办法使用Facebook Presto 0.131与Cassandra 3.0.0?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!