<?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 Re: How to collect a thread dump from Databricks Spark UI. in Get Started Discussions</title>
    <link>https://community.databricks.com/t5/get-started-discussions/how-to-collect-a-thread-dump-from-databricks-spark-ui/m-p/69116#M7252</link>
    <description>&lt;P&gt;Thank you for sharing&amp;nbsp;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/23233"&gt;@NandiniN&lt;/a&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 16 May 2024 00:42:23 GMT</pubDate>
    <dc:creator>jose_gonzalez</dc:creator>
    <dc:date>2024-05-16T00:42:23Z</dc:date>
    <item>
      <title>How to collect a thread dump from Databricks Spark UI.</title>
      <link>https://community.databricks.com/t5/get-started-discussions/how-to-collect-a-thread-dump-from-databricks-spark-ui/m-p/68979#M7251</link>
      <description>&lt;P&gt;If you observe a hung job, thread dumps are crucial to determine the root cause. Hence, it would be a good idea to collect the thread dumps before cancelling the hung job.&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Here are the&amp;nbsp;Instructions to collect the Spark driver/executor thread dump:&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;​Go to the cluster where the SQL/Job/Query is running and click on spark UI.&lt;/LI&gt;
&lt;LI&gt;Now click on the "Executors" tab in the Spark UI. Click on "Thread dump" against the Spark Driver/executors&lt;/LI&gt;
&lt;LI&gt;On this screen, you will see the list of active threads running.&lt;/LI&gt;
&lt;LI&gt;Click on Expand All&amp;nbsp;(In latest versions you should see a Download button next to Expand all, it is a new feature). Right-click on the web page and save the thread dumps that you see on the screen as HTML files, or click on Download.&lt;/LI&gt;
&lt;LI&gt;To confirm that a thread is stuck, a thread dump has to be taken once in 1-2 minutes for 5-6 iterations.&lt;/LI&gt;
&lt;/OL&gt;</description>
      <pubDate>Tue, 14 May 2024 11:32:25 GMT</pubDate>
      <guid>https://community.databricks.com/t5/get-started-discussions/how-to-collect-a-thread-dump-from-databricks-spark-ui/m-p/68979#M7251</guid>
      <dc:creator>NandiniN</dc:creator>
      <dc:date>2024-05-14T11:32:25Z</dc:date>
    </item>
    <item>
      <title>Re: How to collect a thread dump from Databricks Spark UI.</title>
      <link>https://community.databricks.com/t5/get-started-discussions/how-to-collect-a-thread-dump-from-databricks-spark-ui/m-p/69116#M7252</link>
      <description>&lt;P&gt;Thank you for sharing&amp;nbsp;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/23233"&gt;@NandiniN&lt;/a&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 16 May 2024 00:42:23 GMT</pubDate>
      <guid>https://community.databricks.com/t5/get-started-discussions/how-to-collect-a-thread-dump-from-databricks-spark-ui/m-p/69116#M7252</guid>
      <dc:creator>jose_gonzalez</dc:creator>
      <dc:date>2024-05-16T00:42:23Z</dc:date>
    </item>
  </channel>
</rss>

