Configuring Server-Side Properties
You can use the connector to apply configuration properties to the Spark server.
The following instructions describe how to configure server-side properties in a DSN
To configure server-side properties:
- Choose one:
- To configure server-side properties for a DSN, open the ODBC Data Source Administrator where you created the DSN, then select the DSN, then click Configure, then click Advanced Options, and then click Server Side Properties.
- Or, to configure server-side properties for a DSN-less connection, open the Simba Spark ODBC Driver Configuration tool, then click Advanced Options, and then click Server Side Properties.
- To create a server-side property, click Add, then type appropriate values in the Key and Value fields, and then click OK.
- To edit a server-side property, select the property from the list, then click Edit, then update the Key and Value fields as needed, and then click OK.
- To delete a server-side property, select the property from the list, and then click Remove. In the confirmation dialog box, click Yes.
- To configure the connector to convert server-side property key names to all lower-case characters, select the Convert Key Name To Lower Case check box.
- To change the method that the connector uses to apply server-side properties, do one of the following:
- To configure the connector to apply each server-side property by executing a query when opening a session to the Spark server, select the Apply Server Side Properties With Queries check box.
- Or, to configure the connector to use a more efficient method for applying server-side properties that does not involve additional network round-tripping, clear the Apply Server Side Properties With Queries check box.
- To save your settings and close the Server Side Properties dialog box, click OK.
Note:
For a list of all Hadoop and Spark server-side properties that your implementation supports, type set -v
at the Spark CLI command line. You can also execute the set -v
query after connecting using the connector.
Note:
The more efficient method is not available for Shark Server, and it might not be compatible with some Spark Thrift Server builds. If the server-side properties do not take effect when the check box is clear, then select the check box.