<?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 - Create Table Question in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Phoenix-Create-Table-Question/m-p/118559#M17092</link>
    <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/223/jelser.html" nodeid="223"&gt;@Josh Elser&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Thank you for the clarification regarding the clients.  I didn't expect to see difference in terms of how the sql worked.  Using the thin client did help to identify there was a difference between the two.
&lt;A rel="user" href="https://community.cloudera.com/users/223/jelser.html" nodeid="223"&gt;&lt;/A&gt; &lt;/P&gt;</description>
    <pubDate>Sat, 30 Jan 2016 08:21:17 GMT</pubDate>
    <dc:creator>Jaraxal</dc:creator>
    <dc:date>2016-01-30T08:21:17Z</dc:date>
    <item>
      <title>Phoenix - Create Table Question</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Phoenix-Create-Table-Question/m-p/118543#M17076</link>
      <description>&lt;P&gt;I'm connecting to Phoenix Query Server via the following:&lt;/P&gt;&lt;PRE&gt;/usr/hdp/current/phoenix-client/bin/sqlline.py hbasemaster:2181:/hbase-unsecure&lt;/PRE&gt;&lt;P&gt;I'm able successfully connect.  I then create a table using:&lt;/P&gt;&lt;PRE&gt;create table mytable (id varchar not null primary key, mycolumn varchar);&lt;/PRE&gt;&lt;P&gt;That command seems to run successfully.  However, when I try to verify the table exists via:&lt;/P&gt;&lt;PRE&gt;!tables&lt;/PRE&gt;&lt;P&gt;I don't see my table listed.  When I try to use sql as a verification via:&lt;/P&gt;&lt;PRE&gt;select * from mytable;&lt;/PRE&gt;&lt;P&gt;I get a "TableNotFoundException".  If I try to create the table again, I get an error that the table already exists.  If I look a the HBase Master UI, I can see the table exists in HBase.  I'm confused.  What am I missing here?&lt;/P&gt;&lt;P&gt;I'm running HDP 2.3.2&lt;/P&gt;</description>
      <pubDate>Sat, 30 Jan 2016 06:46:40 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Phoenix-Create-Table-Question/m-p/118543#M17076</guid>
      <dc:creator>Jaraxal</dc:creator>
      <dc:date>2016-01-30T06:46:40Z</dc:date>
    </item>
    <item>
      <title>Re: Phoenix - Create Table Question</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Phoenix-Create-Table-Question/m-p/118544#M17077</link>
      <description>&lt;P&gt;&lt;A href="#"&gt;@Michael Young&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Are you using Phoenix query server? Try accessing table using sqlline.py if you are using pqs&lt;/P&gt;&lt;P&gt;I had same issue with PQS &lt;/P&gt;</description>
      <pubDate>Sat, 30 Jan 2016 06:57:32 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Phoenix-Create-Table-Question/m-p/118544#M17077</guid>
      <dc:creator>nsabharwal</dc:creator>
      <dc:date>2016-01-30T06:57:32Z</dc:date>
    </item>
    <item>
      <title>Re: Phoenix - Create Table Question</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Phoenix-Create-Table-Question/m-p/118545#M17078</link>
      <description>&lt;P&gt;Yes, I'm suing Phoenix Query Server.  /usr/bin/phoenix-sqlline is a 
symbolic link to /usr/hdp/current/phoenix-client/bin/sqlline.py.  That is 
what I'm using.&lt;/P&gt;</description>
      <pubDate>Sat, 30 Jan 2016 07:06:21 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Phoenix-Create-Table-Question/m-p/118545#M17078</guid>
      <dc:creator>Jaraxal</dc:creator>
      <dc:date>2016-01-30T07:06:21Z</dc:date>
    </item>
    <item>
      <title>Re: Phoenix - Create Table Question</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Phoenix-Create-Table-Question/m-p/118546#M17079</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/1479/michaellyoung.html" nodeid="1479"&gt;@Michael Young&lt;/A&gt; try $PHONEIX_HOME/bin/sqlline.py &amp;lt;hostname&amp;gt;:2181:/&amp;lt;hbase-unsecure&amp;gt;&lt;/P&gt;</description>
      <pubDate>Sat, 30 Jan 2016 07:11:19 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Phoenix-Create-Table-Question/m-p/118546#M17079</guid>
      <dc:creator>vjain</dc:creator>
      <dc:date>2016-01-30T07:11:19Z</dc:date>
    </item>
    <item>
      <title>Re: Phoenix - Create Table Question</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Phoenix-Create-Table-Question/m-p/118547#M17080</link>
      <description>&lt;P&gt;That is how I'm connecting.  I have updated my original question to show that.  I can connect fine.&lt;/P&gt;</description>
      <pubDate>Sat, 30 Jan 2016 07:17:04 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Phoenix-Create-Table-Question/m-p/118547#M17080</guid>
      <dc:creator>Jaraxal</dc:creator>
      <dc:date>2016-01-30T07:17:04Z</dc:date>
    </item>
    <item>
      <title>Re: Phoenix - Create Table Question</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Phoenix-Create-Table-Question/m-p/118548#M17081</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/1479/michaellyoung.html" nodeid="1479"&gt;@Michael Young&lt;/A&gt;&lt;/P&gt;&lt;P&gt;This is good intro&lt;/P&gt;&lt;P&gt;&lt;A target="_blank" href="https://www.linkedin.com/pulse/apache-phoenix-quick-intro-neeraj-sabharwal"&gt;https://www.linkedin.com/pulse/apache-phoenix-quick-intro-neeraj-sabharwal&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 30 Jan 2016 07:22:02 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Phoenix-Create-Table-Question/m-p/118548#M17081</guid>
      <dc:creator>nsabharwal</dc:creator>
      <dc:date>2016-01-30T07:22:02Z</dc:date>
    </item>
    <item>
      <title>Re: Phoenix - Create Table Question</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Phoenix-Create-Table-Question/m-p/118549#M17082</link>
      <description>&lt;P&gt;While I appreciate your sharing the link, it doesn't cover anything related to my question.&lt;/P&gt;</description>
      <pubDate>Sat, 30 Jan 2016 07:31:42 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Phoenix-Create-Table-Question/m-p/118549#M17082</guid>
      <dc:creator>Jaraxal</dc:creator>
      <dc:date>2016-01-30T07:31:42Z</dc:date>
    </item>
    <item>
      <title>Re: Phoenix - Create Table Question</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Phoenix-Create-Table-Question/m-p/118550#M17083</link>
      <description>&lt;P&gt;Not relevant to your question, but that's the "normal" (thick) Phoenix driver. The "thin" Phoenix driver (with Phoenix QueryServer) is accessed using sqlline-thin.py.&lt;/P&gt;</description>
      <pubDate>Sat, 30 Jan 2016 07:36:05 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Phoenix-Create-Table-Question/m-p/118550#M17083</guid>
      <dc:creator>elserj</dc:creator>
      <dc:date>2016-01-30T07:36:05Z</dc:date>
    </item>
    <item>
      <title>Re: Phoenix - Create Table Question</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Phoenix-Create-Table-Question/m-p/118551#M17084</link>
      <description>&lt;P&gt;
	Can you try enabling log4j DEBUG by editing /usr/hdp/current/phoenix-client/bin/log4j.properties? Set psql.root.logger=DEBUG,console and log4j.threshold=DEBUG, I believe they would be at INFO or WARN by default.&lt;/P&gt;</description>
      <pubDate>Sat, 30 Jan 2016 07:39:06 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Phoenix-Create-Table-Question/m-p/118551#M17084</guid>
      <dc:creator>elserj</dc:creator>
      <dc:date>2016-01-30T07:39:06Z</dc:date>
    </item>
    <item>
      <title>Re: Phoenix - Create Table Question</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Phoenix-Create-Table-Question/m-p/118552#M17085</link>
      <description>&lt;P&gt;That link has example of using sqlline.py ..Let me reproduce this again.&lt;/P&gt;&lt;P&gt;Can you share your connecting string ? &lt;A rel="user" href="https://community.cloudera.com/users/1479/michaellyoung.html" nodeid="1479"&gt;@Michael Young&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 30 Jan 2016 07:39:14 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Phoenix-Create-Table-Question/m-p/118552#M17085</guid>
      <dc:creator>nsabharwal</dc:creator>
      <dc:date>2016-01-30T07:39:14Z</dc:date>
    </item>
    <item>
      <title>Re: Phoenix - Create Table Question</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Phoenix-Create-Table-Question/m-p/118553#M17086</link>
      <description>&lt;P&gt;What is the difference between the thick and thin driver in terms of what I'm trying to do?  When I use phoenix-sqlline-thin it shows the table now which is puzzling to me.  Why the difference in behavior?&lt;/P&gt;</description>
      <pubDate>Sat, 30 Jan 2016 07:43:59 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Phoenix-Create-Table-Question/m-p/118553#M17086</guid>
      <dc:creator>Jaraxal</dc:creator>
      <dc:date>2016-01-30T07:43:59Z</dc:date>
    </item>
    <item>
      <title>Re: Phoenix - Create Table Question</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Phoenix-Create-Table-Question/m-p/118554#M17087</link>
      <description>&lt;P&gt;My connect string is show at the top of my original post.  I'm able to connect fine.&lt;/P&gt;</description>
      <pubDate>Sat, 30 Jan 2016 07:51:59 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Phoenix-Create-Table-Question/m-p/118554#M17087</guid>
      <dc:creator>Jaraxal</dc:creator>
      <dc:date>2016-01-30T07:51:59Z</dc:date>
    </item>
    <item>
      <title>Re: Phoenix - Create Table Question</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Phoenix-Create-Table-Question/m-p/118555#M17088</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/1479/michaellyoung.html" nodeid="1479"&gt;@Michael Young&lt;/A&gt;  &lt;A rel="user" href="https://community.cloudera.com/users/223/jelser.html" nodeid="223"&gt;@Josh Elser&lt;/A&gt;  I think it has to do with zk&lt;/P&gt;&lt;P&gt;shutdown hbase and RS and run this &lt;/P&gt;&lt;P&gt;hbase clean --cleanZk&lt;/P&gt;</description>
      <pubDate>Sat, 30 Jan 2016 08:00:02 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Phoenix-Create-Table-Question/m-p/118555#M17088</guid>
      <dc:creator>nsabharwal</dc:creator>
      <dc:date>2016-01-30T08:00:02Z</dc:date>
    </item>
    <item>
      <title>Re: Phoenix - Create Table Question</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Phoenix-Create-Table-Question/m-p/118556#M17089</link>
      <description>&lt;P&gt;The "thick" Phoenix driver does all the RPC with HBase directly. The "thin" Phoenix driver only communicates with the Phoenix QueryServer over HTTP (the QueryServer communicates to HBase on its behalf). You shouldn't see any differences between the two approaches.&lt;/P&gt;</description>
      <pubDate>Sat, 30 Jan 2016 08:15:08 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Phoenix-Create-Table-Question/m-p/118556#M17089</guid>
      <dc:creator>elserj</dc:creator>
      <dc:date>2016-01-30T08:15:08Z</dc:date>
    </item>
    <item>
      <title>Re: Phoenix - Create Table Question</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Phoenix-Create-Table-Question/m-p/118557#M17090</link>
      <description>&lt;A rel="user" href="https://community.cloudera.com/users/140/nsabharwal.html" nodeid="140"&gt;@Neeraj Sabharwal&lt;/A&gt;&lt;P&gt;Good catch!  Running "hbase clean --cleanZk" fixed the problem.  Now the thick and thin client are working similarly.&lt;/P&gt;</description>
      <pubDate>Sat, 30 Jan 2016 08:15:43 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Phoenix-Create-Table-Question/m-p/118557#M17090</guid>
      <dc:creator>Jaraxal</dc:creator>
      <dc:date>2016-01-30T08:15:43Z</dc:date>
    </item>
    <item>
      <title>Re: Phoenix - Create Table Question</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Phoenix-Create-Table-Question/m-p/118558#M17091</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/1479/michaellyoung.html" nodeid="1479"&gt;@Michael Young&lt;/A&gt;  Thanks for testing. I believe we have the answer &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Thanks &lt;A rel="user" href="https://community.cloudera.com/users/223/jelser.html" nodeid="223"&gt;@Josh Elser&lt;/A&gt; for chiming in ...Really appreciate it!!!! All comments upvote &lt;/P&gt;</description>
      <pubDate>Sat, 30 Jan 2016 08:19:47 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Phoenix-Create-Table-Question/m-p/118558#M17091</guid>
      <dc:creator>nsabharwal</dc:creator>
      <dc:date>2016-01-30T08:19:47Z</dc:date>
    </item>
    <item>
      <title>Re: Phoenix - Create Table Question</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Phoenix-Create-Table-Question/m-p/118559#M17092</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/223/jelser.html" nodeid="223"&gt;@Josh Elser&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Thank you for the clarification regarding the clients.  I didn't expect to see difference in terms of how the sql worked.  Using the thin client did help to identify there was a difference between the two.
&lt;A rel="user" href="https://community.cloudera.com/users/223/jelser.html" nodeid="223"&gt;&lt;/A&gt; &lt;/P&gt;</description>
      <pubDate>Sat, 30 Jan 2016 08:21:17 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Phoenix-Create-Table-Question/m-p/118559#M17092</guid>
      <dc:creator>Jaraxal</dc:creator>
      <dc:date>2016-01-30T08:21:17Z</dc:date>
    </item>
  </channel>
</rss>

