<?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: Set default &amp;quot;spark.driver.maxResultSize&amp;quot; from the notebook in Machine Learning</title>
    <link>https://community.databricks.com/t5/machine-learning/set-default-quot-spark-driver-maxresultsize-quot-from-the/m-p/27048#M1552</link>
    <description>&lt;P&gt;Hi @Kaniz Fatma​&amp;nbsp; thanks for your reply.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Not sure if that helps. When I check after execution of your code with &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;spark.conf.get("spark.driver.maxResultSize")&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;I still get the default "spark.dirver.maxResultSize", instead of 4096.&lt;/P&gt;</description>
    <pubDate>Fri, 25 Feb 2022 14:09:40 GMT</pubDate>
    <dc:creator>mhansinger</dc:creator>
    <dc:date>2022-02-25T14:09:40Z</dc:date>
    <item>
      <title>Set default "spark.driver.maxResultSize" from the notebook</title>
      <link>https://community.databricks.com/t5/machine-learning/set-default-quot-spark-driver-maxresultsize-quot-from-the/m-p/27046#M1550</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would like to set the default "spark.driver.maxResultSize" from the notebook on my cluster. I know I can do that in the cluster settings, but is there a way to set it by code?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I also know how to do it when I start a spark session, but in my case I directly load from the feature store and want to transform my pyspark data frame to pandas.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;from databricks import feature_store
import pandas as pd
import pyspark.sql.functions as f
from os.path import join
&amp;nbsp;
fs = feature_store.FeatureStoreClient()
&amp;nbsp;
prediction_data = fs.read_table(name=NAME)
&amp;nbsp;
prediction_data_pd = prediction_data.toPandas()&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 25 Feb 2022 12:07:47 GMT</pubDate>
      <guid>https://community.databricks.com/t5/machine-learning/set-default-quot-spark-driver-maxresultsize-quot-from-the/m-p/27046#M1550</guid>
      <dc:creator>mhansinger</dc:creator>
      <dc:date>2022-02-25T12:07:47Z</dc:date>
    </item>
    <item>
      <title>Re: Set default "spark.driver.maxResultSize" from the notebook</title>
      <link>https://community.databricks.com/t5/machine-learning/set-default-quot-spark-driver-maxresultsize-quot-from-the/m-p/27048#M1552</link>
      <description>&lt;P&gt;Hi @Kaniz Fatma​&amp;nbsp; thanks for your reply.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Not sure if that helps. When I check after execution of your code with &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;spark.conf.get("spark.driver.maxResultSize")&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;I still get the default "spark.dirver.maxResultSize", instead of 4096.&lt;/P&gt;</description>
      <pubDate>Fri, 25 Feb 2022 14:09:40 GMT</pubDate>
      <guid>https://community.databricks.com/t5/machine-learning/set-default-quot-spark-driver-maxresultsize-quot-from-the/m-p/27048#M1552</guid>
      <dc:creator>mhansinger</dc:creator>
      <dc:date>2022-02-25T14:09:40Z</dc:date>
    </item>
    <item>
      <title>Re: Set default "spark.driver.maxResultSize" from the notebook</title>
      <link>https://community.databricks.com/t5/machine-learning/set-default-quot-spark-driver-maxresultsize-quot-from-the/m-p/27050#M1554</link>
      <description>&lt;P&gt;@Maximilian Hansinger​&amp;nbsp; may be you can follow this - &lt;/P&gt;&lt;P&gt;&lt;A href="https://kb.databricks.com/jobs/job-fails-maxresultsize-exception.html" target="test_blank"&gt;https://kb.databricks.com/jobs/job-fails-maxresultsize-exception.html&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 03 Mar 2022 13:41:52 GMT</pubDate>
      <guid>https://community.databricks.com/t5/machine-learning/set-default-quot-spark-driver-maxresultsize-quot-from-the/m-p/27050#M1554</guid>
      <dc:creator>Atanu</dc:creator>
      <dc:date>2022-03-03T13:41:52Z</dc:date>
    </item>
    <item>
      <title>Re: Set default "spark.driver.maxResultSize" from the notebook</title>
      <link>https://community.databricks.com/t5/machine-learning/set-default-quot-spark-driver-maxresultsize-quot-from-the/m-p/27051#M1555</link>
      <description>&lt;P&gt;@Maximilian Hansinger​&amp;nbsp;- Would you let us know how it goes, please? &lt;/P&gt;</description>
      <pubDate>Tue, 08 Mar 2022 21:56:42 GMT</pubDate>
      <guid>https://community.databricks.com/t5/machine-learning/set-default-quot-spark-driver-maxresultsize-quot-from-the/m-p/27051#M1555</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-03-08T21:56:42Z</dc:date>
    </item>
    <item>
      <title>Re: Set default "spark.driver.maxResultSize" from the notebook</title>
      <link>https://community.databricks.com/t5/machine-learning/set-default-quot-spark-driver-maxresultsize-quot-from-the/m-p/27052#M1556</link>
      <description>&lt;P&gt;Hi @Maximilian Hansinger​&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Just wanted to check in if you were able to resolve your issue. If yes, would you be happy to mark the answer as best? If not, please tell us so we can help you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Thu, 28 Apr 2022 16:37:53 GMT</pubDate>
      <guid>https://community.databricks.com/t5/machine-learning/set-default-quot-spark-driver-maxresultsize-quot-from-the/m-p/27052#M1556</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-04-28T16:37:53Z</dc:date>
    </item>
  </channel>
</rss>

