简体   繁体   English

HortonWorks Hadoop Sandbox和Tableau

[英]HortonWorks Hadoop Sandbox and Tableau

I am attempting to connect Tableau to the HortonWorks Hadoop sandbox as described here: http://hortonworks.com/kb/how-to-connect-tableau-to-hortonworks-sandbox/ Tableau is able to see the virtual server as a data source, and it accurately lists the available Schemas and Tables. 我正在尝试将Tableau连接到HortonWorks Hadoop沙箱,如下所述: http ://hortonworks.com/kb/how-to-connect-tableau-to-hortonworks-sandbox/ Tableau能够将虚拟服务器视为数据source,它准确地列出了可用的Schema和Tables。

However, when attempting to select any table or preview it's data, it displays an error popup that 'An error has occurred while loading the data. No such table [default].[tablename]' 但是,在尝试选择任何表或预览其数据时,会显示错误弹出窗口'An error has occurred while loading the data. No such table [default].[tablename]' 'An error has occurred while loading the data. No such table [default].[tablename]' where default is the schema and tablename is the name of the table I'm attempting to view. 'An error has occurred while loading the data. No such table [default].[tablename]'其中default是schema,tablename是我试图查看的表的名称。

Here is what comes back when I run ifconfig from the Terminal window in the vm sandbox. 以下是从vm沙箱中的终端窗口运行ifconfig时返回的内容。 Tableau is connecting to the vm via 192.168.50.128 . Tableau通过192.168.50.128连接到vm。

eth3      Link encap:Ethernet  HWaddr 00:0C:29:EB:B9:DC  
          inet addr:192.168.50.128  Bcast:192.168.50.255  Mask:255.255.255.0
          inet6 addr: fe80::20c:29ff:feeb:b9dc/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:42011 errors:0 dropped:0 overruns:0 frame:0
          TX packets:9750 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:15123871 (14.4 MiB)  TX bytes:4019795 (3.8 MiB)

lo        Link encap:Local Loopback  
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:65536  Metric:1
          RX packets:5185579 errors:0 dropped:0 overruns:0 frame:0
          TX packets:5185579 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:2054785522 (1.9 GiB)  TX bytes:2054785522 (1.9 GiB)

The guide states Enter the IP address of the Sandbox VM (typically 192.168.56.101) which is different. 指南说明Enter the IP address of the Sandbox VM (typically 192.168.56.101)

Is this IP difference the source of the issue or is there something else I've overlooked? 这个IP差异是问题的根源还是还有其他我忽略的东西? Im assuming that since it can see the schema and tables that this wouldn't matter. 我假设,因为它可以看到这无关紧要的架构和表格。

Turns out this was a permissions issue which I was able to resolve by following this guide: http://diveintobigdata.blogspot.com/2015/10/error-occurred-executing-hive-query.html 事实证明这是一个权限问题,我可以通过遵循本指南解决: http//diveintobigdata.blogspot.com/2015/10/error-occurred-executing-hive-query.html

However, everywhere I was told to input localhost, such as when accessing Ambari, I had to replace localhost with 192.168.50.128 which I mentioned above is the IP I saw when executing ifconfig in the terminal. 但是,在我被告知输入localhost的任何地方,例如访问Ambari时,我不得不用192.168.50.128替换localhost,我在上面提到的是在终端中执行ifconfig时看到的IP。

Also, in step 1 of the guide there should not be any spaces in the file paths that were provided. 此外,在指南的第1步中,文件路径中不应有任何空格。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM