<?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: Phoenix Query Server - Won't Start -  java.net.BindException: Address already in use in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Phoenix-Query-Server-Won-t-Start-java-net-BindException/m-p/136565#M31765</link>
    <description>&lt;P&gt;You can restart PQS using Ambari.&lt;/P&gt;</description>
    <pubDate>Tue, 14 Jun 2016 19:59:33 GMT</pubDate>
    <dc:creator>tyu</dc:creator>
    <dc:date>2016-06-14T19:59:33Z</dc:date>
    <item>
      <title>Phoenix Query Server - Won't Start -  java.net.BindException: Address already in use</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Phoenix-Query-Server-Won-t-Start-java-net-BindException/m-p/136558#M31758</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I've installed Phoenix Query Server (PQS) on one of the nodes on my cluster based on this &lt;A target="_blank" href="https://community.hortonworks.com/questions/21718/hi-all-how-to-add-phoenix-server-as-a-service-in-e.html" rel="nofollow noopener noreferrer"&gt;answer&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;At first, it's running, but when I restart the HBase, PQS wont start again. Here's the error log below:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="4988-selection-088.png" style="width: 673px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/22015iE62B9B37A34F9699/image-size/medium?v=v2&amp;amp;px=400" role="button" title="4988-selection-088.png" alt="4988-selection-088.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;On the node where PQS is installed, I also installed "clients".&lt;/P&gt;&lt;P&gt;Also, when installing PQS, do I need to enable Phoenix? or This will be automatic after PQS install?&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="4989-selection-087.png" style="width: 202px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/22016i9641D099B8D82A1A/image-size/medium?v=v2&amp;amp;px=400" role="button" title="4989-selection-087.png" alt="4989-selection-087.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Thank you in advance!&lt;/P&gt;&lt;P&gt;- MD&lt;/P&gt;</description>
      <pubDate>Mon, 19 Aug 2019 08:49:57 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Phoenix-Query-Server-Won-t-Start-java-net-BindException/m-p/136558#M31758</guid>
      <dc:creator>muanang</dc:creator>
      <dc:date>2019-08-19T08:49:57Z</dc:date>
    </item>
    <item>
      <title>Re: Phoenix Query Server - Won't Start -  java.net.BindException: Address already in use</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Phoenix-Query-Server-Won-t-Start-java-net-BindException/m-p/136559#M31759</link>
      <description>&lt;P&gt;You should enable Phoenix - Josh please correct me if I am wrong.&lt;/P&gt;&lt;P&gt;Can you use jps command to see if the previous PQS server was stopped ?&lt;/P&gt;&lt;P&gt;How did you restart the cluster ?&lt;/P&gt;</description>
      <pubDate>Tue, 14 Jun 2016 08:33:50 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Phoenix-Query-Server-Won-t-Start-java-net-BindException/m-p/136559#M31759</guid>
      <dc:creator>tyu</dc:creator>
      <dc:date>2016-06-14T08:33:50Z</dc:date>
    </item>
    <item>
      <title>Re: Phoenix Query Server - Won't Start -  java.net.BindException: Address already in use</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Phoenix-Query-Server-Won-t-Start-java-net-BindException/m-p/136560#M31760</link>
      <description>&lt;P&gt;Hi &lt;A rel="user" href="https://community.cloudera.com/users/532/tyu.html" nodeid="532"&gt;@Ted Yu&lt;/A&gt;, thanks for the respose.&lt;/P&gt;&lt;P&gt;1. Noted on enabling phoenix&lt;/P&gt;&lt;P&gt;2. JPS&lt;/P&gt;&lt;PRE&gt;6896 Main
7731 NiFi
32283 Kafka
22044 ConsoleConsumer
1740 jenkins.war
7709 RunNiFi
28271 Jps
&lt;/PRE&gt;&lt;P&gt;3. I didn't restart the whole cluster. Just restarted hbase component. Restarted it via Ambari&lt;/P&gt;</description>
      <pubDate>Tue, 14 Jun 2016 08:43:00 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Phoenix-Query-Server-Won-t-Start-java-net-BindException/m-p/136560#M31760</guid>
      <dc:creator>muanang</dc:creator>
      <dc:date>2016-06-14T08:43:00Z</dc:date>
    </item>
    <item>
      <title>Re: Phoenix Query Server - Won't Start -  java.net.BindException: Address already in use</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Phoenix-Query-Server-Won-t-Start-java-net-BindException/m-p/136561#M31761</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/2547/muanang.html" nodeid="2547"&gt;@Michael Dennis "MD" Uanang&lt;/A&gt; &lt;/P&gt;&lt;P&gt;Below steps might help you:&lt;/P&gt;&lt;P&gt;If you are running external applications, it is recommended that you test the connection to HBase using the following connection strings for the Phoenix JDBC driver:&lt;/P&gt;&lt;OL&gt;
&lt;LI&gt;Add hbase-site.xml and core-site.xml to your application or client's class path:&lt;PRE&gt;set CLASSPATH=&amp;lt;&lt;EM&gt;path_to_hbase-site.xml&lt;/EM&gt;&amp;gt;;&amp;lt;&lt;EM&gt;path_to_core-site.xml&lt;/EM&gt;&amp;gt;
i.e. export HBASE_CONF_PATH=/etc/hbase/conf:/etc/hadoop/conf&lt;/PRE&gt;
&lt;/LI&gt;&lt;LI&gt;Depending on whether you have an unsecured cluster or a cluster secured with Kerberos, use one of the following connection strings to connect to HBase.&lt;UL&gt;
&lt;LI&gt;&lt;STRONG&gt;For unsecured clusters:&lt;/STRONG&gt;&lt;PRE&gt;jdbc:phoenix:&amp;lt;&lt;EM&gt;Zookeeper_host_name&lt;/EM&gt;&amp;gt;:&amp;lt;&lt;EM&gt;port_number&lt;/EM&gt;&amp;gt;:&amp;lt;&lt;EM&gt;root_node&lt;/EM&gt;&amp;gt;&lt;/PRE&gt;&lt;P&gt;Where &lt;EM&gt;&amp;lt;&lt;CODE&gt;Zookeeper_host_name&lt;/CODE&gt;&amp;gt;&lt;/EM&gt; can specify one host or several hosts. If you specify several Zookeeper hosts, insert commas between host names. For example, &amp;lt;ZK_host1, ZK_host2, ZK_host3&amp;gt;.&lt;/P&gt;&lt;P&gt;Example:&lt;/P&gt;&lt;PRE&gt;jdbc:phoenix:zk_quorum:2181:zk_parent
(or)
if you are logged in as your own user
kinit
/usr/hdp/current/phoenix-client/bin/sqlline.py hostname.domain.com:2181:/hbase-secure 
&lt;/PRE&gt;
&lt;/LI&gt;&lt;LI&gt;&lt;STRONG&gt;For clusters secured with Kerberos:&lt;/STRONG&gt;&lt;/LI&gt;&lt;LI&gt;&lt;PRE&gt;jdbc:phoenix:&amp;lt;&lt;EM&gt;Zookeeper_host_name&lt;/EM&gt;&amp;gt;:&amp;lt;&lt;EM&gt;port_number&lt;/EM&gt;&amp;gt;:&amp;lt;&lt;EM&gt;secured_Zookeeper_node&lt;/EM&gt;&amp;gt;:&amp;lt;&lt;EM&gt;principal_name&lt;/EM&gt;&amp;gt;:&amp;lt;&lt;EM&gt;HBase_headless_keytab_file&lt;/EM&gt;&amp;gt;&lt;/PRE&gt;&lt;P&gt;Where &amp;lt;&lt;EM&gt;&lt;CODE&gt;secured_Zookeeper_node&lt;/CODE&gt;&lt;/EM&gt;&amp;gt; is the path to the secured Zookeeper node, and &amp;lt;&lt;EM&gt;&lt;CODE&gt;HBase_headless_keytab_file&lt;/CODE&gt;&lt;/EM&gt;&amp;gt; is the location of this keytab file.&lt;/P&gt;&lt;P&gt;Example:&lt;/P&gt;&lt;PRE&gt;jdbc:phoenix:zk_quorum:2181:/hbase-secure:hbase@EXAMPLE.COM:/hbase-secure/keytab/keytab_file
(or)
if using logged in as hbase user
kinit -k -t /etc/security/keytabs/hbase.headless.keytab hbase
/usr/hdp/current/phoenix-client/bin/sqlline.py hostname.domain.com:2181:/hbase-secure:hbase@domain.com:/etc/security/keytabs/hbase.headless.keytab&lt;/PRE&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;/OL&gt;</description>
      <pubDate>Tue, 14 Jun 2016 08:59:09 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Phoenix-Query-Server-Won-t-Start-java-net-BindException/m-p/136561#M31761</guid>
      <dc:creator>bandarusridhar1</dc:creator>
      <dc:date>2016-06-14T08:59:09Z</dc:date>
    </item>
    <item>
      <title>Re: Phoenix Query Server - Won't Start -  java.net.BindException: Address already in use</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Phoenix-Query-Server-Won-t-Start-java-net-BindException/m-p/136562#M31762</link>
      <description>&lt;P&gt;It seems that PQS is already running with the pid 6896. You may try to use it just running thin client. &lt;/P&gt;</description>
      <pubDate>Tue, 14 Jun 2016 14:40:36 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Phoenix-Query-Server-Won-t-Start-java-net-BindException/m-p/136562#M31762</guid>
      <dc:creator>ssoldatov</dc:creator>
      <dc:date>2016-06-14T14:40:36Z</dc:date>
    </item>
    <item>
      <title>Re: Phoenix Query Server - Won't Start -  java.net.BindException: Address already in use</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Phoenix-Query-Server-Won-t-Start-java-net-BindException/m-p/136563#M31763</link>
      <description>&lt;P&gt;Just did run phoenix-sqlline and it's working. &lt;/P&gt;&lt;P&gt;mmmm.. I'll try to kill it and restart the PQS. &lt;/P&gt;&lt;P&gt;thanks &lt;A rel="user" href="https://community.cloudera.com/users/2924/ssoldatov.html" nodeid="2924"&gt;@ssoldatov&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 14 Jun 2016 16:14:34 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Phoenix-Query-Server-Won-t-Start-java-net-BindException/m-p/136563#M31763</guid>
      <dc:creator>muanang</dc:creator>
      <dc:date>2016-06-14T16:14:34Z</dc:date>
    </item>
    <item>
      <title>Re: Phoenix Query Server - Won't Start -  java.net.BindException: Address already in use</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Phoenix-Query-Server-Won-t-Start-java-net-BindException/m-p/136564#M31764</link>
      <description>&lt;P&gt;Thanks &lt;A rel="user" href="https://community.cloudera.com/users/5746/bandarusridhar1.html" nodeid="5746"&gt;@Sri  Bandaru&lt;/A&gt;. Will take note on this.&lt;/P&gt;</description>
      <pubDate>Tue, 14 Jun 2016 16:15:15 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Phoenix-Query-Server-Won-t-Start-java-net-BindException/m-p/136564#M31764</guid>
      <dc:creator>muanang</dc:creator>
      <dc:date>2016-06-14T16:15:15Z</dc:date>
    </item>
    <item>
      <title>Re: Phoenix Query Server - Won't Start -  java.net.BindException: Address already in use</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Phoenix-Query-Server-Won-t-Start-java-net-BindException/m-p/136565#M31765</link>
      <description>&lt;P&gt;You can restart PQS using Ambari.&lt;/P&gt;</description>
      <pubDate>Tue, 14 Jun 2016 19:59:33 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Phoenix-Query-Server-Won-t-Start-java-net-BindException/m-p/136565#M31765</guid>
      <dc:creator>tyu</dc:creator>
      <dc:date>2016-06-14T19:59:33Z</dc:date>
    </item>
    <item>
      <title>Re: Phoenix Query Server - Won't Start -  java.net.BindException: Address already in use</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Phoenix-Query-Server-Won-t-Start-java-net-BindException/m-p/136566#M31766</link>
      <description>&lt;P&gt;The phoenix-sqlline command is not using PQS. You want to use /usr/hdp/current/phoenix-client/bin/sqlline-thin.py to interactive with PQS.&lt;/P&gt;</description>
      <pubDate>Tue, 14 Jun 2016 20:58:33 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Phoenix-Query-Server-Won-t-Start-java-net-BindException/m-p/136566#M31766</guid>
      <dc:creator>elserj</dc:creator>
      <dc:date>2016-06-14T20:58:33Z</dc:date>
    </item>
  </channel>
</rss>

