<?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 Change Default Parallelism ? in Data Engineering</title>
    <link>https://community.databricks.com/t5/data-engineering/change-default-parallelism/m-p/75075#M34857</link>
    <description>&lt;P&gt;HI&lt;BR /&gt;I attempted to parallelize my Spark read process by setting the default parallelism using spark.conf.set("spark.default.parallelism", "X"). However, despite setting this configuration, when I checked sc.defaultParallelism in my notebook, it displayed 64. Interestingly, the job still consisting each stage having the default 200 tasks. How can I further increase this parallelism where is the value 200 taking from? The source is a python list of s3 files and json formatted.&lt;/P&gt;</description>
    <pubDate>Thu, 20 Jun 2024 01:59:13 GMT</pubDate>
    <dc:creator>dat_77</dc:creator>
    <dc:date>2024-06-20T01:59:13Z</dc:date>
    <item>
      <title>Change Default Parallelism ?</title>
      <link>https://community.databricks.com/t5/data-engineering/change-default-parallelism/m-p/75075#M34857</link>
      <description>&lt;P&gt;HI&lt;BR /&gt;I attempted to parallelize my Spark read process by setting the default parallelism using spark.conf.set("spark.default.parallelism", "X"). However, despite setting this configuration, when I checked sc.defaultParallelism in my notebook, it displayed 64. Interestingly, the job still consisting each stage having the default 200 tasks. How can I further increase this parallelism where is the value 200 taking from? The source is a python list of s3 files and json formatted.&lt;/P&gt;</description>
      <pubDate>Thu, 20 Jun 2024 01:59:13 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/change-default-parallelism/m-p/75075#M34857</guid>
      <dc:creator>dat_77</dc:creator>
      <dc:date>2024-06-20T01:59:13Z</dc:date>
    </item>
    <item>
      <title>Re: Change Default Parallelism ?</title>
      <link>https://community.databricks.com/t5/data-engineering/change-default-parallelism/m-p/75113#M34871</link>
      <description>&lt;P&gt;sc.defaultParallelism is based on the number of worker cores in the cluster. It can't be overridden. The reason you are seeing 200 tasks is because of spark.sql.shuffle.partitions (whose default value is 200). This determines the number of shuffle partitions when a shuffle is performed e.g. between stages. You can set it equal to sc.defaultParallelism if you want to increase parallelism in the shuffle tasks.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 20 Jun 2024 06:28:29 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/change-default-parallelism/m-p/75113#M34871</guid>
      <dc:creator>irfan_elahi</dc:creator>
      <dc:date>2024-06-20T06:28:29Z</dc:date>
    </item>
  </channel>
</rss>

