<?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: HiveServer2 is up - Beeline not showing up databases/tables in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/HiveServer2-is-up-Beeline-not-showing-up-databases-tables/m-p/215409#M60218</link>
    <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/10969/mqureshi.html" nodeid="10969"&gt;@mqureshi&lt;/A&gt;, &lt;A rel="user" href="https://community.cloudera.com/users/1486/smanjee.html" nodeid="1486"&gt;@Sunile Manjee&lt;/A&gt;, &lt;A rel="user" href="https://community.cloudera.com/users/10337/srai.html" nodeid="10337"&gt;@Shyam Sunder Rai&lt;/A&gt; - looping you in, any ideas on this ?&lt;/P&gt;</description>
    <pubDate>Sat, 29 Apr 2017 04:36:19 GMT</pubDate>
    <dc:creator>karan_alang1</dc:creator>
    <dc:date>2017-04-29T04:36:19Z</dc:date>
    <item>
      <title>HiveServer2 is up - Beeline not showing up databases/tables</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/HiveServer2-is-up-Beeline-not-showing-up-databases-tables/m-p/215408#M60217</link>
      <description>&lt;P&gt;Hello - i've HiveServer2 enabled on my cluster, and i'm able to connect to the cluster using Beeline.&lt;/P&gt;&lt;P&gt;However when i run the command - show tables OR show databases, it does not shown up.&lt;/P&gt;&lt;P&gt;However, when i launch the Hive CLI, i'm able to see the tables &amp;amp; database.&lt;/P&gt;&lt;P&gt;Any ideas on what is causing this ? &lt;/P&gt;&lt;P&gt;---------------------------------------------------------&lt;/P&gt;&lt;P&gt;ON HiveCLI :&lt;/P&gt;&lt;P&gt;&lt;EM&gt;[hive@nwk2-bdp-hadoop-06 bin]$ hive
&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Logging initialized using configuration in file:/etc/hive/2.5.3.0-37/0/hive-log4j.properties&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;hive&amp;gt; &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;    &amp;gt; show tables;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;OK&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;factsales&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;factsales_tmp&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;ON BEELINE :&lt;/P&gt;&lt;P&gt;&lt;EM&gt;beeline -u 'jdbc:hive2://nwk2-bdp-hadoop-07.gdcs-qa.apple.com:10000/'
&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Connecting to jdbc:hive2://nwk2-bdp-hadoop-07.gdcs-qa.apple.com:10000/&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Connected to: Apache Hive (version 1.2.1000.2.5.3.0-37)&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Driver: Hive JDBC (version 1.2.1000.2.5.3.0-37)&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Transaction isolation: TRANSACTION_REPEATABLE_READ&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Beeline version 1.2.1000.2.5.3.0-37 by Apache Hive&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;0: jdbc:hive2://nwk2-bdp-hadoop-07.gdcs-qa.ap&amp;gt; show tables
&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;0: jdbc:hive2://nwk2-bdp-hadoop-07.gdcs-qa.ap&amp;gt; show databases
&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;
&lt;/EM&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 29 Apr 2017 04:23:05 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/HiveServer2-is-up-Beeline-not-showing-up-databases-tables/m-p/215408#M60217</guid>
      <dc:creator>karan_alang1</dc:creator>
      <dc:date>2017-04-29T04:23:05Z</dc:date>
    </item>
    <item>
      <title>Re: HiveServer2 is up - Beeline not showing up databases/tables</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/HiveServer2-is-up-Beeline-not-showing-up-databases-tables/m-p/215409#M60218</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/10969/mqureshi.html" nodeid="10969"&gt;@mqureshi&lt;/A&gt;, &lt;A rel="user" href="https://community.cloudera.com/users/1486/smanjee.html" nodeid="1486"&gt;@Sunile Manjee&lt;/A&gt;, &lt;A rel="user" href="https://community.cloudera.com/users/10337/srai.html" nodeid="10337"&gt;@Shyam Sunder Rai&lt;/A&gt; - looping you in, any ideas on this ?&lt;/P&gt;</description>
      <pubDate>Sat, 29 Apr 2017 04:36:19 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/HiveServer2-is-up-Beeline-not-showing-up-databases-tables/m-p/215409#M60218</guid>
      <dc:creator>karan_alang1</dc:creator>
      <dc:date>2017-04-29T04:36:19Z</dc:date>
    </item>
    <item>
      <title>Re: HiveServer2 is up - Beeline not showing up databases/tables</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/HiveServer2-is-up-Beeline-not-showing-up-databases-tables/m-p/215410#M60219</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/14047/karanalang.html" nodeid="14047"&gt;@Karan Alang&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Try removing single quotes from the url. If that doesn't help add default database as the db you are connecting to. You can later change your db.&lt;/P&gt;</description>
      <pubDate>Sat, 29 Apr 2017 04:50:13 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/HiveServer2-is-up-Beeline-not-showing-up-databases-tables/m-p/215410#M60219</guid>
      <dc:creator>mqureshi</dc:creator>
      <dc:date>2017-04-29T04:50:13Z</dc:date>
    </item>
    <item>
      <title>Re: HiveServer2 is up - Beeline not showing up databases/tables</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/HiveServer2-is-up-Beeline-not-showing-up-databases-tables/m-p/215411#M60220</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/14047/karanalang.html" nodeid="14047"&gt;@Karan Alang&lt;/A&gt; Looks like you are missing &lt;EM&gt;a semicolon(;) at the end of the query. &lt;/EM&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 29 Apr 2017 04:57:33 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/HiveServer2-is-up-Beeline-not-showing-up-databases-tables/m-p/215411#M60220</guid>
      <dc:creator>ksuresh</dc:creator>
      <dc:date>2017-04-29T04:57:33Z</dc:date>
    </item>
    <item>
      <title>Re: HiveServer2 is up - Beeline not showing up databases/tables</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/HiveServer2-is-up-Beeline-not-showing-up-databases-tables/m-p/215412#M60221</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/10969/mqureshi.html" nodeid="10969"&gt;@mqureshi&lt;/A&gt;- thx, however that did not help ..&lt;/P&gt;&lt;P&gt;Any ideas ? How do i debug this ?&lt;/P&gt;---------------------------------&lt;P&gt;[hive@nwk2-bdp-hadoop-06 ~]$ beeline -u jdbc:hive2://nwk2-bdp-hadoop-07.gdcs-qa.apple.com:10000
Connecting to jdbc:hive2://nwk2-bdp-hadoop-07.gdcs-qa.apple.com:10000
Connected to: Apache Hive (version 1.2.1000.2.5.3.0-37)
Driver: Hive JDBC (version 1.2.1000.2.5.3.0-37)
Transaction isolation: TRANSACTION_REPEATABLE_READ
Beeline version 1.2.1000.2.5.3.0-37 by Apache Hive
0: jdbc:hive2://nwk2-bdp-hadoop-07.gdcs-qa.ap&amp;gt; use default
0: jdbc:hive2://nwk2-bdp-hadoop-07.gdcs-qa.ap&amp;gt; show tables
0: jdbc:hive2://nwk2-bdp-hadoop-07.gdcs-qa.ap&amp;gt; &lt;/P&gt;&lt;P&gt;[root@nwk2-bdp-hadoop-06 ~]# beeline -u jdbc:hive2://nwk2-bdp-hadoop-07.gdcs-qa.apple.com:10000/default
Connecting to jdbc:hive2://nwk2-bdp-hadoop-07.gdcs-qa.apple.com:10000/default
Connected to: Apache Hive (version 1.2.1000.2.5.3.0-37)
Driver: Hive JDBC (version 1.2.1000.2.5.3.0-37)
Transaction isolation: TRANSACTION_REPEATABLE_READ
Beeline version 1.2.1000.2.5.3.0-37 by Apache Hive
0: jdbc:hive2://nwk2-bdp-hadoop-07.gdcs-qa.ap&amp;gt; show tables
0: jdbc:hive2://nwk2-bdp-hadoop-07.gdcs-qa.ap&amp;gt; &lt;/P&gt;</description>
      <pubDate>Sat, 29 Apr 2017 04:58:09 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/HiveServer2-is-up-Beeline-not-showing-up-databases-tables/m-p/215412#M60221</guid>
      <dc:creator>karan_alang1</dc:creator>
      <dc:date>2017-04-29T04:58:09Z</dc:date>
    </item>
    <item>
      <title>Re: HiveServer2 is up - Beeline not showing up databases/tables</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/HiveServer2-is-up-Beeline-not-showing-up-databases-tables/m-p/215413#M60222</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/14047/karanalang.html" nodeid="14047"&gt;@Karan Alang&lt;/A&gt;I agree. I tried and was duplicate your issue when I don't have a semi colon. I wish beeline would complain but apparently it doesn't. Did this resolve your issue?&lt;/P&gt;</description>
      <pubDate>Sat, 29 Apr 2017 06:03:11 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/HiveServer2-is-up-Beeline-not-showing-up-databases-tables/m-p/215413#M60222</guid>
      <dc:creator>mqureshi</dc:creator>
      <dc:date>2017-04-29T06:03:11Z</dc:date>
    </item>
    <item>
      <title>Re: HiveServer2 is up - Beeline not showing up databases/tables</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/HiveServer2-is-up-Beeline-not-showing-up-databases-tables/m-p/215414#M60223</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/245/ksuresh.html" nodeid="245"&gt;@ksuresh, &lt;/A&gt;&lt;A rel="user" href="https://community.cloudera.com/users/10969/mqureshi.html" nodeid="10969"&gt;@mqureshi&lt;/A&gt; 
&lt;/P&gt;&lt;P&gt;- thanks, that fixed this issue !&lt;/P&gt;</description>
      <pubDate>Sat, 29 Apr 2017 06:10:31 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/HiveServer2-is-up-Beeline-not-showing-up-databases-tables/m-p/215414#M60223</guid>
      <dc:creator>karan_alang1</dc:creator>
      <dc:date>2017-04-29T06:10:31Z</dc:date>
    </item>
  </channel>
</rss>

