<?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: Can't connect to Impala through JDBC on Amazon EMR in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Can-t-connect-to-Impala-through-JDBC-on-Amazon-EMR/m-p/16820#M2214</link>
    <description>Hi Daan,&lt;BR /&gt;&lt;BR /&gt;I tried a different SSH tunnel and it worked for me:&lt;BR /&gt;&lt;BR /&gt;ssh -L 12345:localhost:21050 your_user_name@your_node.compute.amazonaws.com&lt;BR /&gt;&lt;BR /&gt;This opens up a port 12345 on your local machine and forwards it to port 21050 on the hadoop node.&lt;BR /&gt;&lt;BR /&gt;More info here: &lt;A href="http://marcelkrcah.net/blog/how-to-wire-pandas-to-impala/" target="_blank"&gt;http://marcelkrcah.net/blog/how-to-wire-pandas-to-impala/&lt;/A&gt;</description>
    <pubDate>Tue, 12 Aug 2014 18:56:35 GMT</pubDate>
    <dc:creator>MarcelK</dc:creator>
    <dc:date>2014-08-12T18:56:35Z</dc:date>
    <item>
      <title>Can't connect to Impala through JDBC on Amazon EMR</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Can-t-connect-to-Impala-through-JDBC-on-Amazon-EMR/m-p/14868#M2211</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Hi all,&lt;/SPAN&gt;&lt;/P&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;I'm trying to connect to Impala on a cluster setup through Amazon EMR, but it doesn't work. It's a three-node cluster, with Impala installed and working. I've done the following things:&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;UL&gt;&lt;LI&gt;&lt;SPAN&gt;Setup a SSH tunnel to the master node like this:&amp;nbsp;&lt;EM&gt;ssh -ND 21050 hadoop@master-node-external-dns-hostname&lt;/EM&gt;&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN&gt;Downloaded the correct JDBC drivers from here:&amp;nbsp;&lt;A target="_blank" href="http://docs.aws.amazon.com/ElasticMapReduce/latest/DeveloperGuide/impala-jdbc.html"&gt;http://docs.aws.amazon.com/ElasticMapReduce/latest/DeveloperGuide/impala-jdbc.html&lt;/A&gt;&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN&gt;Tried to setup a connection using SquirrelSQL and SQLWorkbenchJ using the downloaded drivers and the following connection string:&amp;nbsp;&lt;EM&gt;jdbc:hive2://localhost:21050/;auth=noSasl&lt;/EM&gt;&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN&gt;&lt;STRONG&gt;Result:&amp;nbsp;Could not establish connection to jdbc:hive2://localhost:21050/;auth=noSasl: null&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN&gt;I checked wether Impala works by running&amp;nbsp;&lt;EM&gt;impala-shell&lt;/EM&gt;&amp;nbsp;on the master node. I can show tables, query, etc.&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN&gt;I checked wether the port is forwarded through the tunnel by telnetting to localhost 21050&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN&gt;I checked with&amp;nbsp;&lt;EM&gt;beeline&lt;/EM&gt;&amp;nbsp;on the master node if it's possible at all to connect to Impala through JDBC on that port. Works just fine&lt;/SPAN&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;DIV&gt;Am I missing something? Can someone shine their light on this?&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Thanks!&lt;/DIV&gt;</description>
      <pubDate>Fri, 16 Sep 2022 09:01:55 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Can-t-connect-to-Impala-through-JDBC-on-Amazon-EMR/m-p/14868#M2211</guid>
      <dc:creator>Daan</dc:creator>
      <dc:date>2022-09-16T09:01:55Z</dc:date>
    </item>
    <item>
      <title>Re: Can't connect to Impala through JDBC on Amazon EMR</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Can-t-connect-to-Impala-through-JDBC-on-Amazon-EMR/m-p/14902#M2212</link>
      <description>&lt;P&gt;Daan,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I think you'd need to ask Amazon about this; it provides support for Impala on EMR.&lt;/P&gt;</description>
      <pubDate>Wed, 09 Jul 2014 20:49:11 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Can-t-connect-to-Impala-through-JDBC-on-Amazon-EMR/m-p/14902#M2212</guid>
      <dc:creator>jkestelyn</dc:creator>
      <dc:date>2014-07-09T20:49:11Z</dc:date>
    </item>
    <item>
      <title>Re: Can't connect to Impala through JDBC on Amazon EMR</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Can-t-connect-to-Impala-through-JDBC-on-Amazon-EMR/m-p/14922#M2213</link>
      <description>I asked it over at the Amazon EMR forums as well. No answers so far &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt; I&lt;BR /&gt;thought that maybe this was a general Impala JDBC issue that people have&lt;BR /&gt;seen before.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 10 Jul 2014 10:12:36 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Can-t-connect-to-Impala-through-JDBC-on-Amazon-EMR/m-p/14922#M2213</guid>
      <dc:creator>Daan</dc:creator>
      <dc:date>2014-07-10T10:12:36Z</dc:date>
    </item>
    <item>
      <title>Re: Can't connect to Impala through JDBC on Amazon EMR</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Can-t-connect-to-Impala-through-JDBC-on-Amazon-EMR/m-p/16820#M2214</link>
      <description>Hi Daan,&lt;BR /&gt;&lt;BR /&gt;I tried a different SSH tunnel and it worked for me:&lt;BR /&gt;&lt;BR /&gt;ssh -L 12345:localhost:21050 your_user_name@your_node.compute.amazonaws.com&lt;BR /&gt;&lt;BR /&gt;This opens up a port 12345 on your local machine and forwards it to port 21050 on the hadoop node.&lt;BR /&gt;&lt;BR /&gt;More info here: &lt;A href="http://marcelkrcah.net/blog/how-to-wire-pandas-to-impala/" target="_blank"&gt;http://marcelkrcah.net/blog/how-to-wire-pandas-to-impala/&lt;/A&gt;</description>
      <pubDate>Tue, 12 Aug 2014 18:56:35 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Can-t-connect-to-Impala-through-JDBC-on-Amazon-EMR/m-p/16820#M2214</guid>
      <dc:creator>MarcelK</dc:creator>
      <dc:date>2014-08-12T18:56:35Z</dc:date>
    </item>
    <item>
      <title>Re: Can't connect to Impala through JDBC on Amazon EMR</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Can-t-connect-to-Impala-through-JDBC-on-Amazon-EMR/m-p/16826#M2215</link>
      <description>&lt;P&gt;Thanks Marcel! That seems to work indeed, at least with Tableau and Impyla. Apparently the instructions on the Amazon website regarding setting up a tunnel, don't work that well. I'm gonna try out tomorrow if this tunnel also works with Squirrel and other generic JDBC DB tools.&lt;/P&gt;</description>
      <pubDate>Tue, 12 Aug 2014 20:04:26 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Can-t-connect-to-Impala-through-JDBC-on-Amazon-EMR/m-p/16826#M2215</guid>
      <dc:creator>Daan</dc:creator>
      <dc:date>2014-08-12T20:04:26Z</dc:date>
    </item>
  </channel>
</rss>

