<?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: &amp;quot;invalidate metadata&amp;quot; do not work in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/quot-invalidate-metadata-quot-do-not-work/m-p/46643#M14915</link>
    <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;Do you have sentry enabled in the cluster?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;Do you notice the database when you run the show database query on beeline from the same user?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;With HIVE CLI the show database query's results will not be filtered based on the user privileges.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;But with beeline and impala-shell -- the user privileges will be evaluated before rendering the result. If the respective user dont have read privilege on the database, it wont be listed in the result.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 25 Oct 2016 11:31:45 GMT</pubDate>
    <dc:creator>venkatsambath</dc:creator>
    <dc:date>2016-10-25T11:31:45Z</dc:date>
    <item>
      <title>"invalidate metadata" do not work</title>
      <link>https://community.cloudera.com/t5/Support-Questions/quot-invalidate-metadata-quot-do-not-work/m-p/46609#M14906</link>
      <description>&lt;P&gt;Hello there,&lt;BR /&gt;&lt;BR /&gt;I'm new to Hadoop and I'm currently trying some examples resembling to the&amp;nbsp;problem I have to solve.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;I've created a very simple table in Hive (via hive shell). Then tried to look at it in Impala (via impala-shell).&amp;nbsp;&lt;BR /&gt;Even though I typed "invalidate metadata" before looking at the table in Impala, I couldn't see the table created in Hive.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It seems that Impala and/or Hive cannot access the meta-store (?).&lt;BR /&gt;I looked at impalad logs but didn't find any error.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Below my configuration and the stuff I typed in hive and impala.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;1.Configuration&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;* A 6 node &amp;nbsp;CentOS 6.8 cluster&lt;BR /&gt;* CDH 5.7.1&lt;BR /&gt;&lt;BR /&gt;* &amp;nbsp;&lt;SPAN class="s1"&gt;impalad version 2.5.0&lt;BR /&gt;*&amp;nbsp;&lt;SPAN class="s1"&gt;Impala Shell v2.5.0&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="s1"&gt;&lt;BR /&gt;*&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class="s1"&gt;Apache Derby - 10.11.1.1&lt;BR /&gt;*&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class="s1"&gt;Hive 1.1.0&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;STRONG&gt;2. Table creation &amp;amp; lookup&lt;/STRONG&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;EM&gt;&lt;SPAN class="s1"&gt;hive&amp;gt; create database new_db_from_hive ; &lt;/SPAN&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;EM&gt;&lt;SPAN class="s1"&gt;OK&lt;/SPAN&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;EM&gt;&lt;SPAN class="s1"&gt;hive&amp;gt; create table&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &lt;/SPAN&gt;new_db_from_hive.new_table_from_hive(x int) ; &lt;/SPAN&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;EM&gt;&lt;SPAN class="s1"&gt;OK&lt;/SPAN&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;&lt;EM&gt;&lt;SPAN class="s1"&gt;hive&amp;gt; &lt;/SPAN&gt;&lt;/EM&gt;show databases like 'new*' ;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;OK&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;new_db_from_hive&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;EM&gt;&lt;SPAN class="s1"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;Then in Impala :&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;EM&gt;&lt;SPAN class="s1"&gt;[myhost.hadoop:21000] &amp;gt; invalidate metadata ;&lt;/SPAN&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;EM&gt;&lt;SPAN class="s1"&gt;Query: invalidate metadata&lt;/SPAN&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;&lt;EM&gt;Fetched 0 row(s) in 3.26s&lt;/EM&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;EM&gt;&lt;SPAN class="s1"&gt;[myhost.hadoop:21000] &amp;gt; show databases ;&lt;/SPAN&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;EM&gt;&lt;SPAN class="s1"&gt;Query: show databases&lt;/SPAN&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;EM&gt;&lt;SPAN class="s1"&gt;+------------------+----------------------------------------------+&lt;/SPAN&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;EM&gt;&lt;SPAN class="s1"&gt;| name &lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;| comment&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/SPAN&gt;|&lt;/SPAN&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;EM&gt;&lt;SPAN class="s1"&gt;+------------------+----------------------------------------------+&lt;/SPAN&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;EM&gt;&lt;SPAN class="s1"&gt;| _impala_builtins | System database for Impala builtin functions |&lt;/SPAN&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;EM&gt;&lt;SPAN class="s1"&gt;| default&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;| Default Hive database&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;|&lt;/SPAN&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P class="p1"&gt;&amp;nbsp;&lt;/P&gt;&lt;P class="p1"&gt;&lt;EM&gt;&lt;SPAN class="s1"&gt;+------------------+----------------------------------------------+&lt;/SPAN&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;However, I can see the database on the hdfs file system :&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P class="p1"&gt;&lt;EM&gt;&lt;SPAN class="s1"&gt;$ hdfs dfs -ls /user/hive/warehouse/new_db_from_hive.db &lt;/SPAN&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;EM&gt;&lt;SPAN class="s1"&gt;Found 1 items&lt;/SPAN&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;EM&gt;&lt;SPAN class="s1"&gt;drwxrwxrwt &lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &lt;/SPAN&gt;- &amp;lt;myuserid&amp;gt;&amp;nbsp;hive&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;0 2016-10-24 18:46 /user/hive/warehouse/new_db_from_hive.db/new_table_from_hive&lt;/SPAN&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P class="p1"&gt;&amp;nbsp;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;I don't know what is missing.&amp;nbsp;&lt;BR /&gt;Thank you in advance for any help.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 16 Sep 2022 10:45:25 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/quot-invalidate-metadata-quot-do-not-work/m-p/46609#M14906</guid>
      <dc:creator>smt78100</dc:creator>
      <dc:date>2022-09-16T10:45:25Z</dc:date>
    </item>
    <item>
      <title>Re: "invalidate metadata" do not work</title>
      <link>https://community.cloudera.com/t5/Support-Questions/quot-invalidate-metadata-quot-do-not-work/m-p/46612#M14907</link>
      <description>&lt;P&gt;What do you see if you type "use new_db_from_hive;" into your Impala shell?&lt;/P&gt;</description>
      <pubDate>Mon, 24 Oct 2016 17:32:52 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/quot-invalidate-metadata-quot-do-not-work/m-p/46612#M14907</guid>
      <dc:creator>jbapple</dc:creator>
      <dc:date>2016-10-24T17:32:52Z</dc:date>
    </item>
    <item>
      <title>Re: "invalidate metadata" do not work</title>
      <link>https://community.cloudera.com/t5/Support-Questions/quot-invalidate-metadata-quot-do-not-work/m-p/46619#M14908</link>
      <description>&lt;P&gt;It gives me an arror :&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;EM&gt;&lt;SPAN class="s1"&gt;&amp;gt; use new_db_from_hive ;&lt;/SPAN&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;EM&gt;&lt;SPAN class="s1"&gt;Query: use new_db_from_hive&lt;/SPAN&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;EM&gt;&lt;SPAN class="s1"&gt;ERROR: AnalysisException: Database does not exist: new_db_from_hive&lt;/SPAN&gt;&lt;/EM&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 24 Oct 2016 18:28:53 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/quot-invalidate-metadata-quot-do-not-work/m-p/46619#M14908</guid>
      <dc:creator>smt78100</dc:creator>
      <dc:date>2016-10-24T18:28:53Z</dc:date>
    </item>
    <item>
      <title>Re: "invalidate metadata" do not work</title>
      <link>https://community.cloudera.com/t5/Support-Questions/quot-invalidate-metadata-quot-do-not-work/m-p/46621#M14909</link>
      <description>&lt;P&gt;Does it work if you create the database through Impala?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 24 Oct 2016 19:33:49 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/quot-invalidate-metadata-quot-do-not-work/m-p/46621#M14909</guid>
      <dc:creator>Dimitris</dc:creator>
      <dc:date>2016-10-24T19:33:49Z</dc:date>
    </item>
    <item>
      <title>Re: "invalidate metadata" do not work</title>
      <link>https://community.cloudera.com/t5/Support-Questions/quot-invalidate-metadata-quot-do-not-work/m-p/46626#M14910</link>
      <description>&lt;P&gt;Yes. Databases and Tables can be created normally in Impala.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;EM&gt;&lt;SPAN class="s1"&gt;[myhost.hadoop:21000] &amp;gt; create database new_db_from_impala ;&lt;/SPAN&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;EM&gt;&lt;SPAN class="s1"&gt;Query: create database new_db_from_impala&lt;/SPAN&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P class="p2"&gt;&amp;nbsp;&lt;/P&gt;&lt;P class="p1"&gt;&lt;EM&gt;&lt;SPAN class="s1"&gt;Fetched 0 row(s) in 0.18s&lt;/SPAN&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P class="p1"&gt;&amp;nbsp;&lt;/P&gt;&lt;P class="p1"&gt;&lt;EM&gt;&lt;SPAN class="s1"&gt;[myhost.hadoop:21000] &amp;gt; create table new_db_from_impala.new_table_from_impala(x int) ;&lt;/SPAN&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;EM&gt;&lt;SPAN class="s1"&gt;Query: create table new_db_from_impala.new_table_from_impala(x int)&lt;/SPAN&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P class="p2"&gt;&amp;nbsp;&lt;/P&gt;&lt;P class="p1"&gt;&amp;nbsp;&lt;/P&gt;&lt;P class="p1"&gt;&lt;EM&gt;&lt;SPAN class="s1"&gt;[myhost.hadoop:21000] &amp;gt; show databases ;&lt;/SPAN&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;EM&gt;&lt;SPAN class="s1"&gt;Query: show databases&lt;/SPAN&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;EM&gt;&lt;SPAN class="s1"&gt;+--------------------+----------------------------------------------+&lt;/SPAN&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;EM&gt;&lt;SPAN class="s1"&gt;| name &lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;| comment&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;|&lt;/SPAN&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;EM&gt;&lt;SPAN class="s1"&gt;+--------------------+----------------------------------------------+&lt;/SPAN&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;EM&gt;&lt;SPAN class="s1"&gt;| _impala_builtins &lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &lt;/SPAN&gt;| System database for Impala builtin functions |&lt;/SPAN&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;EM&gt;&lt;SPAN class="s1"&gt;| default&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;| Default Hive database&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;|&lt;/SPAN&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P class="p1"&gt;&amp;nbsp;&lt;/P&gt;&lt;P class="p1"&gt;&lt;EM&gt;&lt;SPAN class="s1"&gt;| new_db_from_impala |&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;|&lt;/SPAN&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;EM&gt;&lt;SPAN class="s1"&gt;+--------------------+----------------------------------------------+&lt;/SPAN&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;EM&gt;&lt;SPAN class="s1"&gt;Fetched 3 row(s) in 0.00s&lt;/SPAN&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;EM&gt;&lt;SPAN class="s1"&gt;[myhost.hadoop:21000] &amp;gt; use new_db_from_impala ;&lt;/SPAN&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;EM&gt;&lt;SPAN class="s1"&gt;Query: use new_db_from_impala&lt;/SPAN&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;EM&gt;&lt;SPAN class="s1"&gt;[myhost.hadoop:21000] &amp;gt; show tables ;&lt;/SPAN&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;EM&gt;&lt;SPAN class="s1"&gt;Query: show tables&lt;/SPAN&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;EM&gt;&lt;SPAN class="s1"&gt;+-----------------------+&lt;/SPAN&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;EM&gt;&lt;SPAN class="s1"&gt;| name&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;|&lt;/SPAN&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;EM&gt;&lt;SPAN class="s1"&gt;+-----------------------+&lt;/SPAN&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;EM&gt;&lt;SPAN class="s1"&gt;| new_table_from_impala |&lt;/SPAN&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;EM&gt;&lt;SPAN class="s1"&gt;+-----------------------+&lt;/SPAN&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;EM&gt;&lt;SPAN class="s1"&gt;Fetched 1 row(s) in 0.00s&lt;/SPAN&gt;&lt;/EM&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 24 Oct 2016 20:09:39 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/quot-invalidate-metadata-quot-do-not-work/m-p/46626#M14910</guid>
      <dc:creator>smt78100</dc:creator>
      <dc:date>2016-10-24T20:09:39Z</dc:date>
    </item>
    <item>
      <title>Re: "invalidate metadata" do not work</title>
      <link>https://community.cloudera.com/t5/Support-Questions/quot-invalidate-metadata-quot-do-not-work/m-p/46627#M14911</link>
      <description>&lt;P&gt;The connection to HMS seems to be working fine. Here are some things to consider:&lt;/P&gt;&lt;P&gt;1. create a table in Hive and run invalidate metadata in Impala. Does this work?&lt;/P&gt;&lt;P&gt;2. Check the impalad.INFO and catalogd.INFO for any exceptions/errors&lt;/P&gt;&lt;P&gt;3. Keep in mind that invalidate metadata is asynchronous, i.e. it returns immediately and then in the background the catalog objects are sent to the impalad nodes. This could take some time, so the question is if the db shows up eventually (after a few secs) or never.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Dimitris&lt;/P&gt;</description>
      <pubDate>Mon, 24 Oct 2016 20:24:46 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/quot-invalidate-metadata-quot-do-not-work/m-p/46627#M14911</guid>
      <dc:creator>Dimitris</dc:creator>
      <dc:date>2016-10-24T20:24:46Z</dc:date>
    </item>
    <item>
      <title>Re: "invalidate metadata" do not work</title>
      <link>https://community.cloudera.com/t5/Support-Questions/quot-invalidate-metadata-quot-do-not-work/m-p/46629#M14912</link>
      <description>&lt;P&gt;&lt;EM&gt;1. create a table in Hive and run invalidate metadata in Impala. Does this work?&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;This is what I've done several times (create table/database in Hive; then run invalidate metadata in Impala). And no. It doesn't work.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;2. Check the impalad.INFO and catalogd.INFO for any exceptions/errors&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;catalogd.ERROR &amp;nbsp;includes exceptions concerning the missing tables. But&amp;nbsp;there's no additional information about the origin of the problem :&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;E1024 15:55:53.764930 10217 catalog-server.cc:76] TableNotFoundException: Table not found: new_db_from_hive.new_table_from_hive&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;E1024 15:59:52.447249 10217 catalog-server.cc:76] TableNotFoundException: Table not found: new_db_from_hive2nd.new_table_from_hive&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;E1024 16:18:37.696986 14116 catalog-server.cc:76] TableNotFoundException: Table not found: new_db_from_hive.new_table_from_hive&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;E1024 16:30:49.233502 10217 catalog-server.cc:76] TableNotFoundException: Table not found: new_db_from_hive3rd.new_table_from_hive&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;&amp;nbsp;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;In impalad.INFO, I found some lines that *may* be of interest (?) :&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;I1024 18:50:41.929322 10036 Frontend.java:866] analyze query invalidate metadata&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;I1024 18:50:41.950764 10036 impala-server.cc:1430] Waiting for &lt;/SPAN&gt;&lt;SPAN class="s2"&gt;catalog&lt;/SPAN&gt;&lt;SPAN class="s1"&gt; version: 34 current version: 26&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;I1024 18:50:45.444826 10036 impala-beeswax-server.cc:307] get_results_metadata(): query_id=5243589279189211:df729a8d9a1687a4&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;I1024 18:50:45.445307 10036 impala-beeswax-server.cc:349] close(): query_id=5243589279189211:df729a8d9a1687a4&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;I1024 18:50:45.445310 10036 impala-server.cc:915] UnregisterQuery(): query_id=5243589279189211:df729a8d9a1687a4&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;I1024 18:50:45.445314 10036 impala-server.cc:1001] Cancel(): query_id=5243589279189211:df729a8d9a1687a4&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;I1024 18:50:45.446462 10036 impala-beeswax-server.cc:172] query(): query=invalidate metadata&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;I don't know if this variation of version in the catalog is normal.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;3. Keep in mind that invalidate metadata is asynchronous, i.e. it returns immediately and then in the background the catalog objects are sent to the impalad nodes. This could take some time, so the question is if the db shows up eventually (after a few secs) or never.&lt;BR /&gt;&lt;BR /&gt;There are few data in Hive, Impala.&amp;nbsp;&lt;BR /&gt;And even if I try looking at the existing tables in Impala much later after I ran the "invalidate metadata" query, they still do not appear.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 24 Oct 2016 21:30:44 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/quot-invalidate-metadata-quot-do-not-work/m-p/46629#M14912</guid>
      <dc:creator>smt78100</dc:creator>
      <dc:date>2016-10-24T21:30:44Z</dc:date>
    </item>
    <item>
      <title>Re: "invalidate metadata" do not work</title>
      <link>https://community.cloudera.com/t5/Support-Questions/quot-invalidate-metadata-quot-do-not-work/m-p/46630#M14913</link>
      <description>&lt;P&gt;&lt;EM&gt;1. create a table in Hive and run invalidate metadata in Impala. Does this work?&lt;BR /&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;This is what I've done several times (create table/database in Hive; then run invalidate metadata in Impala). And no. It doesn't work.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;2. Check the impalad.INFO and catalogd.INFO for any exceptions/errors&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;catalogd.ERROR &amp;nbsp;includes exceptions concerning the missing tables. But&amp;nbsp;there's no additional information about the origin of the problem :&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;E1024 15:55:53.764930 10217 catalog-server.cc:76] TableNotFoundException: Table not found: new_db_from_hive.new_table_from_hive&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;E1024 15:59:52.447249 10217 catalog-server.cc:76] TableNotFoundException: Table not found: new_db_from_hive2nd.new_table_from_hive&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;E1024 16:18:37.696986 14116 catalog-server.cc:76] TableNotFoundException: Table not found: new_db_from_hive.new_table_from_hive&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;E1024 16:30:49.233502 10217 catalog-server.cc:76] TableNotFoundException: Table not found: new_db_from_hive3rd.new_table_from_hive&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;&amp;nbsp;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;In impalad.INFO, I found some lines that *may* be of interest (?) :&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;I1024 18:50:41.929322 10036 Frontend.java:866] analyze query invalidate metadata&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;I1024 18:50:41.950764 10036 impala-server.cc:1430] Waiting for &lt;/SPAN&gt;&lt;SPAN class="s2"&gt;catalog&lt;/SPAN&gt;&lt;SPAN class="s1"&gt; version: 34 current version: 26&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;I1024 18:50:45.444826 10036 impala-beeswax-server.cc:307] get_results_metadata(): query_id=5243589279189211:df729a8d9a1687a4&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;I1024 18:50:45.445307 10036 impala-beeswax-server.cc:349] close(): query_id=5243589279189211:df729a8d9a1687a4&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;I1024 18:50:45.445310 10036 impala-server.cc:915] UnregisterQuery(): query_id=5243589279189211:df729a8d9a1687a4&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;I1024 18:50:45.445314 10036 impala-server.cc:1001] Cancel(): query_id=5243589279189211:df729a8d9a1687a4&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;I1024 18:50:45.446462 10036 impala-beeswax-server.cc:172] query(): query=invalidate metadata&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;I don't know if this variation of version in the catalog is normal.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;3. Keep in mind that invalidate metadata is asynchronous, i.e. it returns immediately and then in the background the catalog objects are sent to the impalad nodes. This could take some time, so the question is if the db shows up eventually (after a few secs) or never.&lt;/EM&gt;&lt;BR /&gt;&lt;BR /&gt;There are few data in Hive and Impala.&amp;nbsp;&lt;BR /&gt;And even if I try looking at the existing tables in Impala much later after I ran the "invalidate metadata" query, they still do not appear.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 24 Oct 2016 21:33:17 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/quot-invalidate-metadata-quot-do-not-work/m-p/46630#M14913</guid>
      <dc:creator>smt78100</dc:creator>
      <dc:date>2016-10-24T21:33:17Z</dc:date>
    </item>
    <item>
      <title>Re: "invalidate metadata" do not work</title>
      <link>https://community.cloudera.com/t5/Support-Questions/quot-invalidate-metadata-quot-do-not-work/m-p/46642#M14914</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Could it be a misconfiguration issue in Hive ?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;* On a first node of my cluster, I've created via hive shell a database and a table. Say : database1.table1&lt;/P&gt;&lt;P&gt;* On a second node, I've created database2.table2&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;If I look at the warehouse directory : /user/hive/&lt;SPAN&gt;warehouse/ &amp;nbsp;on both nodes I can see the two databases :&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;database1.db and database2.db&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;However, if I check the existence of these databases through hive-shell, I don't see both databases using shell-hive query 'show databases' : &amp;nbsp;I only see database1 &amp;nbsp;on the first node &amp;nbsp;and database2 on the second node.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;[Edited post]&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;I can only run one instance of hive-shell by node.&amp;nbsp;&lt;BR /&gt;I suppose that the Metastore is configured in &amp;nbsp;"Embedded mode".&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;I 'm using Cloudera Manager, but I can't find where I can change the Metastore mode configuration.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 25 Oct 2016 11:33:34 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/quot-invalidate-metadata-quot-do-not-work/m-p/46642#M14914</guid>
      <dc:creator>smt78100</dc:creator>
      <dc:date>2016-10-25T11:33:34Z</dc:date>
    </item>
    <item>
      <title>Re: "invalidate metadata" do not work</title>
      <link>https://community.cloudera.com/t5/Support-Questions/quot-invalidate-metadata-quot-do-not-work/m-p/46643#M14915</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;Do you have sentry enabled in the cluster?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;Do you notice the database when you run the show database query on beeline from the same user?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;With HIVE CLI the show database query's results will not be filtered based on the user privileges.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;But with beeline and impala-shell -- the user privileges will be evaluated before rendering the result. If the respective user dont have read privilege on the database, it wont be listed in the result.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 25 Oct 2016 11:31:45 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/quot-invalidate-metadata-quot-do-not-work/m-p/46643#M14915</guid>
      <dc:creator>venkatsambath</dc:creator>
      <dc:date>2016-10-25T11:31:45Z</dc:date>
    </item>
    <item>
      <title>Re: "invalidate metadata" do not work</title>
      <link>https://community.cloudera.com/t5/Support-Questions/quot-invalidate-metadata-quot-do-not-work/m-p/46649#M14916</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for your advices. It finally worked.&lt;BR /&gt;I just shifted from Hive shell to beeline.&lt;BR /&gt;&lt;BR /&gt;Using beeline, I could see databases created &amp;nbsp;in Impala.&lt;BR /&gt;In impala, after running the "invalidate metadata" query, I could see databases created through beeline.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Apparently, hive shell cannot access the remote metastore.&lt;BR /&gt;I don't know if this is because hive shell is now deprecated or if it's just a configuration issue, but &amp;nbsp;I will proceed&amp;nbsp;with beeline.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;show databases via beeline :&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P class="p1"&gt;&lt;EM&gt;&lt;SPAN class="s1"&gt;beeline&amp;gt; !connect jdbc:hive2://bigfour.hadoop:10000&lt;/SPAN&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P class="p1"&gt;&amp;nbsp;&lt;EM&gt;&lt;SPAN class="s1"&gt;Connected to: Apache Hive (version 1.1.0-cdh5.7.1)&lt;/SPAN&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P class="p1"&gt;&amp;nbsp;&lt;EM&gt;&lt;SPAN class="s1"&gt;0: jdbc:hive2://bigfour.hadoop:10000&amp;gt; show databases ;&lt;/SPAN&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;EM&gt;&lt;SPAN class="s1"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;EM&gt;&lt;SPAN class="s1"&gt;+---------------------------+--+&lt;/SPAN&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;EM&gt;&lt;SPAN class="s1"&gt;|&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;database_name &lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;|&lt;/SPAN&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;EM&gt;&lt;SPAN class="s1"&gt;+---------------------------+--+&lt;/SPAN&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;EM&gt;&lt;SPAN class="s1"&gt;| default&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/SPAN&gt;|&lt;/SPAN&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;EM&gt;&lt;SPAN class="s1"&gt;| new_db_from_beeline&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &lt;/SPAN&gt;|&lt;/SPAN&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;EM&gt;&lt;SPAN class="s1"&gt;| new_db_from_impala &lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &lt;/SPAN&gt;|&lt;/SPAN&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;EM&gt;&lt;SPAN class="s1"&gt;+---------------------------+--+&lt;/SPAN&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;show databases via impala-shell (before and after "invalidate metadata") :&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;EM&gt;&lt;SPAN class="s1"&gt;[bigtwo.hadoop:21000] &amp;gt; show databases ;&lt;/SPAN&gt;&lt;/EM&gt;&amp;nbsp;&lt;/P&gt;&lt;P class="p1"&gt;&lt;EM&gt;&lt;SPAN class="s1"&gt;+-----------------------------+----------------------------------------------+&lt;/SPAN&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;EM&gt;&lt;SPAN class="s1"&gt;| name &lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;| comment&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;|&lt;/SPAN&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;EM&gt;&lt;SPAN class="s1"&gt;+-----------------------------+----------------------------------------------+&lt;/SPAN&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;EM&gt;&lt;SPAN class="s1"&gt;| _impala_builtins &lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/SPAN&gt;| System database for Impala builtin functions |&lt;/SPAN&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;EM&gt;&lt;SPAN class="s1"&gt;| default&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/SPAN&gt;| Default Hive database&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;|&lt;/SPAN&gt;&lt;/EM&gt;&amp;nbsp;&lt;/P&gt;&lt;P class="p1"&gt;&lt;EM&gt;&lt;SPAN class="s1"&gt;| new_db_from_impala |&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/SPAN&gt;|&lt;/SPAN&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;EM&gt;&lt;SPAN class="s1"&gt;+-----------------------------+----------------------------------------------+&lt;/SPAN&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P class="p1"&gt;&amp;nbsp;&lt;/P&gt;&lt;P class="p1"&gt;&lt;EM&gt;&lt;SPAN class="s1"&gt;[bigtwo.hadoop:21000] &amp;gt; invalidate metadata ;&lt;/SPAN&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P class="p1"&gt;&amp;nbsp;&lt;/P&gt;&lt;P class="p1"&gt;&amp;nbsp;&lt;/P&gt;&lt;P class="p1"&gt;&lt;EM&gt;&lt;SPAN class="s1"&gt;[bigtwo.hadoop:21000] &amp;gt; show databases ;&lt;/SPAN&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;EM&gt;&lt;SPAN class="s1"&gt;+-------------------------------+---------------------------------------------+&lt;/SPAN&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;EM&gt;&lt;SPAN class="s1"&gt;| name&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/SPAN&gt;| comment&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;|&lt;/SPAN&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;EM&gt;&lt;SPAN class="s1"&gt;+-------------------------------+---------------------------------------------+&lt;/SPAN&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;EM&gt;&lt;SPAN class="s1"&gt;| _impala_builtins&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;| System database for Impala builtin functions |&lt;/SPAN&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;EM&gt;&lt;SPAN class="s1"&gt;| default &lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;| Default Hive database&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;|&lt;/SPAN&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P class="p1"&gt;&amp;nbsp;&lt;EM&gt;&lt;SPAN class="s1"&gt;| new_db_from_beeline |&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/SPAN&gt;|&lt;/SPAN&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;EM&gt;&lt;SPAN class="s1"&gt;| new_db_from_impala&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &amp;nbsp;&lt;/SPAN&gt;|&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/SPAN&gt;| &amp;nbsp;&lt;/SPAN&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;EM&gt;&lt;SPAN class="s1"&gt;+------------------------------+-----------------------------------------------+&lt;/SPAN&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 25 Oct 2016 13:43:27 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/quot-invalidate-metadata-quot-do-not-work/m-p/46649#M14916</guid>
      <dc:creator>smt78100</dc:creator>
      <dc:date>2016-10-25T13:43:27Z</dc:date>
    </item>
    <item>
      <title>Re: "invalidate metadata" do not work</title>
      <link>https://community.cloudera.com/t5/Support-Questions/quot-invalidate-metadata-quot-do-not-work/m-p/46650#M14917</link>
      <description>&lt;P&gt;You are right. hivecli wont reach the metastore if it doesnt have proper configuration files.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Did the node inwhich you ran the hiveCLI had proper hive gateway assigned to it? If not, the table that you created would have been created on the derby database(embedded DB of HMS) and this would inturn makes the changes invisible to impala, because impala catalog always grabs the metadata from the remote metastore.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This also clarifies that other behaviour that you noticed. i.e creating database on one node was not being reflected on the hivecli opened in another node because the metadata are being added&amp;nbsp;on the embedded DB&lt;/P&gt;</description>
      <pubDate>Tue, 25 Oct 2016 13:58:12 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/quot-invalidate-metadata-quot-do-not-work/m-p/46650#M14917</guid>
      <dc:creator>venkatsambath</dc:creator>
      <dc:date>2016-10-25T13:58:12Z</dc:date>
    </item>
    <item>
      <title>Re: "invalidate metadata" do not work</title>
      <link>https://community.cloudera.com/t5/Support-Questions/quot-invalidate-metadata-quot-do-not-work/m-p/46651#M14918</link>
      <description>&lt;P&gt;There's a Hive Gateway on each node.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 25 Oct 2016 14:12:51 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/quot-invalidate-metadata-quot-do-not-work/m-p/46651#M14918</guid>
      <dc:creator>smt78100</dc:creator>
      <dc:date>2016-10-25T14:12:51Z</dc:date>
    </item>
  </channel>
</rss>

