<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>question Re: Spark Thrift Server connection to Tableau on Sandbox HDP2.5 in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Spark-Thrift-Server-connection-to-Tableau-on-Sandbox-HDP2-5/m-p/144095#M44192</link>
    <description>&lt;P&gt;I'm on Tableau 9.3. It was working as expected with Sandbox HDP 2.4.&lt;/P&gt;</description>
    <pubDate>Mon, 24 Oct 2016 22:40:39 GMT</pubDate>
    <dc:creator>daniel_rolls</dc:creator>
    <dc:date>2016-10-24T22:40:39Z</dc:date>
    <item>
      <title>Spark Thrift Server connection to Tableau on Sandbox HDP2.5</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Spark-Thrift-Server-connection-to-Tableau-on-Sandbox-HDP2-5/m-p/144093#M44190</link>
      <description>&lt;P&gt;I had zero issues connecting Tableau to Sandbox HDP2.4 using the simba spark SQL ODBC driver, but I'm having issues with Sandbox HDP2.5. I can connect to Hive no problem on port 10000 but trying to connect to Spark on 10015 provides a connection failed message. Telnet to port 10000 works just fine, but telnet cannot open the connection to the server on port 10015. I ran:
root@sandbox sbin]# netstat -nltup | grep 100 
with the following results:&lt;/P&gt;&lt;P&gt;tcp  0  0 0.0.0.0:10020  0.0.0.0:*  LISTEN  2533/java
tcp  0  0 0.0.0.0:10000  0.0.0.0:*  LISTEN  1703/java
tcp  0  0 0.0.0.0:10033  0.0.0.0:*  LISTEN  2533/java
tcp  0  0 :::10015  :::*  LISTEN  4212/java&lt;/P&gt;&lt;P&gt;Process 4212 corresponds to the process that is running thrift server.&lt;/P&gt;&lt;P&gt;I'm seeing this at the end of /var/log/spark thrift-server log:&lt;/P&gt;&lt;P&gt;6/10/21 19:55:53 INFO ThriftCLIService: Starting ThriftBinaryCLIService on port 10015 with 5...500 worker threads&lt;/P&gt;&lt;P&gt;and there was nothing after that.

Any help getting thrift-server up for Tableau would be greatly appreciated.&lt;/P&gt;</description>
      <pubDate>Sat, 22 Oct 2016 05:04:19 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Spark-Thrift-Server-connection-to-Tableau-on-Sandbox-HDP2-5/m-p/144093#M44190</guid>
      <dc:creator>daniel_rolls</dc:creator>
      <dc:date>2016-10-22T05:04:19Z</dc:date>
    </item>
    <item>
      <title>Re: Spark Thrift Server connection to Tableau on Sandbox HDP2.5</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Spark-Thrift-Server-connection-to-Tableau-on-Sandbox-HDP2-5/m-p/144094#M44191</link>
      <description>&lt;P&gt;What version of Tableau are you using? Spark connection only works with Tableau 9.2 and later. &lt;/P&gt;</description>
      <pubDate>Sun, 23 Oct 2016 02:40:43 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Spark-Thrift-Server-connection-to-Tableau-on-Sandbox-HDP2-5/m-p/144094#M44191</guid>
      <dc:creator>vjain</dc:creator>
      <dc:date>2016-10-23T02:40:43Z</dc:date>
    </item>
    <item>
      <title>Re: Spark Thrift Server connection to Tableau on Sandbox HDP2.5</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Spark-Thrift-Server-connection-to-Tableau-on-Sandbox-HDP2-5/m-p/144095#M44192</link>
      <description>&lt;P&gt;I'm on Tableau 9.3. It was working as expected with Sandbox HDP 2.4.&lt;/P&gt;</description>
      <pubDate>Mon, 24 Oct 2016 22:40:39 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Spark-Thrift-Server-connection-to-Tableau-on-Sandbox-HDP2-5/m-p/144095#M44192</guid>
      <dc:creator>daniel_rolls</dc:creator>
      <dc:date>2016-10-24T22:40:39Z</dc:date>
    </item>
    <item>
      <title>Re: Spark Thrift Server connection to Tableau on Sandbox HDP2.5</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Spark-Thrift-Server-connection-to-Tableau-on-Sandbox-HDP2-5/m-p/144096#M44193</link>
      <description>&lt;P&gt;Did you open that port on the sandbox through VirtualBox?&lt;/P&gt;&lt;P&gt;That needs to be available from your Mac/PC to the Sandbox.&lt;/P&gt;&lt;P&gt;It is probably not open.&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.hortonworks.com/questions/17168/lab-0-setup-start-the-sandbox-vm-and-open-ambari.html" target="_blank"&gt;https://community.hortonworks.com/questions/17168/lab-0-setup-start-the-sandbox-vm-and-open-ambari.html&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 25 Oct 2016 04:03:50 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Spark-Thrift-Server-connection-to-Tableau-on-Sandbox-HDP2-5/m-p/144096#M44193</guid>
      <dc:creator>TimothySpann</dc:creator>
      <dc:date>2016-10-25T04:03:50Z</dc:date>
    </item>
    <item>
      <title>Re: Spark Thrift Server connection to Tableau on Sandbox HDP2.5</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Spark-Thrift-Server-connection-to-Tableau-on-Sandbox-HDP2-5/m-p/144097#M44194</link>
      <description>&lt;P&gt;I'm using VMWare instead of VirtualBox, but I did go into Virtual Network Editor, selected NAT, then for Host Port, put in 10015, the VM IP Address and the Virtual machine port to 10015. It is still erroring out when I try to Telnet to the IP and the port.&lt;/P&gt;</description>
      <pubDate>Tue, 25 Oct 2016 04:19:59 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Spark-Thrift-Server-connection-to-Tableau-on-Sandbox-HDP2-5/m-p/144097#M44194</guid>
      <dc:creator>daniel_rolls</dc:creator>
      <dc:date>2016-10-25T04:19:59Z</dc:date>
    </item>
    <item>
      <title>Re: Spark Thrift Server connection to Tableau on Sandbox HDP2.5</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Spark-Thrift-Server-connection-to-Tableau-on-Sandbox-HDP2-5/m-p/144098#M44195</link>
      <description>&lt;P&gt;I think I'm getting warmer....
When I go to sandbox port 22 (outside of the docker container) and run iptables, I'm seeing an entry for port 10000 but there isn't one for 10015. Next step, I'll need to figure out how to add these entries to the iptables of the actual VM.&lt;/P&gt;&lt;P&gt;[root@sandbox ~]# iptables -t nat -L -n | grep 10000&lt;/P&gt;&lt;P&gt;
MASQUERADE  tcp  --  172.17.0.2  172.17.0.2  tcp dpt:10000&lt;/P&gt;&lt;P&gt;
DNAT  tcp  --  0.0.0.0/0  0.0.0.0/0  tcp dpt:10000 to:172.17.0.2:10000.&lt;/P&gt;&lt;P&gt;
[root@sandbox ~]# iptables -t nat -L -n | grep 10015&lt;/P&gt;&lt;P&gt;
[root@sandbox ~]#&lt;/P&gt;</description>
      <pubDate>Tue, 25 Oct 2016 23:20:32 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Spark-Thrift-Server-connection-to-Tableau-on-Sandbox-HDP2-5/m-p/144098#M44195</guid>
      <dc:creator>daniel_rolls</dc:creator>
      <dc:date>2016-10-25T23:20:32Z</dc:date>
    </item>
    <item>
      <title>Re: Spark Thrift Server connection to Tableau on Sandbox HDP2.5</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Spark-Thrift-Server-connection-to-Tableau-on-Sandbox-HDP2-5/m-p/144099#M44196</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/9304/tspann.html" nodeid="9304"&gt;@Timothy Spann&lt;/A&gt; &lt;A rel="user" href="https://community.cloudera.com/users/420/vjain.html" nodeid="420"&gt;@Vedant Jain&lt;/A&gt;&lt;/P&gt;&lt;P&gt;ISSUE RESOLVED!!
It was indeed an issue with the Docker configuration.&lt;/P&gt;&lt;P&gt;First, from the host (port 22) I went to /var/lib/docker/containers/ and then cd'd into the container/&lt;/P&gt;&lt;P&gt;From there, I opened config.v2.json and hostconfig.json and added an entry for port 10015. (There was an entry for port 10000, but not one for 10015)&lt;/P&gt;&lt;P&gt;Then I restarted the host. (shutdown -r now)&lt;/P&gt;&lt;P&gt;After restart, from the host (port 22) I could see that there was now a route to 10015:&lt;/P&gt;&lt;P&gt;[root@sandbox ~]# iptables -t nat -L -n | grep 10015&lt;/P&gt;&lt;P&gt;MASQUERADE  tcp  --  172.17.0.2  172.17.0.2  tcp dpt:10015&lt;/P&gt;&lt;P&gt;DNAT  tcp  --  0.0.0.0/0  0.0.0.0/0  tcp dpt:10015 to:172.17.0.2:10015&lt;/P&gt;&lt;P&gt;I then logged into Ambari, started the Thrift Server and was able to connect via Tableau and the Spark SQL ODBC to port 10015.&lt;/P&gt;&lt;P&gt;To expose other ports that are not in the default docker image, you'll probably have to follow the same process.&lt;/P&gt;</description>
      <pubDate>Tue, 25 Oct 2016 23:44:15 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Spark-Thrift-Server-connection-to-Tableau-on-Sandbox-HDP2-5/m-p/144099#M44196</guid>
      <dc:creator>daniel_rolls</dc:creator>
      <dc:date>2016-10-25T23:44:15Z</dc:date>
    </item>
  </channel>
</rss>

