【问题标题】:Can't use Tableau on a EMR Spark cluster无法在 EMR Spark 群集上使用 Tableau
【发布时间】:2018-07-25 01:30:57
【问题描述】:

我有一个客户想在他们的 EMR Spark 集群上使用 Tableau。

文档看起来很简单,但我在尝试连接时遇到了错误。

设置如下:

  1. EMR 集群的主节点没有公共 IP,但我可以从 Tableau 桌面 EC2 实例 ping 和 telnet 到运行 thrift 的端口 10001
  2. 我可以用beeline 测试thrift 并且连接良好
  3. 考虑到集群的访问限制,我没有使用 SSL 或身份验证
  4. 我已经安装了 data direct 8.0 和 simbaodbc

我使用的是emr-5.13.0,Hadoop 发行版是 Amazon 2.8.3,Spark 版本是 2.3.0。

错误是

Unable to connect to the ODBC Data Source. Check that the necessary drivers are installed and that the connection properties are valid.

[Simba][ThriftExtension] (5) Error occurred while contacting server: No more data to read.. This could be because you are trying to establish a non-SSL connection to an SSL-enabled server.

Unable to connect to the server "IP". Check that the server is running and that you have access privileges to the requested database."

我只是按照 Tableau 提供的文档说明只安装驱动程序(不要弄乱 ODBC),然后在 Tableau 中使用它。我已经验证在尝试连接之前我没有设置 SSL 和身份验证。我还通过运行 Datagrip 并从 Tableau EC2 实例中执行查询来进行验证,结果按预期工作。

【问题讨论】:

    标签: apache-spark odbc tableau-api


    【解决方案1】:

    通过忽略文档并仅设置 odbc 驱动程序,然后选择它而不是 sparksql 作为源来解决问题。

    【讨论】:

      猜你喜欢
      • 2018-09-18
      • 1970-01-01
      • 2016-02-10
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2020-10-31
      • 2016-10-04
      相关资源
      最近更新 更多