<?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 database adapter for Python not working in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Phoenix-database-adapter-for-Python-not-working/m-p/48610#M48633</link>
    <description>&lt;P&gt;I didn't know that I need to manually start query server. that's fix my problem&lt;/P&gt;</description>
    <pubDate>Fri, 16 Dec 2016 22:20:14 GMT</pubDate>
    <dc:creator>icecream</dc:creator>
    <dc:date>2016-12-16T22:20:14Z</dc:date>
    <item>
      <title>Phoenix database adapter for Python not working</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Phoenix-database-adapter-for-Python-not-working/m-p/48445#M48632</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I followed the instruction from&amp;nbsp;&lt;A href="http://python-phoenixdb.readthedocs.io/en/latest/" target="_blank"&gt;http://python-phoenixdb.readthedocs.io/en/latest/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;to connect Hbase in cloudera cluster, but I got the following error below.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;I can create table using&lt;/STRONG&gt; &lt;SPAN&gt;&lt;STRONG&gt;phoenix-sqlline.py localhost:2181:/hbase or even use&amp;nbsp;./psql.py to import CSV, why the python adaopter does not work? Could someone give me a simple example that allows me to connect phoenixDB in Cloudera?&lt;/STRONG&gt;&lt;/SPAN&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;gt;&amp;gt;&amp;gt; import phoenixdb&lt;BR /&gt;&amp;gt;&amp;gt;&amp;gt; database_url = '&lt;A href="http://localhost:8765/" target="_blank"&gt;http://localhost:8765/&lt;/A&gt;'&lt;BR /&gt;&amp;gt;&amp;gt;&amp;gt; conn = phoenixdb.connect(database_url, autocommit=True)&lt;BR /&gt;Traceback (most recent call last):&lt;BR /&gt;File "&amp;lt;stdin&amp;gt;", line 1, in &amp;lt;module&amp;gt;&lt;BR /&gt;File "/root/anaconda2/lib/python2.7/site-packages/phoenixdb/__init__.py", line 63, in connect&lt;BR /&gt;client.connect()&lt;BR /&gt;File "/root/anaconda2/lib/python2.7/site-packages/phoenixdb/avatica.py", line 152, in connect&lt;BR /&gt;raise errors.InterfaceError('Unable to connect to the specified service', e)&lt;BR /&gt;phoenixdb.errors.InterfaceError: ('Unable to connect to the specified service', error(111, 'Connection refused'), None, None)&lt;/P&gt;</description>
      <pubDate>Fri, 16 Sep 2022 10:50:52 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Phoenix-database-adapter-for-Python-not-working/m-p/48445#M48632</guid>
      <dc:creator>icecream</dc:creator>
      <dc:date>2022-09-16T10:50:52Z</dc:date>
    </item>
    <item>
      <title>Re: Phoenix database adapter for Python not working</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Phoenix-database-adapter-for-Python-not-working/m-p/48610#M48633</link>
      <description>&lt;P&gt;I didn't know that I need to manually start query server. that's fix my problem&lt;/P&gt;</description>
      <pubDate>Fri, 16 Dec 2016 22:20:14 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Phoenix-database-adapter-for-Python-not-working/m-p/48610#M48633</guid>
      <dc:creator>icecream</dc:creator>
      <dc:date>2016-12-16T22:20:14Z</dc:date>
    </item>
  </channel>
</rss>

