Dustin Mobley Posted June 18, 2019 Share Posted June 18, 2019 Hello. Has anyone successfully configured Spotfire Analyst information Links with Apache Spark Link to comment Share on other sites More sharing options...
Prashant Anand Posted June 18, 2019 Share Posted June 18, 2019 Hello Dustin, You can set up any jdbc data source as long as you have the correct data source template and the correct jar files in Spotfire library. Please use the link to create a data source template for Apache spark. ===== https://community.spotfire.com/wiki/tibco-spotfire-jdbc-data-access-connectivity-details#toc-2 ===== The following JDBC template format can be used. ===== name driver class url ===== You can try downloading the spark jdbc jar file from one of the following links and put it in the"/tss//tomcat/lib" folder. ===== https://mapr.com/docs/61/Spark/SparkJDBCODBCDrivers.htmlhttps://www.simba.com/drivers/spark-jdbc-odbc/ ===== Link to comment Share on other sites More sharing options...
Dustin Mobley Posted June 18, 2019 Author Share Posted June 18, 2019 Could I use the template that i am currently using for "Apache Cassandra" Here is what I have for "Apache Cassandra"<jdbc-type-settings> <type-name>Cassandra</type-name> <driver>com.github.adejanovski.cassandra.jdbc.CassandraDriver</driver> <connection-url-pattern>jdbc:cassandra://10.5.12.24:9042/sme</connection-url-pattern> <metadata-provider>com.tibco.spotfireps.server.is.CassandraJDBCMetadataProvider</metadata-provider> <sql-runtime>com.tibco.spotfireps.server.is.CassandraSQLRuntime</sql-runtime> <supports-catalogs>true</supports-catalogs> <supports-schemas>true</supports-schemas> <supports-procedures>false</supports-procedures> <table-types>TABLE, VIEW</table-types> <table-expression-pattern>[$$schema$$.]$$table$$</table-expression-pattern> <ping-command></ping-command> </jdbc-type-settings> Link to comment Share on other sites More sharing options...
Dustin Mobley Posted June 18, 2019 Author Share Posted June 18, 2019 Ok. I will start with the template you suggest. <jdbc-type-settings> <type-name>name</type-name> <driver>driver class</driver> <connection-url-pattern>url</connection-url-pattern> </jdbc-type-settings> When I look at the link you provided of https://community.spotfire.com/wiki/tibco-spotfire-jdbc-data-access-connectivity-details#toc-2 I dont see an Apache Spark Example. Link to comment Share on other sites More sharing options...
Prashant Anand Posted June 18, 2019 Share Posted June 18, 2019 Dustin, Not sure about using Apache cassandra template but there are some customers who were able to use Hive data source template and driver to connect to spark data source. You can try that. Below is the link for hive data source. https://community.spotfire.com/wiki/tibco-spotfire-jdbc-data-access-connectivity-details#toc-9 Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now