<?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 How to improve Spark UI Job Description for pyspark? in Data Engineering</title>
    <link>https://community.databricks.com/t5/data-engineering/how-to-improve-spark-ui-job-description-for-pyspark/m-p/48959#M28434</link>
    <description>&lt;P&gt;I find it quite hard to understand Spark UI for my pyspark pipelines. For example, when one writes `spark.read.table("sometable").show()` it shows:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="igorgatis_0-1697034219608.png" style="width: 999px;"&gt;&lt;img src="https://community.databricks.com/t5/image/serverpage/image-id/4365iA4E6F5BAC187DA1C/image-size/large/is-moderation-mode/true?v=v2&amp;amp;px=999" role="button" title="igorgatis_0-1697034219608.png" alt="igorgatis_0-1697034219608.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I learned that `DataFrame` API actually may spawn jobs before running the actual job. In the example above, job 15 collects data which is used in job 16. In both cases, the description gives no clue on what is going on.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Clicking on job 15 link, it shows a stage that looks like this:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="igorgatis_1-1697034492125.png" style="width: 999px;"&gt;&lt;img src="https://community.databricks.com/t5/image/serverpage/image-id/4366i54D3BE2E08668356/image-size/large/is-moderation-mode/true?v=v2&amp;amp;px=999" role="button" title="igorgatis_1-1697034492125.png" alt="igorgatis_1-1697034492125.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Whose link leads to:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="igorgatis_2-1697034528335.png" style="width: 400px;"&gt;&lt;img src="https://community.databricks.com/t5/image/serverpage/image-id/4367i8E8BD3912BECDBE6/image-size/medium/is-moderation-mode/true?v=v2&amp;amp;px=400" role="button" title="igorgatis_2-1697034528335.png" alt="igorgatis_2-1697034528335.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;The job 16 is quite similar though it mentions the table name. Things get messier when DAG gets more complex.&lt;/P&gt;&lt;P&gt;Is there a recommended way to improve this? I'm aware of `&lt;SPAN&gt;setJobDescription&lt;/SPAN&gt;&lt;SPAN&gt;`, `setLocalProperty` (with `callSite.short` and `callSite.long` but dealing with them directly is also not easy.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 11 Oct 2023 14:32:57 GMT</pubDate>
    <dc:creator>igorgatis</dc:creator>
    <dc:date>2023-10-11T14:32:57Z</dc:date>
    <item>
      <title>How to improve Spark UI Job Description for pyspark?</title>
      <link>https://community.databricks.com/t5/data-engineering/how-to-improve-spark-ui-job-description-for-pyspark/m-p/48959#M28434</link>
      <description>&lt;P&gt;I find it quite hard to understand Spark UI for my pyspark pipelines. For example, when one writes `spark.read.table("sometable").show()` it shows:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="igorgatis_0-1697034219608.png" style="width: 999px;"&gt;&lt;img src="https://community.databricks.com/t5/image/serverpage/image-id/4365iA4E6F5BAC187DA1C/image-size/large/is-moderation-mode/true?v=v2&amp;amp;px=999" role="button" title="igorgatis_0-1697034219608.png" alt="igorgatis_0-1697034219608.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I learned that `DataFrame` API actually may spawn jobs before running the actual job. In the example above, job 15 collects data which is used in job 16. In both cases, the description gives no clue on what is going on.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Clicking on job 15 link, it shows a stage that looks like this:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="igorgatis_1-1697034492125.png" style="width: 999px;"&gt;&lt;img src="https://community.databricks.com/t5/image/serverpage/image-id/4366i54D3BE2E08668356/image-size/large/is-moderation-mode/true?v=v2&amp;amp;px=999" role="button" title="igorgatis_1-1697034492125.png" alt="igorgatis_1-1697034492125.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Whose link leads to:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="igorgatis_2-1697034528335.png" style="width: 400px;"&gt;&lt;img src="https://community.databricks.com/t5/image/serverpage/image-id/4367i8E8BD3912BECDBE6/image-size/medium/is-moderation-mode/true?v=v2&amp;amp;px=400" role="button" title="igorgatis_2-1697034528335.png" alt="igorgatis_2-1697034528335.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;The job 16 is quite similar though it mentions the table name. Things get messier when DAG gets more complex.&lt;/P&gt;&lt;P&gt;Is there a recommended way to improve this? I'm aware of `&lt;SPAN&gt;setJobDescription&lt;/SPAN&gt;&lt;SPAN&gt;`, `setLocalProperty` (with `callSite.short` and `callSite.long` but dealing with them directly is also not easy.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 11 Oct 2023 14:32:57 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/how-to-improve-spark-ui-job-description-for-pyspark/m-p/48959#M28434</guid>
      <dc:creator>igorgatis</dc:creator>
      <dc:date>2023-10-11T14:32:57Z</dc:date>
    </item>
    <item>
      <title>Re: How to improve Spark UI Job Description for pyspark?</title>
      <link>https://community.databricks.com/t5/data-engineering/how-to-improve-spark-ui-job-description-for-pyspark/m-p/49927#M28652</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/91285"&gt;@igorgatis&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;A polite reminder. Have you had a chance to review my colleague's reply? Please inform us if it contributes to resolving your query.&lt;/P&gt;</description>
      <pubDate>Thu, 26 Oct 2023 16:24:06 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/how-to-improve-spark-ui-job-description-for-pyspark/m-p/49927#M28652</guid>
      <dc:creator>jose_gonzalez</dc:creator>
      <dc:date>2023-10-26T16:24:06Z</dc:date>
    </item>
  </channel>
</rss>

