A Dremio administrator must install the Dremio Tableau SDK connector based on the new Tableau SDK Connector Framework. This connector is available through the Tableau Marketplace. Dremio administrators can also manually install the connector with the following procedure.
$DREMIO_HOME/jars/jdbc-driver/dremio-jdbc-driver-<version>.jar
.Move the .jar file to the correct folder for your operating system.
Restart Tableau.
Under To a Server
, click More ...
and then click Dremio Connector by Dremio
.
In the Dremio Connector by Dremio
modal, enter the URL for your Dremio server and a Dremio user and password, and then click Sign In
.
If you have enabled SSL/TLS for JDBC connections on your Dremio server, you will have to complete these additional steps:
sudo keytool -importcert -alias dremio -keystore $JAVA_HOME/jre/lib/security/cacerts -storepass changeit -file /path/to/dremioServerCert.der
keytool -keystore cacerts -storepass changeit -list | grep -A1 dremio
dremio, Dec 16, 2019, trustedCertEntry,Certificate fingerprint (SHA1): 2B:2B:F6:D4:79:64:33:59:AB:43:3E:D9:17:C9:FD:A7:5E:C1:6D:42
You should check the “Require SSL box” in the box where you’ve configured the Tableau connection to Dremio.
[root@tableau-server jdbc]# pwd
/opt/tableau/tableau_driver/jdbc
[root@tableau-server jdbc]# ll
total 28124-rw-r--r--. 1 root root 28797899 Dec 16 23:21 dremio-jdbc-driver-4.1.0-201912030136020081-49feeb75.jar
root@tableau-server tableau_connectors]# pwd
/etc/tableau/tableau_connectors
[root@tableau-server tableau_connectors]# ll
total 12-rwxr-xr-x. 1 root root 11930 Dec 16 23:09 tableau_dremio-1.0.0-20191212193105367-bd753d6.taco
ps -ef | grep java | grep dremio
). Use the Java keytool to add the cert to: /opt/tableau/tableau_server/packages/repository.<tableau-version>/jre
sudo /opt/tableau/tableau_server/packages/repository.<tableau-version>/jre/bin/keytool
-importcert
-keystore /opt/tableau/tableau_server/packages/repository.<tableau-version>/jre/lib/security/cacerts
-storepass changeit
-file /path/to/dremioServerCert.der
-alias dremio
Note that you must qualify both keytool and cacerts to ensure you are using the correct files, if you do not you may pick them up from the path.
2. Restart Tableau server using tsm: tsm restart
As an example of how to create self-signed certificates for testing SSL connectivity, follow the below instructions.
openssl req -x509 -newkey rsa:4096 -keyout key.pem -out cert.pem -days 365
openssl x509 -outform der -in cert.pem -out cert.der
cat key.pem cert.pem | openssl pkcs12 -export -out keystore.p12
keytool -importkeystore -srckeystore keystore.p12 -srcstoretype pkcs12 -destkeystore keystore.jks
You should now have 5 files:
See here for notes on how to configure Dremio to use the generated keystore.
Dremio users may need to perform one of the following workarounds if they are using the specified version of Tableau to access a Dremio deployment.
Start Tableau from the command line with the -DDisableVerifyConnectorPluginSignature=true
option. Example:
cd /Applications/Tableau Desktop 2019.4.app/Contents/MacOS
./Tableau -DDisableVerifyConnectorPluginSignature=true
Set the following environment variable on the machine running Tableau:
JAVA_TOOL_OPTIONS=-Dcdjd.io.netty.tryReflectionSetAccessible=true