Installing Simba JDBC Driver for Apache Spark
Steps for installing the Simba JDBC Driver for Apache Spark™.
Procedure
-
Download the Simba JDBC Driver for Apache Spark from the DataStax Drivers Download page.
-
Expand the ZIP file containing the driver.
-
In your JDBC application, configure the following details:
-
Add SparkJDBC41.jar and the rest of the JAR files included in the ZIP file in your classpath.
-
The JDBC driver class is
com.simba.spark.jdbc41.Driver
and the JDBC data source iscom.simba.spark.jdbc41.DataSource
. -
Set the connection URL to
jdbc:spark://hostname:port
where hostname is the hostname of the node on which AlwaysOn SQL is running, and port is the port number on which AlwaysOn SQL is listening.jdbc:spark://node1.example.com:10000
-
-
For more details, see the Simba JDBC Driver for Apache Spark guide.