<?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: What / When flush out table metadata in catalog daemon? in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/What-When-flush-out-table-metadata-in-catalog-daemon/m-p/50309#M53137</link>
    <description>&lt;P&gt;From log history, I found out someone keep running 'invalidate metadata' without table name. &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for your comment&lt;/P&gt;&lt;P&gt;Gatsby&lt;/P&gt;</description>
    <pubDate>Thu, 02 Feb 2017 21:57:13 GMT</pubDate>
    <dc:creator>thewayofthinkin</dc:creator>
    <dc:date>2017-02-02T21:57:13Z</dc:date>
    <item>
      <title>What / When flush out table metadata in catalog daemon?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/What-When-flush-out-table-metadata-in-catalog-daemon/m-p/50267#M53135</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a question about metadata loaded in Impala catalog daemon.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If I understand correctly, catalog daemon read TABLE metadata from Hive metadata store and caches in memory.&lt;/P&gt;&lt;P&gt;My question is what trigger flushing out this cached TABLE metadata.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The reason I ask this question is that I noticed that TABLE metadata is flushed out from catalog daemon after some time. And, since TABLE metadata doesn't exist, catalog daemon tries to load metadata again from metastore.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there some kind of configuration I can set to control TABLE metadata lifecycle ( or memory )?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;&lt;P&gt;Gatsby&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 16 Sep 2022 11:00:02 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/What-When-flush-out-table-metadata-in-catalog-daemon/m-p/50267#M53135</guid>
      <dc:creator>thewayofthinkin</dc:creator>
      <dc:date>2022-09-16T11:00:02Z</dc:date>
    </item>
    <item>
      <title>Re: What / When flush out table metadata in catalog daemon?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/What-When-flush-out-table-metadata-in-catalog-daemon/m-p/50293#M53136</link>
      <description>&lt;P&gt;Quoting my &lt;A href="https://community.cloudera.com/t5/Interactive-Short-cycle-SQL/When-querying-a-VIEW-query-planning-takes-a-long-time/m-p/50292#M2493" target="_self"&gt;reply in this thread&lt;/A&gt;:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;I don't know for sure, but I don't think metadata is flushed periodically. There also don't seem to be any configuration options of catalogd around metadata caching. Instead, the catalog should flush metadata when requested by "invalidate metadata" or by "refresh" or when a DDL statement makes changes to a table's metadata. Such changes should show up in the logfiles however.&lt;/EM&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 02 Feb 2017 14:08:34 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/What-When-flush-out-table-metadata-in-catalog-daemon/m-p/50293#M53136</guid>
      <dc:creator>Lars Volker</dc:creator>
      <dc:date>2017-02-02T14:08:34Z</dc:date>
    </item>
    <item>
      <title>Re: What / When flush out table metadata in catalog daemon?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/What-When-flush-out-table-metadata-in-catalog-daemon/m-p/50309#M53137</link>
      <description>&lt;P&gt;From log history, I found out someone keep running 'invalidate metadata' without table name. &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for your comment&lt;/P&gt;&lt;P&gt;Gatsby&lt;/P&gt;</description>
      <pubDate>Thu, 02 Feb 2017 21:57:13 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/What-When-flush-out-table-metadata-in-catalog-daemon/m-p/50309#M53137</guid>
      <dc:creator>thewayofthinkin</dc:creator>
      <dc:date>2017-02-02T21:57:13Z</dc:date>
    </item>
    <item>
      <title>Re: What / When flush out table metadata in catalog daemon?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/What-When-flush-out-table-metadata-in-catalog-daemon/m-p/50316#M53138</link>
      <description>&lt;P&gt;Sure thing, I'm glad you found the culprit. &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 02 Feb 2017 18:26:32 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/What-When-flush-out-table-metadata-in-catalog-daemon/m-p/50316#M53138</guid>
      <dc:creator>Lars Volker</dc:creator>
      <dc:date>2017-02-02T18:26:32Z</dc:date>
    </item>
  </channel>
</rss>

