本文介绍了Tableau:使用Impala连接到Cloudera Hadoop时出错的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用Tableau连接到Cloudera Hadoop。我提供服务器和端口的详细信息,并使用 Impala进行连接。我能够成功连接,选择默认模式并选择所需的表。

I am working on using Tableau to connect to Cloudera Hadoop. I provide the server and port details and connect using "Impala". I am able to succesfully connect, select default Schema and choose the required table (s).

在此之后,当我将维或度量拖放到行时/网格上的列,我得到以下错误:

After this, when I drag and drop either a dimension or a measure to Rows/Columns on the 'grid', i get the below error:

[Cloudera] [Hardy](22)ThriftHiveClient中的错误:查询返回的非零代码:10025 ,原因:失败:SemanticException [错误10025]:行1:7表达式不在GROUP BY键'<列名> '中。

[Cloudera][Hardy] (22) Error from ThriftHiveClient: Query returned non-zero code: 10025, cause: FAILED: SemanticException [Error 10025]: Line 1:7 Expression not in GROUP BY key '<column name>'.

但是,如果我尝试使用连接类型与 HiveServer(而不是 Impala)相同,则可以正常工作。我们不知道哪里出了问题。

However, if i try the same using the connection type as 'HiveServer' (not 'Impala'), it works fine. We are not sure where we are going wrong.

对此有何帮助?

谢谢。

致谢,
Sudhakar

Regards,Sudhakar

推荐答案

原因错误的原因是因为当前不支持该驱动程序。

The reason for the error is because the Cloudera ODBC 2.5 driver is not currently supported for Impala .

要解决此问题,请卸载Cloudera ODBC 2.5驱动程序,然后安装Cloudera ODBC 1.2驱动程序。

To resolve the issue, uninstall the Cloudera ODBC 2.5 driver and install the Cloudera ODBC 1.2 driver instead.

这篇关于Tableau:使用Impala连接到Cloudera Hadoop时出错的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

06-11 16:23