<?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 enable spark.shuffle.compress in spark 3.3.0 or above versions? in Data Engineering</title>
    <link>https://community.databricks.com/t5/data-engineering/how-to-enable-spark-shuffle-compress-in-spark-3-3-0-or-above/m-p/4521#M1222</link>
    <description>&lt;P&gt;@Ankith Patlolla​&amp;nbsp;:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The reason you're getting the error "cannot modify the value of a spark config - spark.shuffle.compress" is because you're trying to modify a Spark configuration property that is marked as final and can't be changed after the Spark application has started.&lt;/P&gt;&lt;P&gt;In Databricks, the recommended way to set Spark configuration properties is through the spark.conf.set() method in a notebook or job. However, some Spark configuration properties, like spark.shuffle.compress, cannot be modified after Spark has started. If you need to set spark.shuffle.compress&lt;/P&gt;&lt;P&gt;in Databricks, you can set it in the Spark configuration of the cluster. Here's how you can do it:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Go to your Databricks workspace.&lt;/LI&gt;&lt;LI&gt;Click on the "Clusters" tab.&lt;/LI&gt;&lt;LI&gt;Select the cluster for which you want to set the spark.shuffle.compress property.&lt;/LI&gt;&lt;LI&gt;Click on the "Edit" button.&lt;/LI&gt;&lt;LI&gt;Scroll down to the "Spark" section and expand it.&lt;/LI&gt;&lt;LI&gt;Click on the "Advanced Options" tab.&lt;/LI&gt;&lt;LI&gt;In the "Spark Config" field, add the following line: spark.shuffle.compress true&lt;/LI&gt;&lt;LI&gt;Click on the "Save" button.&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;This will set the spark.shuffle.compress property for the selected cluster.&lt;/P&gt;</description>
    <pubDate>Sat, 13 May 2023 16:22:44 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2023-05-13T16:22:44Z</dc:date>
    <item>
      <title>How to enable spark.shuffle.compress in spark 3.3.0 or above versions?</title>
      <link>https://community.databricks.com/t5/data-engineering/how-to-enable-spark-shuffle-compress-in-spark-3-3-0-or-above/m-p/4520#M1221</link>
      <description>&lt;P&gt;when I try to set that I got a following error, appreciate your comments, thanks you in advance.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="image.png"&gt;&lt;img src="https://community.databricks.com/t5/image/serverpage/image-id/221iCCF16D2CDCC97767/image-size/large?v=v2&amp;amp;px=999" role="button" title="image.png" alt="image.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 11 May 2023 11:51:55 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/how-to-enable-spark-shuffle-compress-in-spark-3-3-0-or-above/m-p/4520#M1221</guid>
      <dc:creator>Ankith</dc:creator>
      <dc:date>2023-05-11T11:51:55Z</dc:date>
    </item>
    <item>
      <title>Re: How to enable spark.shuffle.compress in spark 3.3.0 or above versions?</title>
      <link>https://community.databricks.com/t5/data-engineering/how-to-enable-spark-shuffle-compress-in-spark-3-3-0-or-above/m-p/4521#M1222</link>
      <description>&lt;P&gt;@Ankith Patlolla​&amp;nbsp;:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The reason you're getting the error "cannot modify the value of a spark config - spark.shuffle.compress" is because you're trying to modify a Spark configuration property that is marked as final and can't be changed after the Spark application has started.&lt;/P&gt;&lt;P&gt;In Databricks, the recommended way to set Spark configuration properties is through the spark.conf.set() method in a notebook or job. However, some Spark configuration properties, like spark.shuffle.compress, cannot be modified after Spark has started. If you need to set spark.shuffle.compress&lt;/P&gt;&lt;P&gt;in Databricks, you can set it in the Spark configuration of the cluster. Here's how you can do it:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Go to your Databricks workspace.&lt;/LI&gt;&lt;LI&gt;Click on the "Clusters" tab.&lt;/LI&gt;&lt;LI&gt;Select the cluster for which you want to set the spark.shuffle.compress property.&lt;/LI&gt;&lt;LI&gt;Click on the "Edit" button.&lt;/LI&gt;&lt;LI&gt;Scroll down to the "Spark" section and expand it.&lt;/LI&gt;&lt;LI&gt;Click on the "Advanced Options" tab.&lt;/LI&gt;&lt;LI&gt;In the "Spark Config" field, add the following line: spark.shuffle.compress true&lt;/LI&gt;&lt;LI&gt;Click on the "Save" button.&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;This will set the spark.shuffle.compress property for the selected cluster.&lt;/P&gt;</description>
      <pubDate>Sat, 13 May 2023 16:22:44 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/how-to-enable-spark-shuffle-compress-in-spark-3-3-0-or-above/m-p/4521#M1222</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-05-13T16:22:44Z</dc:date>
    </item>
    <item>
      <title>Re: How to enable spark.shuffle.compress in spark 3.3.0 or above versions?</title>
      <link>https://community.databricks.com/t5/data-engineering/how-to-enable-spark-shuffle-compress-in-spark-3-3-0-or-above/m-p/4522#M1223</link>
      <description>&lt;P&gt;Hi @Ankith Patlolla​&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for posting your question in our community! We are happy to assist you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To help us provide you with the most accurate information, could you please take a moment to review the responses and select the one that best answers your question?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This will also help other community members who may have similar questions in the future. Thank you for your participation and let us know if you need any further assistance!&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 22 May 2023 06:57:16 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/how-to-enable-spark-shuffle-compress-in-spark-3-3-0-or-above/m-p/4522#M1223</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-05-22T06:57:16Z</dc:date>
    </item>
  </channel>
</rss>

