Details
-
Bug
-
Status: Closed (View Workflow)
-
Major
-
Resolution: Won't Fix
-
10.0.3
-
None
-
None
-
MariaDB 10.0.3-MariaDB Cassandra 1.2 Rhat 6 64 bit
Description
Unable to access Cassandra engine - the following error:
MariaDB [casstest]> create table t1 ( rowkey varchar(36) primary key, data1 varchar(60), data2 bigint ) engine=cassandra thrift_host='localhost' keyspace='mariadbtest2'column_family='cf1';
|
ERROR 1429 (HY000): Unable to connect to foreign data source: connect() failed: Permission denied [1]
|
MariaDB [casstest]>
|
Cassandra working fine and MariaDB working fine, the integration is not working.
Attachments
Issue Links
- relates to
-
MDEV-23024 Remove Cassandra Storage Engine
-
- Closed
-
Hello,
This seems to be the problem with data model change in Cassandra 1.2.
Cassandra 1.2 seems to have a split in the data model. One can have either:
1. Old-style column family (that one creates with cassandra-cli
or in CQL with "WITH COMPACT STORAGE" attribute)
2. New-style column family (created with CREATE TABLE in CQL-3)
Cassandra itself seems to be poor at interoperability: Thrift clients cannot
access new-style column families. On the other hand, CQL-3 requires that all
columns are pre-defined, which means you cannot use CQL-3 to read data that
was inserted through Thrift.
Cassandra SE uses Thrift and so is a victim of this mess.