Explore Courses Blog Tutorials Interview Questions
0 votes
in BI by (17.6k points)

I am trying to connect to Spark SQL (Spark 2.0.0) from Tableau Desktop 10.1.1 from OS X. I have SimbaSparkODBC already installed, and Spark Thrift Server is up and running. I am able to use beeline to connect and verify the Thrift Server.

However, when I configure Tableau using Spark SQL connector, it does not connect. After some time, the query times out. When I checked the Thrift Server logs, I see the following message.

16/11/17 17:01:26 ERROR TThreadPoolServer: Error occurred during processing of message.

java.lang.RuntimeException: org.apache.thrift.transport.TTransportException: Invalid status -128

        at org.apache.thrift.transport.TSaslServerTransport$Factory.getTransport(

        at org.apache.thrift.server.TThreadPoolServer$

        at java.util.concurrent.ThreadPoolExecutor.runWorker(

        at java.util.concurrent.ThreadPoolExecutor$


Caused by: org.apache.thrift.transport.TTransportException: Invalid status -128

        at org.apache.thrift.transport.TSaslTransport.sendAndThrowMessage(

        at org.apache.thrift.transport.TSaslTransport.receiveSaslMessage(

        at org.apache.thrift.transport.TSaslServerTransport.handleSaslStartMessage(



        at org.apache.thrift.transport.TSaslServerTransport$Factory.getTransport(

        ... 4 more

I tried with Spark 1.6.1 and the outcome is the same. Does anyone have Tableau working with a similar setup? If so, what am I missing here? 

1 Answer

0 votes
by (47.2k points)

While connecting to Spark SQL, choose "Username" authentication instead of "No Authentication". You can leave the username blank.

Browse Categories