<?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>topic Unable to DROP TABLE: &amp;quot;Lock wait timeout exceeded&amp;quot; in Data Engineering</title>
    <link>https://community.databricks.com/t5/data-engineering/unable-to-drop-table-quot-lock-wait-timeout-exceeded-quot/m-p/58252#M31068</link>
    <description>&lt;P&gt;We have a table where the underlying data has been dropped, and seemingly something else must have gone wrong as well, and we want to just get rid of the whole table and schema, but running "DROP TABLE schema.table" is throwing the following error:&lt;/P&gt;&lt;PRE&gt;&lt;SPAN&gt;org.apache.hadoop.hive.ql.metadata.HiveException: MetaException(message:org.datanucleus.exceptions.NucleusDataStoreException: Update of object "org.apache.hadoop.hive.metastore.model.MStorageDescriptor@955c52" using statement "UPDATE SDS SET CD_ID=? WHERE SD_ID=?" failed : java.sql.SQLTransientConnectionException: (conn=64550) Lock wait timeout exceeded; try restarting transaction&lt;/SPAN&gt;&lt;/PRE&gt;&lt;P&gt;I have used the script mentioned&amp;nbsp;&lt;A href="https://community.databricks.com/t5/data-engineering/unable-to-drop-a-table/m-p/19564#M13130" target="_self"&gt;in this conversation&lt;/A&gt;, but that leads to a similar error:&lt;/P&gt;&lt;PRE&gt;&lt;SPAN&gt;HiveException: MetaException(message:org.datanucleus.exceptions.NucleusDataStoreException: Update of object "org.apache.hadoop.hive.metastore.model.MStorageDescriptor@5396216a" using statement "UPDATE SDS SET CD_ID=? WHERE SD_ID=?" failed : java.sql.SQLTransientConnectionException: (conn=64632) Lock wait timeout exceeded; try restarting transaction&lt;/SPAN&gt;&lt;/PRE&gt;&lt;P&gt;Any search for this error only brings up MySQL topics. Is there anything I can do to force-drop the table?&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 23 Jan 2024 09:40:52 GMT</pubDate>
    <dc:creator>MarthinusBosma1</dc:creator>
    <dc:date>2024-01-23T09:40:52Z</dc:date>
    <item>
      <title>Unable to DROP TABLE: "Lock wait timeout exceeded"</title>
      <link>https://community.databricks.com/t5/data-engineering/unable-to-drop-table-quot-lock-wait-timeout-exceeded-quot/m-p/58252#M31068</link>
      <description>&lt;P&gt;We have a table where the underlying data has been dropped, and seemingly something else must have gone wrong as well, and we want to just get rid of the whole table and schema, but running "DROP TABLE schema.table" is throwing the following error:&lt;/P&gt;&lt;PRE&gt;&lt;SPAN&gt;org.apache.hadoop.hive.ql.metadata.HiveException: MetaException(message:org.datanucleus.exceptions.NucleusDataStoreException: Update of object "org.apache.hadoop.hive.metastore.model.MStorageDescriptor@955c52" using statement "UPDATE SDS SET CD_ID=? WHERE SD_ID=?" failed : java.sql.SQLTransientConnectionException: (conn=64550) Lock wait timeout exceeded; try restarting transaction&lt;/SPAN&gt;&lt;/PRE&gt;&lt;P&gt;I have used the script mentioned&amp;nbsp;&lt;A href="https://community.databricks.com/t5/data-engineering/unable-to-drop-a-table/m-p/19564#M13130" target="_self"&gt;in this conversation&lt;/A&gt;, but that leads to a similar error:&lt;/P&gt;&lt;PRE&gt;&lt;SPAN&gt;HiveException: MetaException(message:org.datanucleus.exceptions.NucleusDataStoreException: Update of object "org.apache.hadoop.hive.metastore.model.MStorageDescriptor@5396216a" using statement "UPDATE SDS SET CD_ID=? WHERE SD_ID=?" failed : java.sql.SQLTransientConnectionException: (conn=64632) Lock wait timeout exceeded; try restarting transaction&lt;/SPAN&gt;&lt;/PRE&gt;&lt;P&gt;Any search for this error only brings up MySQL topics. Is there anything I can do to force-drop the table?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 23 Jan 2024 09:40:52 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/unable-to-drop-table-quot-lock-wait-timeout-exceeded-quot/m-p/58252#M31068</guid>
      <dc:creator>MarthinusBosma1</dc:creator>
      <dc:date>2024-01-23T09:40:52Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to DROP TABLE: "Lock wait timeout exceeded"</title>
      <link>https://community.databricks.com/t5/data-engineering/unable-to-drop-table-quot-lock-wait-timeout-exceeded-quot/m-p/58265#M31074</link>
      <description>&lt;P&gt;The table needs to be dropped from the backend. If you can raise a ticket, support team can do it for you.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 23 Jan 2024 11:19:50 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/unable-to-drop-table-quot-lock-wait-timeout-exceeded-quot/m-p/58265#M31074</guid>
      <dc:creator>Lakshay</dc:creator>
      <dc:date>2024-01-23T11:19:50Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to DROP TABLE: "Lock wait timeout exceeded"</title>
      <link>https://community.databricks.com/t5/data-engineering/unable-to-drop-table-quot-lock-wait-timeout-exceeded-quot/m-p/58268#M31076</link>
      <description>&lt;P&gt;This is running on a private Azure Databricks subscription. So I'm not sure who "support" is in that case?&lt;/P&gt;</description>
      <pubDate>Tue, 23 Jan 2024 13:09:02 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/unable-to-drop-table-quot-lock-wait-timeout-exceeded-quot/m-p/58268#M31076</guid>
      <dc:creator>MarthinusBosma1</dc:creator>
      <dc:date>2024-01-23T13:09:02Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to DROP TABLE: "Lock wait timeout exceeded"</title>
      <link>https://community.databricks.com/t5/data-engineering/unable-to-drop-table-quot-lock-wait-timeout-exceeded-quot/m-p/58271#M31077</link>
      <description>&lt;P&gt;I think it should be Microsoft but probably you can check within your organization.&lt;/P&gt;</description>
      <pubDate>Tue, 23 Jan 2024 13:31:48 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/unable-to-drop-table-quot-lock-wait-timeout-exceeded-quot/m-p/58271#M31077</guid>
      <dc:creator>Lakshay</dc:creator>
      <dc:date>2024-01-23T13:31:48Z</dc:date>
    </item>
  </channel>
</rss>

