<?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 Phoenixdb FetchAll not working and returning empty list in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Phoenixdb-FetchAll-not-working-and-returning-empty-list/m-p/220763#M66725</link>
    <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/9304/tspann.html" nodeid="9304"&gt;@Timothy Spann&lt;/A&gt;The queries like upsert are working fine and data is getting inserted into tables but when I execute a select query and print result, it shows empty.&lt;/P&gt;&lt;P&gt;The output which I am getting for this is [ ].&lt;/P&gt;&lt;P&gt;I have checked with &lt;A href="http://sqlline.py/"&gt;sqlline.py&lt;/A&gt; and have seen that the table has 2 rows.&lt;/P&gt;&lt;OL&gt;
&lt;LI&gt;import phoenixdb&lt;/LI&gt;&lt;LI&gt;database_url ='http://localhost:8765/'&lt;/LI&gt;&lt;LI&gt;conn = phoenixdb.connect(database_url, autocommit=True)&lt;/LI&gt;&lt;LI&gt;cursor = conn.cursor()&lt;/LI&gt;&lt;LI&gt;cursor.execute("upsert into users values(2,'user')")&lt;/LI&gt;&lt;LI&gt;cursor.execute("select * from users")&lt;/LI&gt;&lt;LI&gt;print cursor.fetchall()&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;I have read your previous answer. Could you tell me how to restart the query server and with with the phoenix.queryserver.serialization parameter set to JSON.&lt;/P&gt;</description>
    <pubDate>Wed, 16 Aug 2017 15:43:46 GMT</pubDate>
    <dc:creator>geethsameer686</dc:creator>
    <dc:date>2017-08-16T15:43:46Z</dc:date>
    <item>
      <title>Phoenixdb FetchAll not working and returning empty list</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Phoenixdb-FetchAll-not-working-and-returning-empty-list/m-p/220763#M66725</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/9304/tspann.html" nodeid="9304"&gt;@Timothy Spann&lt;/A&gt;The queries like upsert are working fine and data is getting inserted into tables but when I execute a select query and print result, it shows empty.&lt;/P&gt;&lt;P&gt;The output which I am getting for this is [ ].&lt;/P&gt;&lt;P&gt;I have checked with &lt;A href="http://sqlline.py/"&gt;sqlline.py&lt;/A&gt; and have seen that the table has 2 rows.&lt;/P&gt;&lt;OL&gt;
&lt;LI&gt;import phoenixdb&lt;/LI&gt;&lt;LI&gt;database_url ='http://localhost:8765/'&lt;/LI&gt;&lt;LI&gt;conn = phoenixdb.connect(database_url, autocommit=True)&lt;/LI&gt;&lt;LI&gt;cursor = conn.cursor()&lt;/LI&gt;&lt;LI&gt;cursor.execute("upsert into users values(2,'user')")&lt;/LI&gt;&lt;LI&gt;cursor.execute("select * from users")&lt;/LI&gt;&lt;LI&gt;print cursor.fetchall()&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;I have read your previous answer. Could you tell me how to restart the query server and with with the phoenix.queryserver.serialization parameter set to JSON.&lt;/P&gt;</description>
      <pubDate>Wed, 16 Aug 2017 15:43:46 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Phoenixdb-FetchAll-not-working-and-returning-empty-list/m-p/220763#M66725</guid>
      <dc:creator>geethsameer686</dc:creator>
      <dc:date>2017-08-16T15:43:46Z</dc:date>
    </item>
    <item>
      <title>Re: Phoenixdb FetchAll not working and returning empty list</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Phoenixdb-FetchAll-not-working-and-returning-empty-list/m-p/220764#M66726</link>
      <description>&lt;P&gt;1.  Go to Ambari&lt;/P&gt;&lt;P&gt;2.  Under HBase, Under Service Actions, Restart Phoenix Query Servers.  &lt;/P&gt;&lt;P&gt;3.  Under HBase, go to configs, under Filter type in your parameter&lt;/P&gt;&lt;P&gt;4.  Change it, save and restart.&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.hortonworks.com/questions/68570/cannot-connect-to-phoenix-query-server-using-jdbc.html" target="_blank"&gt;https://community.hortonworks.com/questions/68570/cannot-connect-to-phoenix-query-server-using-jdbc.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://phoenix.apache.org/server.html" target="_blank"&gt;https://phoenix.apache.org/server.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.hortonworks.com/articles/2663/phoenix-queryserver.html" target="_blank"&gt;https://community.hortonworks.com/articles/2663/phoenix-queryserver.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;@joshelser   &lt;/P&gt;&lt;P&gt;&lt;A href="https://community.hortonworks.com/questions/53827/phoenixdb-connection-to-phoenix-query-server.html" target="_blank"&gt;https://community.hortonworks.com/questions/53827/phoenixdb-connection-to-phoenix-query-server.html&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 16 Aug 2017 20:05:05 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Phoenixdb-FetchAll-not-working-and-returning-empty-list/m-p/220764#M66726</guid>
      <dc:creator>TimothySpann</dc:creator>
      <dc:date>2017-08-16T20:05:05Z</dc:date>
    </item>
    <item>
      <title>Re: Phoenixdb FetchAll not working and returning empty list</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Phoenixdb-FetchAll-not-working-and-returning-empty-list/m-p/220765#M66727</link>
      <description>&lt;P&gt;Thanks a lot Timothy.&lt;/P&gt;</description>
      <pubDate>Thu, 17 Aug 2017 14:35:43 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Phoenixdb-FetchAll-not-working-and-returning-empty-list/m-p/220765#M66727</guid>
      <dc:creator>geethsameer686</dc:creator>
      <dc:date>2017-08-17T14:35:43Z</dc:date>
    </item>
  </channel>
</rss>

