Spark SQL


Spark SQL


Setup Guide

Follow these steps to connect Spark SQL to your CData Connect Cloud account:

  1. Open the Connections page of the CData Connect Cloud dashboard.

  2. Click + Add Connection in the upper-right corner.

  3. Type Spark SQL into the search field, then click the data source name.

  4. On the Basic Settings tab of the new connection, enter a connection name or keep the default name.

  5. Enter the host name or IP address of the Server hosting the Spark SQL database.

  6. In the User field, enter the Spark SQL username for authentication.

  7. Enterthe user password in the Password field.

  8. Enterthe port for connecting to the Spark SQL server in the Port. 10000 is the default value.

  9. Enter the name of the SparkSQL Database.

  10. In Spark SQL, add the CData Connect Cloud static IP addresses to your connection whitelist.

  11. At the top of the CData Connect Cloud Add Spark SQL Connection page, click Save & Test.

    • If the connection test succeeds, a message indicates that your connection has been created. The Status on the Edit Connection page also changes to Authenticated.

    • If the connection test fails, ensure that you entered your login information correctly with no stray spaces or other characters. CData Connect Cloud displays error messages under the required fields with missing data. Some data sources require that you sign in directly to the source website. If you did not, an error message appears under the Sign in button. Correct the errors and try again.

More Information

For more information about interactions between CData Connect Cloud and Spark SQL, see this information page.