我正试图从OS x连接到Tableau Desktop 10.1.1的Spark SQL (Spark 2.0.0)。我已经安装了SimbaSparkODBC,并且Spark Thirft服务器已经启动并运行。我能够使用直线连接并验证节俭服务器。
然而,当我使用Spark SQL连接器配置Tableau时,它不连接。一段时间后,查询超时。当我检查Thrift Server日志时,我看到以下消息:
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(TSaslServerTransport.java:219)
at org.apache.thrift.server.TThreadPoolServer$WorkerProcess.run(TThreadPoolServer.java:268)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
Caused by: org.apache.thrift.transport.TTransportException: Invalid status -128
at org.apache.thrift.transport.TSaslTransport.sendAndThrowMessage(TSaslTransport.java:232)
at org.apache.thrift.transport.TSaslTransport.receiveSaslMessage(TSaslTransport.java:184)
at org.apache.thrift.transport.TSaslServerTransport.handleSaslStartMessage(TSaslServerTransport.java:125)
at org.apache.thrift.transport.TSaslTransport.open(TSaslTransport.java:271)
at org.apache.thrift.transport.TSaslServerTransport.open(TSaslServerTransport.java:41)
at org.apache.thrift.transport.TSaslServerTransport$Factory.getTransport(TSaslServerTransport.java:216)
... 4 more
我尝试了Spark 1.6.1,结果是一样的。有人有Tableau工作与类似的设置?如果是这样,我在这里错过了什么?
连接Spark SQL时,请选择"Username"身份验证,而不是"No authentication "。用户名可以留空。