簡體   English   中英

HortonWorks Hadoop Sandbox和Tableau

[英]HortonWorks Hadoop Sandbox and Tableau

我正在嘗試將Tableau連接到HortonWorks Hadoop沙箱,如下所述: http ://hortonworks.com/kb/how-to-connect-tableau-to-hortonworks-sandbox/ Tableau能夠將虛擬服務器視為數據source,它准確地列出了可用的Schema和Tables。

但是,在嘗試選擇任何表或預覽其數據時,會顯示錯誤彈出窗口'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]'其中default是schema,tablename是我試圖查看的表的名稱。

以下是從vm沙箱中的終端窗口運行ifconfig時返回的內容。 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)

指南說明Enter the IP address of the Sandbox VM (typically 192.168.56.101)

這個IP差異是問題的根源還是還有其他我忽略的東西? 我假設,因為它可以看到這無關緊要的架構和表格。

事實證明這是一個權限問題,我可以通過遵循本指南解決: http//diveintobigdata.blogspot.com/2015/10/error-occurred-executing-hive-query.html

但是,在我被告知輸入localhost的任何地方,例如訪問Ambari時,我不得不用192.168.50.128替換localhost,我在上面提到的是在終端中執行ifconfig時看到的IP。

此外,在指南的第1步中,文件路徑中不應有任何空格。

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM