<?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: Best way for checking hive table metadata at once in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/Best-way-for-checking-hive-table-metadata-at-once/m-p/190683#M152772</link>
    <description>&lt;P&gt;You can also run DESC &amp;lt;TABLE_NAME&amp;gt; command from CLI or BEELINE.&lt;/P&gt;</description>
    <pubDate>Thu, 18 Jan 2018 04:19:41 GMT</pubDate>
    <dc:creator>vgarg</dc:creator>
    <dc:date>2018-01-18T04:19:41Z</dc:date>
    <item>
      <title>Best way for checking hive table metadata at once</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Best-way-for-checking-hive-table-metadata-at-once/m-p/190681#M152770</link>
      <description>&lt;P&gt;I want to check  metadata of table such as column ,data type, and table name . So I tried to access hive meta store in mysql.
I tried this query on mysql,I get the following Error.(I tried same query using root user, but it didn't work.)&lt;/P&gt;&lt;P&gt;
How can I see this table?? or What is the best way for checking table metadata at once?&lt;/P&gt;&lt;PRE&gt;[maria_dev@sandbox-hdp ~]$ mysql
Welcome to the MySQL monitor.  Commands end with ; or \g.
Your MySQL connection id is 1532
Server version: 5.6.38 MySQL Community Server (GPL)


Copyright (c) 2000, 2017, Oracle and/or its affiliates. All rights reserved.


Oracle is a registered trademark of Oracle Corporation and/or its
affiliates. Other names may be trademarks of their respective
owners.


Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.


mysql&amp;gt; SELECT * FROM hive.COLUMNS_V2;
ERROR 1142 (42000): SELECT command denied to user ''@'localhost' for table 'COLUMNS_V2'&lt;/PRE&gt;</description>
      <pubDate>Wed, 17 Jan 2018 21:21:57 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Best-way-for-checking-hive-table-metadata-at-once/m-p/190681#M152770</guid>
      <dc:creator>tomoya_yoshida</dc:creator>
      <dc:date>2018-01-17T21:21:57Z</dc:date>
    </item>
    <item>
      <title>Re: Best way for checking hive table metadata at once</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Best-way-for-checking-hive-table-metadata-at-once/m-p/190682#M152771</link>
      <description>&lt;P&gt; &lt;A rel="user" href="https://community.cloudera.com/users/56178/tomoyayoshida.html" nodeid="56178"&gt;@tomoya yoshida&lt;/A&gt;,&lt;/P&gt;&lt;P&gt;Can you try connecting to mysql as below&lt;/P&gt;&lt;PRE&gt;mysql -uhive -p{password}&lt;/PRE&gt;&lt;P&gt;password is the password which you hive in ambari GUI while adding hive service.&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Aditya&lt;/P&gt;</description>
      <pubDate>Wed, 17 Jan 2018 22:33:24 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Best-way-for-checking-hive-table-metadata-at-once/m-p/190682#M152771</guid>
      <dc:creator>asirna</dc:creator>
      <dc:date>2018-01-17T22:33:24Z</dc:date>
    </item>
    <item>
      <title>Re: Best way for checking hive table metadata at once</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Best-way-for-checking-hive-table-metadata-at-once/m-p/190683#M152772</link>
      <description>&lt;P&gt;You can also run DESC &amp;lt;TABLE_NAME&amp;gt; command from CLI or BEELINE.&lt;/P&gt;</description>
      <pubDate>Thu, 18 Jan 2018 04:19:41 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Best-way-for-checking-hive-table-metadata-at-once/m-p/190683#M152772</guid>
      <dc:creator>vgarg</dc:creator>
      <dc:date>2018-01-18T04:19:41Z</dc:date>
    </item>
  </channel>
</rss>

