<?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 Rebuilding Materialized View does not work, saying there is another process re-building the MV. in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/Rebuilding-Materialized-View-does-not-work-saying-there-is/m-p/362368#M238770</link>
    <description>&lt;P&gt;Hi Team,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am trying to re-build my materialized view (&lt;FONT color="#FF9900"&gt;&lt;EM&gt;ALTER MATERIALIZED VIEW &amp;lt;db&amp;gt;.&amp;lt;table&amp;gt; REBUILD;&lt;/EM&gt;&lt;/FONT&gt;). However, I got an error message saying that there is another process re-building the MV.&lt;/P&gt;&lt;P&gt;Error message:&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;&lt;EM&gt;SQL Error [40000] [42000]: Error while compiling statement: FAILED: SemanticException org.apache.hadoop.hive.ql.parse.SemanticException: Another process is rebuilding the materialized view&lt;/EM&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;I tried to check if there is any write lock on the MV or the table, however there is none. I also tried to re-build the MV, but then I got the same error again when I tried to rebuild.&lt;BR /&gt;Any idea why this is happening or how to check the "another process"?&lt;/P&gt;</description>
    <pubDate>Tue, 21 Apr 2026 07:45:06 GMT</pubDate>
    <dc:creator>RobVi</dc:creator>
    <dc:date>2026-04-21T07:45:06Z</dc:date>
    <item>
      <title>Rebuilding Materialized View does not work, saying there is another process re-building the MV.</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Rebuilding-Materialized-View-does-not-work-saying-there-is/m-p/362368#M238770</link>
      <description>&lt;P&gt;Hi Team,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am trying to re-build my materialized view (&lt;FONT color="#FF9900"&gt;&lt;EM&gt;ALTER MATERIALIZED VIEW &amp;lt;db&amp;gt;.&amp;lt;table&amp;gt; REBUILD;&lt;/EM&gt;&lt;/FONT&gt;). However, I got an error message saying that there is another process re-building the MV.&lt;/P&gt;&lt;P&gt;Error message:&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;&lt;EM&gt;SQL Error [40000] [42000]: Error while compiling statement: FAILED: SemanticException org.apache.hadoop.hive.ql.parse.SemanticException: Another process is rebuilding the materialized view&lt;/EM&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;I tried to check if there is any write lock on the MV or the table, however there is none. I also tried to re-build the MV, but then I got the same error again when I tried to rebuild.&lt;BR /&gt;Any idea why this is happening or how to check the "another process"?&lt;/P&gt;</description>
      <pubDate>Tue, 21 Apr 2026 07:45:06 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Rebuilding-Materialized-View-does-not-work-saying-there-is/m-p/362368#M238770</guid>
      <dc:creator>RobVi</dc:creator>
      <dc:date>2026-04-21T07:45:06Z</dc:date>
    </item>
    <item>
      <title>Re: Rebuilding Materialized View does not work, saying there is another process re-building the MV.</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Rebuilding-Materialized-View-does-not-work-saying-there-is/m-p/362860#M238851</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/103144"&gt;@RobVi&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please try to follow the below steps from our article.&lt;/P&gt;&lt;P&gt;&lt;A href="https://my.cloudera.com/knowledge/ERROR-quotFAILED-SemanticException?id=340510" target="_blank"&gt;https://my.cloudera.com/knowledge/ERROR-quotFAILED-SemanticException?id=340510&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Let us know if works.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Good Luck.&lt;/P&gt;</description>
      <pubDate>Wed, 01 Feb 2023 20:44:15 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Rebuilding-Materialized-View-does-not-work-saying-there-is/m-p/362860#M238851</guid>
      <dc:creator>Shmoo</dc:creator>
      <dc:date>2023-02-01T20:44:15Z</dc:date>
    </item>
    <item>
      <title>Re: Rebuilding Materialized View does not work, saying there is another process re-building the MV.</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Rebuilding-Materialized-View-does-not-work-saying-there-is/m-p/363243#M238941</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/103144"&gt;@RobVi&lt;/a&gt;&amp;nbsp;Has the reply helped resolve your issue? If so, please mark the appropriate reply as the solution, as it will make it easier for others to find the answer in the future. Thanks&lt;/P&gt;</description>
      <pubDate>Mon, 06 Feb 2023 17:09:25 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Rebuilding-Materialized-View-does-not-work-saying-there-is/m-p/363243#M238941</guid>
      <dc:creator>DianaTorres</dc:creator>
      <dc:date>2023-02-06T17:09:25Z</dc:date>
    </item>
    <item>
      <title>Re: Rebuilding Materialized View does not work, saying there is another process re-building the MV.</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Rebuilding-Materialized-View-does-not-work-saying-there-is/m-p/363395#M238970</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/70785"&gt;@Shmoo&lt;/a&gt;&amp;nbsp;,&lt;BR /&gt;Thank you for the suggestion. This works! The MV can be rebuilt after manually deleting the stale locks.&lt;BR /&gt;However, the next interesting question would be why do we get the stale lock? If we know why, we could prevent this from happening again, as an access to hive metastore is not something that we want to make available to all users.&lt;/P&gt;</description>
      <pubDate>Wed, 08 Feb 2023 12:58:51 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Rebuilding-Materialized-View-does-not-work-saying-there-is/m-p/363395#M238970</guid>
      <dc:creator>RobVi</dc:creator>
      <dc:date>2023-02-08T12:58:51Z</dc:date>
    </item>
  </channel>
</rss>

