<?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 Issue while connecting to phoenix from squirrel. in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Issue-while-connecting-to-phoenix-from-squirrel/m-p/221447#M79534</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I am trying to connect to phoenix from squirrel but i am facing some issues. &lt;/P&gt;&lt;P&gt;First of all i tried to connect to phoenix through sqlline and i was able to establish connection with below connection string.&lt;/P&gt;&lt;P&gt;"/usr/lib/phoenix/bin/sqlline.py ip-              8:2181:/hbase".&lt;/P&gt;&lt;P&gt;After this i downloaded the phoenix client jar from hbase cluster and placed it in the lib folder of Squirrel.&lt;/P&gt;&lt;P&gt;Now when i am trying to connect to phoenix with this connection string jdbc:phoenix:ip-                    8:2181:/hbase" i am getting below error.&lt;/P&gt;&lt;P&gt;Error : Unexpected Error occurred attempting to open an SQL connection.
class java.util.concurrent.TimeoutException: null&lt;/P&gt;&lt;P&gt;error form stack trace - java.util.concurrent.TimeoutException
at java.util.concurrent.FutureTask.get(Unknown Source)
at net.sourceforge.squirrel_sql.client.mainframe.action.OpenConnectionCommand.awaitConnection(OpenConnectionCommand.java:132)
at net.sourceforge.squirrel_sql.client.mainframe.action.OpenConnectionCommand.access$100(OpenConnectionCommand.java:45)
at net.sourceforge.squirrel_sql.client.mainframe.action.OpenConnectionCommand$2.run(OpenConnectionCommand.java:115)
at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
at java.util.concurrent.FutureTask.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)&lt;/P&gt;&lt;P&gt;More details - Hbase version - 1.4, Phoenix client version - 4.13.0&lt;/P&gt;&lt;P&gt;Please help me understand what could be the problem here.&lt;/P&gt;</description>
    <pubDate>Wed, 13 Jun 2018 15:09:35 GMT</pubDate>
    <dc:creator>ritur1293</dc:creator>
    <dc:date>2018-06-13T15:09:35Z</dc:date>
    <item>
      <title>Issue while connecting to phoenix from squirrel.</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Issue-while-connecting-to-phoenix-from-squirrel/m-p/221447#M79534</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I am trying to connect to phoenix from squirrel but i am facing some issues. &lt;/P&gt;&lt;P&gt;First of all i tried to connect to phoenix through sqlline and i was able to establish connection with below connection string.&lt;/P&gt;&lt;P&gt;"/usr/lib/phoenix/bin/sqlline.py ip-              8:2181:/hbase".&lt;/P&gt;&lt;P&gt;After this i downloaded the phoenix client jar from hbase cluster and placed it in the lib folder of Squirrel.&lt;/P&gt;&lt;P&gt;Now when i am trying to connect to phoenix with this connection string jdbc:phoenix:ip-                    8:2181:/hbase" i am getting below error.&lt;/P&gt;&lt;P&gt;Error : Unexpected Error occurred attempting to open an SQL connection.
class java.util.concurrent.TimeoutException: null&lt;/P&gt;&lt;P&gt;error form stack trace - java.util.concurrent.TimeoutException
at java.util.concurrent.FutureTask.get(Unknown Source)
at net.sourceforge.squirrel_sql.client.mainframe.action.OpenConnectionCommand.awaitConnection(OpenConnectionCommand.java:132)
at net.sourceforge.squirrel_sql.client.mainframe.action.OpenConnectionCommand.access$100(OpenConnectionCommand.java:45)
at net.sourceforge.squirrel_sql.client.mainframe.action.OpenConnectionCommand$2.run(OpenConnectionCommand.java:115)
at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
at java.util.concurrent.FutureTask.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)&lt;/P&gt;&lt;P&gt;More details - Hbase version - 1.4, Phoenix client version - 4.13.0&lt;/P&gt;&lt;P&gt;Please help me understand what could be the problem here.&lt;/P&gt;</description>
      <pubDate>Wed, 13 Jun 2018 15:09:35 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Issue-while-connecting-to-phoenix-from-squirrel/m-p/221447#M79534</guid>
      <dc:creator>ritur1293</dc:creator>
      <dc:date>2018-06-13T15:09:35Z</dc:date>
    </item>
    <item>
      <title>Re: Issue while connecting to phoenix from squirrel.</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Issue-while-connecting-to-phoenix-from-squirrel/m-p/221448#M79535</link>
      <description>&lt;P&gt;So the issue was that socket connection was getting established but the hostname returned by the zookeeper was not getting resolved by squirrel. This answer also points to same issue &lt;A href="https://community.hortonworks.com/questions/74141/unable-to-connect-to-apache-phoenix-remotely-using.html"&gt;link&lt;/A&gt;. &lt;/P&gt;</description>
      <pubDate>Fri, 15 Jun 2018 15:31:28 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Issue-while-connecting-to-phoenix-from-squirrel/m-p/221448#M79535</guid>
      <dc:creator>ritur1293</dc:creator>
      <dc:date>2018-06-15T15:31:28Z</dc:date>
    </item>
  </channel>
</rss>

