<?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 external table MSCK and DROP not working.. in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/Hive-external-table-MSCK-and-DROP-not-working/m-p/357592#M237629</link>
    <description>&lt;P&gt;As there are lot many partitions,so DROP command would time out.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You must remove the partitions using below command:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;You need to drop partition manually&amp;nbsp;&lt;A href="https://stackoverflow.com/questions/13815179/how-to-update-drop-a-hive-partition" target="_blank"&gt;https://stackoverflow.com/questions/13815179/how-to-update-drop-a-hive-partition&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Then invoke drop table.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Drop command times out owing to lot many partitions.&lt;/P&gt;</description>
    <pubDate>Tue, 15 Nov 2022 05:39:20 GMT</pubDate>
    <dc:creator>asish</dc:creator>
    <dc:date>2022-11-15T05:39:20Z</dc:date>
    <item>
      <title>Hive external table MSCK and DROP not working..</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Hive-external-table-MSCK-and-DROP-not-working/m-p/357591#M237628</link>
      <description>&lt;P&gt;Hi Team,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We have 1 table which has more than 1 lakh partitions. Support team moved data from HDFS to other path and try to do MSCK but it is not working even drop table also. Getting below errors..&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;FAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.DDLTask&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;While drooping partitions also getting same error after 10min&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;can one help me on this..&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 15 Nov 2022 04:10:03 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Hive-external-table-MSCK-and-DROP-not-working/m-p/357591#M237628</guid>
      <dc:creator>hanumanth</dc:creator>
      <dc:date>2022-11-15T04:10:03Z</dc:date>
    </item>
    <item>
      <title>Re: Hive external table MSCK and DROP not working..</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Hive-external-table-MSCK-and-DROP-not-working/m-p/357592#M237629</link>
      <description>&lt;P&gt;As there are lot many partitions,so DROP command would time out.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You must remove the partitions using below command:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;You need to drop partition manually&amp;nbsp;&lt;A href="https://stackoverflow.com/questions/13815179/how-to-update-drop-a-hive-partition" target="_blank"&gt;https://stackoverflow.com/questions/13815179/how-to-update-drop-a-hive-partition&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Then invoke drop table.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Drop command times out owing to lot many partitions.&lt;/P&gt;</description>
      <pubDate>Tue, 15 Nov 2022 05:39:20 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Hive-external-table-MSCK-and-DROP-not-working/m-p/357592#M237629</guid>
      <dc:creator>asish</dc:creator>
      <dc:date>2022-11-15T05:39:20Z</dc:date>
    </item>
    <item>
      <title>Re: Hive external table MSCK and DROP not working..</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Hive-external-table-MSCK-and-DROP-not-working/m-p/357622#M237639</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/95604"&gt;@hanumanth&lt;/a&gt;&amp;nbsp;Review the logs to get a better idea on what it is failing on. If we have that many partitions, do check what's the value of&amp;nbsp;&lt;STRONG&gt;hive.msck.repair.batch.size&lt;/STRONG&gt;&amp;nbsp;and if it is set to &lt;STRONG&gt;0&lt;/STRONG&gt; at present, you may set this to a value such as 3000 and retry.&lt;/P&gt;</description>
      <pubDate>Tue, 15 Nov 2022 12:34:19 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Hive-external-table-MSCK-and-DROP-not-working/m-p/357622#M237639</guid>
      <dc:creator>smruti</dc:creator>
      <dc:date>2022-11-15T12:34:19Z</dc:date>
    </item>
    <item>
      <title>Re: Hive external table MSCK and DROP not working..</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Hive-external-table-MSCK-and-DROP-not-working/m-p/358029#M237731</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/95604"&gt;@hanumanth&lt;/a&gt;,&amp;nbsp;Have the replies helped resolve your issue? If so, can you please mark the appropriate reply as the solution, as it will make it easier for others to find the answer in the future?&lt;/P&gt;</description>
      <pubDate>Mon, 21 Nov 2022 04:55:01 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Hive-external-table-MSCK-and-DROP-not-working/m-p/358029#M237731</guid>
      <dc:creator>VidyaSargur</dc:creator>
      <dc:date>2022-11-21T04:55:01Z</dc:date>
    </item>
  </channel>
</rss>

