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.
- relates to
-
MDEV-23024
Remove Cassandra Storage Engine
-
-
Closed
{"report":{"fcp":1449.3999996185303,"ttfb":307.19999980926514,"pageVisibility":"visible","entityId":24435,"key":"jira.project.issue.view-issue","isInitial":true,"threshold":1000,"elementTimings":{},"userDeviceMemory":8,"userDeviceProcessors":64,"apdex":0.5,"journeyId":"bfb79ba7-3521-4ed2-9212-c58cc3ac5566","navigationType":0,"readyForUser":1549.1999998092651,"redirectCount":0,"resourceLoadedEnd":1828.5,"resourceLoadedStart":314.30000019073486,"resourceTiming":[{"duration":527,"initiatorType":"link","name":"https://jira.mariadb.org/s/2c21342762a6a02add1c328bed317ffd-CDN/lu2cib/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/css/_super/batch.css","startTime":314.30000019073486,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":314.30000019073486,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":841.3000001907349,"responseStart":0,"secureConnectionStart":0},{"duration":531,"initiatorType":"link","name":"https://jira.mariadb.org/s/7ebd35e77e471bc30ff0eba799ebc151-CDN/lu2cib/820016/12ta74/494e4c556ecbb29f90a3d3b4f09cb99c/_/download/contextbatch/css/jira.browse.project,project.issue.navigator,jira.view.issue,jira.general,jira.global,atl.general,-_super/batch.css?agile_global_admin_condition=true&jag=true&jira.create.linked.issue=true&slack-enabled=true&whisper-enabled=true","startTime":314.5999994277954,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":314.5999994277954,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":845.5999994277954,"responseStart":0,"secureConnectionStart":0},{"duration":541.7999992370605,"initiatorType":"script","name":"https://jira.mariadb.org/s/0917945aaa57108d00c5076fea35e069-CDN/lu2cib/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/js/_super/batch.js?locale=en","startTime":314.80000019073486,"connectEnd":314.80000019073486,"connectStart":314.80000019073486,"domainLookupEnd":314.80000019073486,"domainLookupStart":314.80000019073486,"fetchStart":314.80000019073486,"redirectEnd":0,"redirectStart":0,"requestStart":314.80000019073486,"responseEnd":856.5999994277954,"responseStart":856.5999994277954,"secureConnectionStart":314.80000019073486},{"duration":693.5,"initiatorType":"script","name":"https://jira.mariadb.org/s/2d8175ec2fa4c816e8023260bd8c1786-CDN/lu2cib/820016/12ta74/494e4c556ecbb29f90a3d3b4f09cb99c/_/download/contextbatch/js/jira.browse.project,project.issue.navigator,jira.view.issue,jira.general,jira.global,atl.general,-_super/batch.js?agile_global_admin_condition=true&jag=true&jira.create.linked.issue=true&locale=en&slack-enabled=true&whisper-enabled=true","startTime":315,"connectEnd":315,"connectStart":315,"domainLookupEnd":315,"domainLookupStart":315,"fetchStart":315,"redirectEnd":0,"redirectStart":0,"requestStart":315,"responseEnd":1008.5,"responseStart":1008.5,"secureConnectionStart":315},{"duration":697.1999998092651,"initiatorType":"script","name":"https://jira.mariadb.org/s/a9324d6758d385eb45c462685ad88f1d-CDN/lu2cib/820016/12ta74/c92c0caa9a024ae85b0ebdbed7fb4bd7/_/download/contextbatch/js/atl.global,-_super/batch.js?locale=en","startTime":315.19999980926514,"connectEnd":315.19999980926514,"connectStart":315.19999980926514,"domainLookupEnd":315.19999980926514,"domainLookupStart":315.19999980926514,"fetchStart":315.19999980926514,"redirectEnd":0,"redirectStart":0,"requestStart":315.19999980926514,"responseEnd":1012.3999996185303,"responseStart":1012.3999996185303,"secureConnectionStart":315.19999980926514},{"duration":700.9000005722046,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2cib/820016/12ta74/1.0/_/download/batch/jira.webresources:calendar-en/jira.webresources:calendar-en.js","startTime":315.3999996185303,"connectEnd":315.3999996185303,"connectStart":315.3999996185303,"domainLookupEnd":315.3999996185303,"domainLookupStart":315.3999996185303,"fetchStart":315.3999996185303,"redirectEnd":0,"redirectStart":0,"requestStart":315.3999996185303,"responseEnd":1016.3000001907349,"responseStart":1016.3000001907349,"secureConnectionStart":315.3999996185303},{"duration":701.7000007629395,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2cib/820016/12ta74/1.0/_/download/batch/jira.webresources:calendar-localisation-moment/jira.webresources:calendar-localisation-moment.js","startTime":315.5999994277954,"connectEnd":315.5999994277954,"connectStart":315.5999994277954,"domainLookupEnd":315.5999994277954,"domainLookupStart":315.5999994277954,"fetchStart":315.5999994277954,"redirectEnd":0,"redirectStart":0,"requestStart":315.5999994277954,"responseEnd":1017.3000001907349,"responseStart":1017.3000001907349,"secureConnectionStart":315.5999994277954},{"duration":728.3999996185303,"initiatorType":"link","name":"https://jira.mariadb.org/s/b04b06a02d1959df322d9cded3aeecc1-CDN/lu2cib/820016/12ta74/a2ff6aa845ffc9a1d22fe23d9ee791fc/_/download/contextbatch/css/jira.global.look-and-feel,-_super/batch.css","startTime":315.69999980926514,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":315.69999980926514,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":1044.0999994277954,"responseStart":0,"secureConnectionStart":0},{"duration":703.6999998092651,"initiatorType":"script","name":"https://jira.mariadb.org/rest/api/1.0/shortcuts/820016/47140b6e0a9bc2e4913da06536125810/shortcuts.js?context=issuenavigation&context=issueaction","startTime":315.80000019073486,"connectEnd":315.80000019073486,"connectStart":315.80000019073486,"domainLookupEnd":315.80000019073486,"domainLookupStart":315.80000019073486,"fetchStart":315.80000019073486,"redirectEnd":0,"redirectStart":0,"requestStart":315.80000019073486,"responseEnd":1019.5,"responseStart":1019.5,"secureConnectionStart":315.80000019073486},{"duration":728.1999998092651,"initiatorType":"link","name":"https://jira.mariadb.org/s/3ac36323ba5e4eb0af2aa7ac7211b4bb-CDN/lu2cib/820016/12ta74/d176f0986478cc64f24226b3d20c140d/_/download/contextbatch/css/com.atlassian.jira.projects.sidebar.init,-_super,-project.issue.navigator,-jira.view.issue/batch.css?jira.create.linked.issue=true","startTime":316,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":316,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":1044.1999998092651,"responseStart":0,"secureConnectionStart":0},{"duration":705,"initiatorType":"script","name":"https://jira.mariadb.org/s/5d5e8fe91fbc506585e83ea3b62ccc4b-CDN/lu2cib/820016/12ta74/d176f0986478cc64f24226b3d20c140d/_/download/contextbatch/js/com.atlassian.jira.projects.sidebar.init,-_super,-project.issue.navigator,-jira.view.issue/batch.js?jira.create.linked.issue=true&locale=en","startTime":316.19999980926514,"connectEnd":316.19999980926514,"connectStart":316.19999980926514,"domainLookupEnd":316.19999980926514,"domainLookupStart":316.19999980926514,"fetchStart":316.19999980926514,"redirectEnd":0,"redirectStart":0,"requestStart":316.19999980926514,"responseEnd":1021.1999998092651,"responseStart":1021.1999998092651,"secureConnectionStart":316.19999980926514},{"duration":897.3000001907349,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2cib/820016/12ta74/1.0/_/download/batch/jira.webresources:bigpipe-js/jira.webresources:bigpipe-js.js","startTime":317.0999994277954,"connectEnd":317.0999994277954,"connectStart":317.0999994277954,"domainLookupEnd":317.0999994277954,"domainLookupStart":317.0999994277954,"fetchStart":317.0999994277954,"redirectEnd":0,"redirectStart":0,"requestStart":317.0999994277954,"responseEnd":1214.3999996185303,"responseStart":1214.3999996185303,"secureConnectionStart":317.0999994277954},{"duration":1485.8999996185303,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2cib/820016/12ta74/1.0/_/download/batch/jira.webresources:bigpipe-init/jira.webresources:bigpipe-init.js","startTime":317.19999980926514,"connectEnd":317.19999980926514,"connectStart":317.19999980926514,"domainLookupEnd":317.19999980926514,"domainLookupStart":317.19999980926514,"fetchStart":317.19999980926514,"redirectEnd":0,"redirectStart":0,"requestStart":317.19999980926514,"responseEnd":1803.0999994277954,"responseStart":1803.0999994277954,"secureConnectionStart":317.19999980926514},{"duration":138,"initiatorType":"xmlhttprequest","name":"https://jira.mariadb.org/rest/webResources/1.0/resources","startTime":1077.8999996185303,"connectEnd":1077.8999996185303,"connectStart":1077.8999996185303,"domainLookupEnd":1077.8999996185303,"domainLookupStart":1077.8999996185303,"fetchStart":1077.8999996185303,"redirectEnd":0,"redirectStart":0,"requestStart":1077.8999996185303,"responseEnd":1215.8999996185303,"responseStart":1215.8999996185303,"secureConnectionStart":1077.8999996185303},{"duration":439.9000005722046,"initiatorType":"link","name":"https://jira.mariadb.org/s/d5715adaadd168a9002b108b2b039b50-CDN/lu2cib/820016/12ta74/be4b45e9cec53099498fa61c8b7acba4/_/download/contextbatch/css/jira.project.sidebar,-_super,-project.issue.navigator,-jira.general,-jira.browse.project,-jira.view.issue,-jira.global,-atl.general,-com.atlassian.jira.projects.sidebar.init/batch.css?agile_global_admin_condition=true&jag=true&jira.create.linked.issue=true&slack-enabled=true&whisper-enabled=true","startTime":1388.5999994277954,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":1388.5999994277954,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":1828.5,"responseStart":0,"secureConnectionStart":0},{"duration":415.80000019073486,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2cib/820016/12ta74/e65b778d185daf5aee24936755b43da6/_/download/contextbatch/js/browser-metrics-plugin.contrib,-_super,-project.issue.navigator,-jira.view.issue,-atl.general/batch.js?agile_global_admin_condition=true&jag=true&jira.create.linked.issue=true&slack-enabled=true&whisper-enabled=true","startTime":1389.5999994277954,"connectEnd":1389.5999994277954,"connectStart":1389.5999994277954,"domainLookupEnd":1389.5999994277954,"domainLookupStart":1389.5999994277954,"fetchStart":1389.5999994277954,"redirectEnd":0,"redirectStart":0,"requestStart":1389.5999994277954,"responseEnd":1805.3999996185303,"responseStart":1805.3999996185303,"secureConnectionStart":1389.5999994277954},{"duration":459.0999994277954,"initiatorType":"script","name":"https://jira.mariadb.org/s/097ae97cb8fbec7d6ea4bbb1f26955b9-CDN/lu2cib/820016/12ta74/be4b45e9cec53099498fa61c8b7acba4/_/download/contextbatch/js/jira.project.sidebar,-_super,-project.issue.navigator,-jira.general,-jira.browse.project,-jira.view.issue,-jira.global,-atl.general,-com.atlassian.jira.projects.sidebar.init/batch.js?agile_global_admin_condition=true&jag=true&jira.create.linked.issue=true&locale=en&slack-enabled=true&whisper-enabled=true","startTime":1390,"connectEnd":1390,"connectStart":1390,"domainLookupEnd":1390,"domainLookupStart":1390,"fetchStart":1390,"redirectEnd":0,"redirectStart":0,"requestStart":1390,"responseEnd":1849.0999994277954,"responseStart":1849.0999994277954,"secureConnectionStart":1390}],"fetchStart":1,"domainLookupStart":1,"domainLookupEnd":1,"connectStart":1,"connectEnd":1,"requestStart":148,"responseStart":308,"responseEnd":311,"domLoading":312,"domInteractive":1838,"domContentLoadedEventStart":1838,"domContentLoadedEventEnd":1883,"domComplete":2443,"loadEventStart":2443,"loadEventEnd":2444,"userAgent":"Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)","marks":[{"name":"bigPipe.sidebar-id.start","time":1805.0999994277954},{"name":"bigPipe.sidebar-id.end","time":1806},{"name":"bigPipe.activity-panel-pipe-id.start","time":1806.0999994277954},{"name":"bigPipe.activity-panel-pipe-id.end","time":1807.6999998092651},{"name":"activityTabFullyLoaded","time":1904.5}],"measures":[],"correlationId":"593768ba4012ee","effectiveType":"4g","downlink":10,"rtt":0,"serverDuration":103,"dbReadsTimeInMs":10,"dbConnsTimeInMs":19,"applicationHash":"9d11dbea5f4be3d4cc21f03a88dd11d8c8687422","experiments":[]}}
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.