<?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: Getting error when trying to connect to Phoenix from SQuirrel Client in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Getting-error-when-trying-to-connect-to-Phoenix-from/m-p/208410#M76817</link>
    <description>&lt;P&gt;Hi Friends, &lt;/P&gt;&lt;P&gt;I was putting the url incorrectly, ":" was missing from the url after the port number.&lt;/P&gt;&lt;P&gt;So the correct one is as below:&lt;/P&gt;&lt;P&gt;jdbc:phoenix:ec2-11-111-11-111.compute-1.amazonaws.com:2181:/hbase-unsecure&lt;/P&gt;&lt;P&gt;But now I am getting the below error:&lt;/P&gt;&lt;P&gt;Unexpected Error occurred attempting to open an SQL connection.
class java.util.concurrent.TimeoutException: null&lt;/P&gt;&lt;P&gt;java.util.concurrent.TimeoutException
at java.util.concurrent.FutureTask.get(FutureTask.java:205)
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(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)&lt;/P&gt;&lt;P&gt;Please advice.&lt;/P&gt;</description>
    <pubDate>Tue, 10 Apr 2018 11:47:09 GMT</pubDate>
    <dc:creator>anupam3693</dc:creator>
    <dc:date>2018-04-10T11:47:09Z</dc:date>
    <item>
      <title>Getting error when trying to connect to Phoenix from SQuirrel Client</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Getting-error-when-trying-to-connect-to-Phoenix-from/m-p/208405#M76812</link>
      <description>&lt;P&gt;Hi Friends, &lt;/P&gt;&lt;P&gt;I am not able to connect to the Phoenix from SQuirrel Client. &lt;/P&gt;&lt;P&gt;Versions used: &lt;/P&gt;&lt;P&gt;HDP 2.5.3.0,  phoenix-4.7.0.2.5.3.0-37, Hbase 1.1.2, SQuirrel Client version 3.8.1&lt;/P&gt;&lt;P&gt;I have created 3 node cluster using Ambari Installation (ambari - 2.5.1) on AWS EC2 Instance. I am able to access the Phoenix layer by using sqlline.py. &lt;/P&gt;&lt;P&gt;I have followed the below link to configure SQuirrel.&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.hortonworks.com/articles/44350/setting-up-squirrel-and-phoenix-integration.html" target="_blank"&gt;https://community.hortonworks.com/articles/44350/setting-up-squirrel-and-phoenix-integration.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;I am able to create the Phoenix driver and alias successfully but when I try to connect (I am not using any userid or password)  it gives me below error:&lt;/P&gt;&lt;P&gt;--------------------------------------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;P&gt;java.lang.NullPointerException
at org.apache.hadoop.hbase.zookeeper.ZooKeeperWatcher.getMetaReplicaNodes(ZooKeeperWatcher.java:395)
at org.apache.hadoop.hbase.zookeeper.MetaTableLocator.blockUntilAvailable(MetaTableLocator.java:562)
at org.apache.hadoop.hbase.client.ZooKeeperRegistry.getMetaRegionLocation(ZooKeeperRegistry.java:61)
at org.apache.hadoop.hbase.client.ConnectionManager$HConnectionImplementation.locateMeta(ConnectionManager.java:1192)
at org.apache.hadoop.hbase.client.ConnectionManager$HConnectionImplementation.locateRegion(ConnectionManager.java:1159)
at org.apache.hadoop.hbase.client.RpcRetryingCallerWithReadReplicas.getRegionLocations(RpcRetryingCallerWithReadReplicas.java:300)
at org.apache.hadoop.hbase.client.ScannerCallableWithReplicas.call(ScannerCallableWithReplicas.java:156)
at org.apache.hadoop.hbase.client.ScannerCallableWithReplicas.call(ScannerCallableWithReplicas.java:60)
at org.apache.hadoop.hbase.client.RpcRetryingCaller.callWithoutRetries(RpcRetryingCaller.java:200)
at org.apache.hadoop.hbase.client.ClientScanner.call(ClientScanner.java:327)
at org.apache.hadoop.hbase.client.ClientScanner.nextScanner(ClientScanner.java:302)
at org.apache.hadoop.hbase.client.ClientScanner.initializeScannerInConstruction(ClientScanner.java:167)
at org.apache.hadoop.hbase.client.ClientScanner.&amp;lt;init&amp;gt;(ClientScanner.java:162)
at org.apache.hadoop.hbase.client.HTable.getScanner(HTable.java:794)
at org.apache.hadoop.hbase.MetaTableAccessor.fullScan(MetaTableAccessor.java:602)
at org.apache.hadoop.hbase.MetaTableAccessor.tableExists(MetaTableAccessor.java:366)
at org.apache.hadoop.hbase.client.HBaseAdmin.tableExists(HBaseAdmin.java:405)
at org.apache.phoenix.query.ConnectionQueryServicesImpl$13.call(ConnectionQueryServicesImpl.java:2358)
at org.apache.phoenix.query.ConnectionQueryServicesImpl$13.call(ConnectionQueryServicesImpl.java:2327)
at org.apache.phoenix.util.PhoenixContextExecutor.call(PhoenixContextExecutor.java:78)
at org.apache.phoenix.query.ConnectionQueryServicesImpl.init(ConnectionQueryServicesImpl.java:2327)
at org.apache.phoenix.jdbc.PhoenixDriver.getConnectionQueryServices(PhoenixDriver.java:233)
at org.apache.phoenix.jdbc.PhoenixEmbeddedDriver.createConnection(PhoenixEmbeddedDriver.java:142)
at org.apache.phoenix.jdbc.PhoenixDriver.connect(PhoenixDriver.java:202)
at net.sourceforge.squirrel_sql.fw.sql.SQLDriverManager.getConnection(SQLDriverManager.java:133)
at net.sourceforge.squirrel_sql.client.mainframe.action.OpenConnectionCommand.executeConnect(OpenConnectionCommand.java:167)
at net.sourceforge.squirrel_sql.client.mainframe.action.OpenConnectionCommand.access$000(OpenConnectionCommand.java:45)
at net.sourceforge.squirrel_sql.client.mainframe.action.OpenConnectionCommand$1.run(OpenConnectionCommand.java:104)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)&lt;/P&gt;&lt;P&gt;Please advice. &lt;/P&gt;</description>
      <pubDate>Tue, 03 Apr 2018 19:32:19 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Getting-error-when-trying-to-connect-to-Phoenix-from/m-p/208405#M76812</guid>
      <dc:creator>anupam3693</dc:creator>
      <dc:date>2018-04-03T19:32:19Z</dc:date>
    </item>
    <item>
      <title>Re: Getting error when trying to connect to Phoenix from SQuirrel Client</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Getting-error-when-trying-to-connect-to-Phoenix-from/m-p/208406#M76813</link>
      <description>&lt;P&gt;Hi &lt;A rel="user" href="https://community.cloudera.com/users/70615/anupam3693.html" nodeid="70615"&gt;@Anupam Kumar&lt;/A&gt;,&lt;/P&gt;&lt;P&gt;Could you please provide details whether cluster is kerberised(Secure) or un-kerberised(Unsecure)?&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Shubham&lt;/P&gt;</description>
      <pubDate>Thu, 05 Apr 2018 00:30:08 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Getting-error-when-trying-to-connect-to-Phoenix-from/m-p/208406#M76813</guid>
      <dc:creator>schhabra1</dc:creator>
      <dc:date>2018-04-05T00:30:08Z</dc:date>
    </item>
    <item>
      <title>Re: Getting error when trying to connect to Phoenix from SQuirrel Client</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Getting-error-when-trying-to-connect-to-Phoenix-from/m-p/208407#M76814</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/18485/schhabra.html" nodeid="18485"&gt;@schhabra&lt;/A&gt; Its un-kerberised(Unsecure).&lt;/P&gt;</description>
      <pubDate>Thu, 05 Apr 2018 09:54:29 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Getting-error-when-trying-to-connect-to-Phoenix-from/m-p/208407#M76814</guid>
      <dc:creator>anupam3693</dc:creator>
      <dc:date>2018-04-05T09:54:29Z</dc:date>
    </item>
    <item>
      <title>Re: Getting error when trying to connect to Phoenix from SQuirrel Client</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Getting-error-when-trying-to-connect-to-Phoenix-from/m-p/208408#M76815</link>
      <description>&lt;P&gt;
	It looks like that the URL you specified may be wrong. Can you please check if the URL is correct?&lt;/P&gt;&lt;P&gt;The correct URL format is as follows:&lt;/P&gt;&lt;PRE&gt;jdbc:phoenix:&amp;lt;zookeeper quorum&amp;gt;:&amp;lt;zookeeper port&amp;gt;:&amp;lt;zookeeper znode parent&amp;gt;&lt;/PRE&gt;&lt;P&gt;You might not have specified correct zookeeper znode parent.&lt;/P&gt;</description>
      <pubDate>Thu, 05 Apr 2018 13:08:32 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Getting-error-when-trying-to-connect-to-Phoenix-from/m-p/208408#M76815</guid>
      <dc:creator>tsuzuki</dc:creator>
      <dc:date>2018-04-05T13:08:32Z</dc:date>
    </item>
    <item>
      <title>Re: Getting error when trying to connect to Phoenix from SQuirrel Client</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Getting-error-when-trying-to-connect-to-Phoenix-from/m-p/208409#M76816</link>
      <description>&lt;P&gt;@Toshihiro Suzuki &lt;/P&gt;&lt;P&gt;jdbc:phoenix:ec2-111-11-11-11.compute-1.amazonaws.com:2181/hbase-unsecure&lt;/P&gt;&lt;P&gt;I have put in this format. &lt;/P&gt;</description>
      <pubDate>Thu, 05 Apr 2018 23:57:27 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Getting-error-when-trying-to-connect-to-Phoenix-from/m-p/208409#M76816</guid>
      <dc:creator>anupam3693</dc:creator>
      <dc:date>2018-04-05T23:57:27Z</dc:date>
    </item>
    <item>
      <title>Re: Getting error when trying to connect to Phoenix from SQuirrel Client</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Getting-error-when-trying-to-connect-to-Phoenix-from/m-p/208410#M76817</link>
      <description>&lt;P&gt;Hi Friends, &lt;/P&gt;&lt;P&gt;I was putting the url incorrectly, ":" was missing from the url after the port number.&lt;/P&gt;&lt;P&gt;So the correct one is as below:&lt;/P&gt;&lt;P&gt;jdbc:phoenix:ec2-11-111-11-111.compute-1.amazonaws.com:2181:/hbase-unsecure&lt;/P&gt;&lt;P&gt;But now I am getting the below error:&lt;/P&gt;&lt;P&gt;Unexpected Error occurred attempting to open an SQL connection.
class java.util.concurrent.TimeoutException: null&lt;/P&gt;&lt;P&gt;java.util.concurrent.TimeoutException
at java.util.concurrent.FutureTask.get(FutureTask.java:205)
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(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)&lt;/P&gt;&lt;P&gt;Please advice.&lt;/P&gt;</description>
      <pubDate>Tue, 10 Apr 2018 11:47:09 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Getting-error-when-trying-to-connect-to-Phoenix-from/m-p/208410#M76817</guid>
      <dc:creator>anupam3693</dc:creator>
      <dc:date>2018-04-10T11:47:09Z</dc:date>
    </item>
  </channel>
</rss>

