Configuring a Connection
The connector comes with a connection builder which allows you to build and test your connection settings outside of Tableau. It also allows you to create a connection string, which can be used to provide options not listed in the connection dialog in Tableau.
Configuring a Connection Builder
There are two ways to access the connection builder:
- On Windows, there will be a shortcut called Connection Builder in the start menu, under the CData Apache Impala Tableau Data Connector folder.
- The connection builder can also be started by going to the driver install directory (by default, C:/Program Files/CData/CData Tableau Connector for Apache Impala and running the .jar file in the lib directory.
In the connection builder, you can set values for connection properties and click the Test Connection button to validate that they work. You can also use the Copy to Clipboard button to save the connection string for use with Tableau.
Connecting to Apache Impala
In order to connect to Apache Impala, set the Server, Port, and ProtocolVersion. You may optionally specify a default Database.
Authenticating to Apache Impala
There are several ways to authenticate to Apache Impala including NOSASL,LDAP,KERBEROS. The following sections cover how to connect over each.
Authenticating with NOSASL
When using NOSASL, no authentication is performaned. It is used when you are connecting to a server from a trusted location such as a test machine on your local network. By default, NOSASL is as the default AuthScheme, so no additional connection properties need to be set.
Authenticating with LDAP
To authenticate with LDAP, set the following connection properties:
- AuthScheme: Set this to LDAP.
- User: Set this to user to login as.
- Password: Set this to the password of the user.
Authenticating with Kerberos
Please see Using Kerberos for details on how to authenticate with Kerberos.
See Getting Data for the next step, which includes authenticating to the Apache Impala APIs.