<?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: hive databases not showing via beeline/hiveserver2 in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/hive-databases-not-showing-via-beeline-hiveserver2/m-p/313268#M225469</link>
    <description>&lt;P&gt;&lt;A href="https://community.cloudera.com/users/10969/mqureshi.html" rel="user" target="_blank"&gt;@ksuresh @mqureshi&lt;/A&gt;&lt;SPAN&gt;,&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://community.cloudera.com/users/1486/smanjee.html" rel="user" target="_blank"&gt;@Sunile Manjee&lt;/A&gt;&lt;SPAN&gt;,&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://community.cloudera.com/users/10337/srai.html" rel="user" target="_blank"&gt;@Shyam Sunder Rai&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp;- looping you in, any ideas on this ?&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 17 Mar 2021 22:19:40 GMT</pubDate>
    <dc:creator>ryu</dc:creator>
    <dc:date>2021-03-17T22:19:40Z</dc:date>
    <item>
      <title>hive databases not showing via beeline/hiveserver2</title>
      <link>https://community.cloudera.com/t5/Support-Questions/hive-databases-not-showing-via-beeline-hiveserver2/m-p/313264#M225465</link>
      <description>&lt;P&gt;Hi experts,&lt;/P&gt;&lt;P&gt;I am trying to upgrade my current hive version from 1.2 to 2.3.8.&lt;/P&gt;&lt;P&gt;I am able to connect to hive via hiveserver2 but when I do "show databases", there are no databases showing up.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;0: jdbc:hive2://test02.domain.com:100&amp;gt; show databases;&lt;BR /&gt;+----------------+&lt;BR /&gt;| database_name |&lt;BR /&gt;+----------------+&lt;BR /&gt;+----------------+&lt;BR /&gt;No rows selected (0.124 seconds)&lt;BR /&gt;0: jdbc:hive2://test02.domain.com:100&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When accessing the mysql database I can see the databases in hive.&lt;/P&gt;&lt;P&gt;mysql&amp;gt; use hive;&lt;BR /&gt;Reading table information for completion of table and column names&lt;BR /&gt;You can turn off this feature to get a quicker startup with -A&lt;/P&gt;&lt;P&gt;Database changed&lt;BR /&gt;mysql&amp;gt; select * from DBS;&lt;BR /&gt;+-------+-----------------------+-------------------------------------------+---------+------------+------------+&lt;BR /&gt;| DB_ID | DESC | DB_LOCATION_URI | NAME | OWNER_NAME | OWNER_TYPE |&lt;BR /&gt;+-------+-----------------------+-------------------------------------------+---------+------------+------------+&lt;BR /&gt;| 1 | Default Hive database | hdfs://test/apps/hive/warehouse | default | public | ROLE |&lt;BR /&gt;| 6 | NULL | hdfs://test/apps/hive/warehouse/test.db | test | anonymous | USER |&lt;BR /&gt;| 11 | NULL | hdfs://test/apps/hive/warehouse/test1.db | test1 | anonymous | USER |&lt;BR /&gt;+-------+-----------------------+-------------------------------------------+---------+------------+------------+&lt;BR /&gt;3 rows in set (0.00 sec)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have already updated the mysql schema with the script provided.&lt;/P&gt;&lt;P&gt;mysql&amp;gt; select * from VERSION;&lt;BR /&gt;+--------+----------------+----------------------------+&lt;BR /&gt;| VER_ID | SCHEMA_VERSION | VERSION_COMMENT |&lt;BR /&gt;+--------+----------------+----------------------------+&lt;BR /&gt;| 1 | 2.3.0 | Hive release version 2.3.0 |&lt;BR /&gt;+--------+----------------+----------------------------+&lt;BR /&gt;1 row in set (0.00 sec)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When I switch back to the older version of hive 1.2, I am able to see the databases via beeline/hiveserver2.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can someone please let me know what I am missing?&lt;/P&gt;&lt;P&gt;Any help is much appreciated.&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;</description>
      <pubDate>Wed, 17 Mar 2021 18:47:25 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/hive-databases-not-showing-via-beeline-hiveserver2/m-p/313264#M225465</guid>
      <dc:creator>ryu</dc:creator>
      <dc:date>2021-03-17T18:47:25Z</dc:date>
    </item>
    <item>
      <title>Re: hive databases not showing via beeline/hiveserver2</title>
      <link>https://community.cloudera.com/t5/Support-Questions/hive-databases-not-showing-via-beeline-hiveserver2/m-p/313268#M225469</link>
      <description>&lt;P&gt;&lt;A href="https://community.cloudera.com/users/10969/mqureshi.html" rel="user" target="_blank"&gt;@ksuresh @mqureshi&lt;/A&gt;&lt;SPAN&gt;,&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://community.cloudera.com/users/1486/smanjee.html" rel="user" target="_blank"&gt;@Sunile Manjee&lt;/A&gt;&lt;SPAN&gt;,&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://community.cloudera.com/users/10337/srai.html" rel="user" target="_blank"&gt;@Shyam Sunder Rai&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp;- looping you in, any ideas on this ?&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 17 Mar 2021 22:19:40 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/hive-databases-not-showing-via-beeline-hiveserver2/m-p/313268#M225469</guid>
      <dc:creator>ryu</dc:creator>
      <dc:date>2021-03-17T22:19:40Z</dc:date>
    </item>
    <item>
      <title>Re: hive databases not showing via beeline/hiveserver2</title>
      <link>https://community.cloudera.com/t5/Support-Questions/hive-databases-not-showing-via-beeline-hiveserver2/m-p/313272#M225470</link>
      <description>&lt;DIV class="msg-s-event-listitem ember-view"&gt;&lt;DIV class="msg-s-event-listitem__message-bubble msg-s-event-listitem__message-bubble--msg-fwd-enabled"&gt;&lt;P class=""&gt;Ok seems like I had&amp;nbsp;hive.security.authoization.enabled to true in the hiveserver2-site.xml but had not enabled the ranger hive plugin yet.&lt;/P&gt;&lt;P class=""&gt;Once I set this property to false, I was able to see the hive databases with "show databases".&lt;/P&gt;&lt;P class=""&gt;&amp;nbsp;&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Wed, 17 Mar 2021 23:53:08 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/hive-databases-not-showing-via-beeline-hiveserver2/m-p/313272#M225470</guid>
      <dc:creator>ryu</dc:creator>
      <dc:date>2021-03-17T23:53:08Z</dc:date>
    </item>
  </channel>
</rss>

