Reference

Authentication Thrift Server


Description

No description available [API reference]

Instructions

Spark Thrift Server from Power BI, SQL Server Linked Server via ZappySys Data Gateway, Crystal Reports, SSRS, Azure Data Factory, and other ODBC tools.

  1. Start Spark Thrift Server or note the existing host and HS2 port (default 10000).
  2. Download the standalone Hive JDBC JAR (the wizard does this). Do not mix a partial Hadoop classpath.
  3. Create a user if the cluster uses auth; otherwise leave user/password empty.
  4. After Finish, replace the host (e.g. MyHostName) on the DSN Main UI.
  5. Finish the wizard. Then click Test Connection on the DSN Main UI (the wizard does not run Test Connection).
  6. Done. You can query from C#, Python, PowerShell, and ODBC apps.

Parameters

Parameter Required Default value Options
Name: DriverFilePaths

Label: JDBC driver file(s)

Filled by the wizard after download. Separate multiple JARs with a semicolon (e.g. C:\ZappySys\Jdbc\MyConnector\driver.jar).
YES C:\ZappySys\Jdbc\Apache Spark\hive-jdbc-4.2.0-standalone.jar
Name: HostName

Label: Host

JDBC host name or IP (e.g. MyHostName).
YES MyHostName
Name: Port

Label: TCP port

JDBC port (e.g. 10000).
YES 10000
Name: DriverClass

Label: Driver class

Optional. Leave blank to auto-detect from the JAR unless SPI is ambiguous (e.g. org.apache.hive.jdbc.HiveDriver).
org.apache.hive.jdbc.HiveDriver
Name: Database

Label: Database name

Database, schema, or catalog name (e.g. MyDatabase).
MyDatabase
Name: UserName

Label: User name

Database user. Leave empty if the server allows anonymous JDBC.
Name: Password

Label: Password

Database password. Leave empty if none.