<?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: Cannot connect to Impala via JDBC: Connection timeout in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Cannot-connect-to-Impala-via-JDBC-Connection-timeout/m-p/32938#M8619</link>
    <description>&lt;P&gt;Hi Sean,&lt;/P&gt;&lt;P&gt;with respect to the ports used to connect to Hive/Impala etc., I found this document very useful:&amp;nbsp;&lt;A href="http://www.cloudera.com/content/cloudera/en/documentation/archives/cloudera-manager-4/v4-5-4/Configuring-Ports-for-Cloudera-Manager-Enterprise-Edition/cmeecp_topic_3.html" target="_blank"&gt;http://www.cloudera.com/content/cloudera/en/documentation/archives/cloudera-manager-4/v4-5-4/Configuring-Ports-for-Cloudera-Manager-Enterprise-Edition/cmeecp_topic_3.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I still have problems anyway with the connection to Hive.&lt;/P&gt;&lt;P&gt;Could you help me please?&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;&lt;P&gt;cghersi&lt;/P&gt;</description>
    <pubDate>Tue, 13 Oct 2015 20:03:21 GMT</pubDate>
    <dc:creator>cghersi</dc:creator>
    <dc:date>2015-10-13T20:03:21Z</dc:date>
    <item>
      <title>Cannot connect to Impala via JDBC: Connection timeout</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Cannot-connect-to-Impala-via-JDBC-Connection-timeout/m-p/32911#M8615</link>
      <description>&lt;P&gt;I've followed the Getting Started Guide, everything OK, and now I need to connect to Impala cluster via JDBC.&lt;/P&gt;&lt;P&gt;I have the following configuration:&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;Manager Node (cloudera1)&lt;/TD&gt;&lt;TD&gt;54.175.35.127&lt;/TD&gt;&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Worker Node 1 (cloudera2)&lt;/TD&gt;&lt;TD&gt;54.175.22.26&lt;/TD&gt;&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Worker Node 2 (cloudera3)&lt;/TD&gt;&lt;TD&gt;54.175.19.19&lt;/TD&gt;&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Worker Node 3 (cloudera4)&lt;/TD&gt;&lt;TD&gt;54.175.18.49&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;I have&amp;nbsp;the following connection string:&lt;/P&gt;&lt;P&gt;jdbc:impala://54.175.22.26:21050/default;user=my_user;password=my_psw&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What's the right pair IP address -TCP port that I should use to connect?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;&lt;P&gt;cghersi&lt;/P&gt;</description>
      <pubDate>Fri, 16 Sep 2022 09:43:40 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Cannot-connect-to-Impala-via-JDBC-Connection-timeout/m-p/32911#M8615</guid>
      <dc:creator>cghersi</dc:creator>
      <dc:date>2022-09-16T09:43:40Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot connect to Impala via JDBC: Connection timeout</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Cannot-connect-to-Impala-via-JDBC-Connection-timeout/m-p/32932#M8616</link>
      <description>&lt;P&gt;Update,&lt;/P&gt;&lt;P&gt;I have tried also with Hive, setting this connection string:&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;jdbc:hive://54.175.22.26:10000/default;user=my_u&lt;/SPAN&gt;&lt;SPAN&gt;ser;password=my_psw&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Again, no luck.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thank you&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;cghersi&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 13 Oct 2015 18:30:36 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Cannot-connect-to-Impala-via-JDBC-Connection-timeout/m-p/32932#M8616</guid>
      <dc:creator>cghersi</dc:creator>
      <dc:date>2015-10-13T18:30:36Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot connect to Impala via JDBC: Connection timeout</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Cannot-connect-to-Impala-via-JDBC-Connection-timeout/m-p/32934#M8617</link>
      <description>There's a firewall set up that may be your problem. The Live clusters only&lt;BR /&gt;expose ports that are considered secure and are required for the tutorials.&lt;BR /&gt;If you go beyond that, you may need to open some ports in the firewall, and&lt;BR /&gt;then you need to make sure you configure the services to be secure enough&lt;BR /&gt;to meet your needs. The authentication configuration with Hive and Impala&lt;BR /&gt;is the default, so the firewall blocks access to those ports by default.&lt;BR /&gt;&lt;BR /&gt;The firewall in question is the Network ACL. You can find the ID of the&lt;BR /&gt;specific ACL in the Resources Tab in CloudFormation, and then edit the&lt;BR /&gt;configuration of the Network ACL from the EC2 Management Console. Remember&lt;BR /&gt;the Network ACL is stateless, meaning it is unaware of established&lt;BR /&gt;connections, etc. and filters individual packets based on their ports.&lt;BR /&gt;&lt;BR /&gt;The EC2 security group and any operating-system-level firewall should not&lt;BR /&gt;be getting in the way here, but keep those in mind as other options if you&lt;BR /&gt;need to change the networking configuration. Remember that EC2 security&lt;BR /&gt;groups are stateful, but they apply to traffic even between the nodes of&lt;BR /&gt;your cluster.&lt;BR /&gt;&lt;BR /&gt;I'd also make sure you've confirmed the credentials and other details of&lt;BR /&gt;your connection string by connecting from a node in the cluster, so you can&lt;BR /&gt;differentiate between the firewall blocking the connection and any other&lt;BR /&gt;potential problems.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 13 Oct 2015 18:41:52 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Cannot-connect-to-Impala-via-JDBC-Connection-timeout/m-p/32934#M8617</guid>
      <dc:creator>Sean</dc:creator>
      <dc:date>2015-10-13T18:41:52Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot connect to Impala via JDBC: Connection timeout</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Cannot-connect-to-Impala-via-JDBC-Connection-timeout/m-p/32937#M8618</link>
      <description>&lt;P&gt;Hi Sean, than kyou for your reply: it worked with Impala, but with Hive I'm still encountering the same issue, on port 10000.&lt;/P&gt;&lt;P&gt;Moreover, just as user feedback, it is extremely difficult to find which are the right ports to connect to from an external client: could you please provide some reference where I can find such information on Cloudera Manager or similar UI?&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;&lt;P&gt;cghersi&lt;/P&gt;</description>
      <pubDate>Tue, 13 Oct 2015 19:49:06 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Cannot-connect-to-Impala-via-JDBC-Connection-timeout/m-p/32937#M8618</guid>
      <dc:creator>cghersi</dc:creator>
      <dc:date>2015-10-13T19:49:06Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot connect to Impala via JDBC: Connection timeout</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Cannot-connect-to-Impala-via-JDBC-Connection-timeout/m-p/32938#M8619</link>
      <description>&lt;P&gt;Hi Sean,&lt;/P&gt;&lt;P&gt;with respect to the ports used to connect to Hive/Impala etc., I found this document very useful:&amp;nbsp;&lt;A href="http://www.cloudera.com/content/cloudera/en/documentation/archives/cloudera-manager-4/v4-5-4/Configuring-Ports-for-Cloudera-Manager-Enterprise-Edition/cmeecp_topic_3.html" target="_blank"&gt;http://www.cloudera.com/content/cloudera/en/documentation/archives/cloudera-manager-4/v4-5-4/Configuring-Ports-for-Cloudera-Manager-Enterprise-Edition/cmeecp_topic_3.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I still have problems anyway with the connection to Hive.&lt;/P&gt;&lt;P&gt;Could you help me please?&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;&lt;P&gt;cghersi&lt;/P&gt;</description>
      <pubDate>Tue, 13 Oct 2015 20:03:21 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Cannot-connect-to-Impala-via-JDBC-Connection-timeout/m-p/32938#M8619</guid>
      <dc:creator>cghersi</dc:creator>
      <dc:date>2015-10-13T20:03:21Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot connect to Impala via JDBC: Connection timeout</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Cannot-connect-to-Impala-via-JDBC-Connection-timeout/m-p/33014#M8620</link>
      <description>&lt;P&gt;Hi Sean,&lt;/P&gt;&lt;P&gt;I'm still facing the same problem with&amp;nbsp;Hive connection&amp;nbsp;&lt;SPAN&gt;on port 10000.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Any other clue or advice?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thank you very much!&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;cghersi&lt;/P&gt;</description>
      <pubDate>Thu, 15 Oct 2015 23:08:41 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Cannot-connect-to-Impala-via-JDBC-Connection-timeout/m-p/33014#M8620</guid>
      <dc:creator>cghersi</dc:creator>
      <dc:date>2015-10-15T23:08:41Z</dc:date>
    </item>
  </channel>
</rss>

