EducationSoftwareStrategy.com
StrategyCommunity

Knowledge Base

Product

Community

Knowledge Base

TopicsBrowse ArticlesDeveloper Zone

Product

Download SoftwareProduct DocumentationSecurity Hub

Education

Tutorial VideosSolution GalleryEducation courses

Community

GuidelinesGrandmastersEvents
x_social-icon_white.svglinkedin_social-icon_white.svg
Strategy logoCommunity

© Strategy Inc. All Rights Reserved.

LegalTerms of UsePrivacy Policy
  1. Home
  2. Topics

Connecting Cassandra using the Simba JDBC driver on MicroStrategy 10


Oliver Hingst

Principal Product Specialist • MicroStrategy


This TN outlines the steps to connect to Cassandra 2.x using the Simba jdbc driver on MicroStrategy 10.7 or earlier. From MicroStrategy 10.8 we ship MicroStrategy Casssandra ODBC Driver.

This TN outlines the steps to connect to Cassandra 2.x using the Simba jdbc driver on Strategy 10.7 or earlier. From Strategy 10.8 we ship Strategy Casssandra ODBC Driver.

Prerequisites

  1. Download and unzip the Simba Cassandra JDBC driver(SimbaCassandraJDBC42-1.1.2.1002.zip) on the machine with your Strategy install

Connecting via Strategy Developer

  1. Navigate AdministrationàConfiguration ManagersàDatabase Instances in developer and create a new database instance
  2. In the database creation wizard select Apache Cassandra 2.x as the Database Connection type.
ka02R000000g1DUQAY_0EM440000002NYF.png

 Create new database connection, go to the Advanced tab and add the following to the Additional connection string parameters field.JDBC;MSTR_JDBC_JAR_FOLDER=<location of unzipped driver folder>;DRIVER=com.simba.cassandra.jdbc42.Driver;URL={jdbc:cassandra://host:port;DefaultKeyspace=};
Note: Refer to the Simba driver documentation for additional parameters to add the URL
 
 

ka02R000000g1DUQAY_0EM440000002NYP.png
  1. Create a DB login and hit OK to save the changes
ka02R000000g1DUQAY_0EM440000002NYU.png

 

  1. Expand an existing Project or create a new project and navigate to SchemaàWarehouse Catalog. Set the DB instance create above as the current database instance. Hit the execute button. You should be able to view the tables in Cassandra database

Connecting via Data Import

  1. Select Add External Data and navigate to Databases à Apache Cassandra. Choose the “Pick tables” option and add a data source
  2. Check the edit connection string field and copy the following connection string into the text box
  3. =<location of unzipped driver folder>;DRIVER=com.simba.cassandra.jdbc42.Driver;URL={jdbc:cassandra://host:9042}

 
 
 
 
 
 

  1. You should now successfully be able to connect and view the keyspaces and tables available

 


Comment

0 comments

Details

Knowledge Article

Published:

June 30, 2017

Last Updated:

June 30, 2017