<?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 and ZK connection issue in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Phoenix-and-ZK-connection-issue/m-p/99571#M12663</link>
    <description>&lt;P&gt;You have to create links in the directory where `sqlline.py` lives to 2 .xml files that are provided by HBase/Hadoop. &lt;/P&gt;&lt;PRE&gt;$ pwd
/usr/hdp/2.2.8.0-3150/phoenix/bin
$ ll | grep xml
lrwxrwxrwx 1 root root   29 Dec 16 13:34 core-site.xml -&amp;gt; /etc/hbase/conf/core-site.xml
lrwxrwxrwx 1 root root   30 Dec 16 13:34 hbase-site.xml -&amp;gt; /etc/hbase/conf/hbase-site.xml &lt;/PRE&gt;&lt;P&gt;With those in place and `$JAVA_HOME` and `java` on your `$PATH`, you can now run `sqlline.py`: &lt;/P&gt;&lt;PRE&gt;$ ./sqlline.py localhost:2181/hbase-unsecure&lt;/PRE&gt;</description>
    <pubDate>Tue, 12 Jan 2016 05:56:07 GMT</pubDate>
    <dc:creator>slm</dc:creator>
    <dc:date>2016-01-12T05:56:07Z</dc:date>
    <item>
      <title>Phoenix and ZK connection issue</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Phoenix-and-ZK-connection-issue/m-p/99566#M12658</link>
      <description>&lt;P&gt;I tried Phoenix and installed it according to the instruction, but I got the following error message:&lt;/P&gt;&lt;P&gt;[root@cui-hdp-02 phoenix]# sqlline.py localhost Setting property: [isolation, TRANSACTION_READ_COMMITTED] issuing: !connect jdbc:phoenix:localhost none none org.apache.phoenix.jdbc.PhoenixDriver Connecting to jdbc:phoenix:localhost&lt;/P&gt;&lt;P&gt;15/12/15 14:17:14 WARN util.NativeCodeLoader: Unable to load native-hadoop library for your platform... using builtin-java classes where applicable&lt;/P&gt;&lt;P&gt;15/12/15 14:17:14 WARN impl.MetricsConfig: Cannot locate configuration: tried hadoop-metrics2-phoenix.properties,hadoop-metrics2.properties 15/12/15 14:17:15 ERROR client.ConnectionManager$HConnectionImplementation: The node /hbase is not in ZooKeeper. It should have been written by the master. Check the value configured in 'zookeeper.znode.parent'. There could be a mismatch with the one configured in the master.&lt;/P&gt;&lt;P&gt;My hbase's znode is by default defined as /hbase-unseure. How can i change phoenix to use current znode, instead of /hbase?&lt;/P&gt;</description>
      <pubDate>Wed, 16 Dec 2015 06:45:00 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Phoenix-and-ZK-connection-issue/m-p/99566#M12658</guid>
      <dc:creator>cui_lin</dc:creator>
      <dc:date>2015-12-16T06:45:00Z</dc:date>
    </item>
    <item>
      <title>Re: Phoenix and ZK connection issue</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Phoenix-and-ZK-connection-issue/m-p/99567#M12659</link>
      <description>&lt;P&gt;Trying providing an argument of "localhost:2181:/hbase-unsecure" instead of "localhost"&lt;/P&gt;</description>
      <pubDate>Wed, 16 Dec 2015 06:46:50 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Phoenix-and-ZK-connection-issue/m-p/99567#M12659</guid>
      <dc:creator>elserj</dc:creator>
      <dc:date>2015-12-16T06:46:50Z</dc:date>
    </item>
    <item>
      <title>Re: Phoenix and ZK connection issue</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Phoenix-and-ZK-connection-issue/m-p/99568#M12660</link>
      <description>&lt;P&gt;You can use the sqlline like this: &lt;/P&gt;&lt;PRE&gt;sqlline.py localhost:2181:/hbase-unsecure&lt;/PRE&gt;</description>
      <pubDate>Wed, 16 Dec 2015 06:48:40 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Phoenix-and-ZK-connection-issue/m-p/99568#M12660</guid>
      <dc:creator>Enis</dc:creator>
      <dc:date>2015-12-16T06:48:40Z</dc:date>
    </item>
    <item>
      <title>Re: Phoenix and ZK connection issue</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Phoenix-and-ZK-connection-issue/m-p/99569#M12661</link>
      <description>&lt;P&gt;root@cui-hdp-02 ~]# hbase version
2015-12-15 14:49:15,713 INFO  [main] util.VersionInfo: HBase 1.1.2.2.3.2.0-2950&lt;/P&gt;&lt;P&gt;I used phoenix-4.6.0-HBase-1.1-bin.tar.gz&lt;/P&gt;</description>
      <pubDate>Wed, 16 Dec 2015 06:49:10 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Phoenix-and-ZK-connection-issue/m-p/99569#M12661</guid>
      <dc:creator>cui_lin</dc:creator>
      <dc:date>2015-12-16T06:49:10Z</dc:date>
    </item>
    <item>
      <title>Re: Phoenix and ZK connection issue</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Phoenix-and-ZK-connection-issue/m-p/99570#M12662</link>
      <description>&lt;P&gt;[root@cui-hdp-02 phoenix]# sqlline.py localhost:2181:/hbase-unsecure
Setting property: [isolation, TRANSACTION_READ_COMMITTED]
issuing: !connect jdbc:phoenix:localhost:2181:/hbase-unsecure none none org.apache.phoenix.jdbc.PhoenixDriver
Connecting to jdbc:phoenix:localhost:2181:/hbase-unsecure &lt;/P&gt;&lt;P&gt;15/12/15 14:50:24 WARN util.NativeCodeLoader: Unable to load native-hadoop library for your platform... using builtin-java classes where applicable &lt;/P&gt;&lt;P&gt;15/12/15 14:50:42 ERROR zookeeper.RecoverableZooKeeper: ZooKeeper exists failed after 4 attempts &lt;/P&gt;&lt;P&gt;15/12/15 14:50:42 ERROR zookeeper.ZooKeeperWatcher: hconnection-0x4034c28c0x0, quorum=localhost:2181, baseZNode=/hbase-unsecure Received unexpected KeeperException, re-throwing exception
org.apache.zookeeper.KeeperException$ConnectionLossException: KeeperErrorCode = ConnectionLoss for /hbase-unsecure/hbaseid&lt;/P&gt;</description>
      <pubDate>Wed, 16 Dec 2015 06:51:40 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Phoenix-and-ZK-connection-issue/m-p/99570#M12662</guid>
      <dc:creator>cui_lin</dc:creator>
      <dc:date>2015-12-16T06:51:40Z</dc:date>
    </item>
    <item>
      <title>Re: Phoenix and ZK connection issue</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Phoenix-and-ZK-connection-issue/m-p/99571#M12663</link>
      <description>&lt;P&gt;You have to create links in the directory where `sqlline.py` lives to 2 .xml files that are provided by HBase/Hadoop. &lt;/P&gt;&lt;PRE&gt;$ pwd
/usr/hdp/2.2.8.0-3150/phoenix/bin
$ ll | grep xml
lrwxrwxrwx 1 root root   29 Dec 16 13:34 core-site.xml -&amp;gt; /etc/hbase/conf/core-site.xml
lrwxrwxrwx 1 root root   30 Dec 16 13:34 hbase-site.xml -&amp;gt; /etc/hbase/conf/hbase-site.xml &lt;/PRE&gt;&lt;P&gt;With those in place and `$JAVA_HOME` and `java` on your `$PATH`, you can now run `sqlline.py`: &lt;/P&gt;&lt;PRE&gt;$ ./sqlline.py localhost:2181/hbase-unsecure&lt;/PRE&gt;</description>
      <pubDate>Tue, 12 Jan 2016 05:56:07 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Phoenix-and-ZK-connection-issue/m-p/99571#M12663</guid>
      <dc:creator>slm</dc:creator>
      <dc:date>2016-01-12T05:56:07Z</dc:date>
    </item>
  </channel>
</rss>

