Created on 03-09-2017 07:47 AM - edited 08-18-2019 06:13 AM
Hi,
How to connect to Spark ThriftServer from Tableau on HDP2.5 sandbox?
I installed both the Hortonworks Hive ODBC Driver and SparkSQL ODBC Driver. Tried using both the drivers connecting to both Spark 1.6 and Spark 2 ThriftServer, but all failed. I am trying on Mac OS X.
Attaching failure screenshot.
Created 03-09-2017 01:37 PM
You need Spark ODBC driver, not Hive, username authentication should work if the cluster is not kerberized, make sure you did port forwarding of port 10015 on your Sandbox VM (if on VirtualBox goto Settings->Network->Advanced->Port forwarding) and retry. On a "real" cluster (haven't tried Sandbox) both Spark-1.6 and Spark-2 Thrift servers work fine.
Created 03-10-2017 05:10 AM
I tried both the Hive and Spark driver, neither works. Also configured port forwarding. What version did you test on your real cluster?
Created 03-10-2017 05:53 AM
I tested on HDP-2.5.3 and "Hortonworks ODBC Driver for SparkSQL (1.5 & 1.6)" for Windows 32 bit found on Hortonworks download page. By the way, my DSN setup dialog looks different. Can you download and try this one. Also try with no "Username" (empty field).
Created on 03-14-2017 01:07 PM - edited 08-18-2019 06:12 AM
@Predrag Minovic On my real HDP cluster, Tableau was able to connect to Spark 1.6 Thriftserver, but failed fetching table metadata. Have you ever seen this before? The table default.crimes exist and I can query it using beeline either via HS2 or Spark TS.