<?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 can I view and change the SparkConf settings if the SparkContext (sc) is already provided for me? in Data Engineering</title>
    <link>https://community.databricks.com/t5/data-engineering/how-can-i-view-and-change-the-sparkconf-settings-if-the/m-p/30586#M22195</link>
    <description>&lt;P&gt;&lt;/P&gt;
&lt;P&gt;How would we handle the config for elasticsearch? &lt;/P&gt;
&lt;P&gt;&lt;A href="https://www.elastic.co/guide/en/elasticsearch/hadoop/current/spark.html#spark-native-cfg" target="test_blank"&gt;https://www.elastic.co/guide/en/elasticsearch/hadoop/current/spark.html#spark-native-cfg&lt;/A&gt;&lt;/P&gt; 
&lt;P&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 15 Jun 2016 18:19:37 GMT</pubDate>
    <dc:creator>JonathanSpooner</dc:creator>
    <dc:date>2016-06-15T18:19:37Z</dc:date>
    <item>
      <title>How can I view and change the SparkConf settings if the SparkContext (sc) is already provided for me?</title>
      <link>https://community.databricks.com/t5/data-engineering/how-can-i-view-and-change-the-sparkconf-settings-if-the/m-p/30584#M22193</link>
      <description />
      <pubDate>Sun, 03 May 2015 19:28:53 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/how-can-i-view-and-change-the-sparkconf-settings-if-the/m-p/30584#M22193</guid>
      <dc:creator>cfregly</dc:creator>
      <dc:date>2015-05-03T19:28:53Z</dc:date>
    </item>
    <item>
      <title>Re: How can I view and change the SparkConf settings if the SparkContext (sc) is already provided for me?</title>
      <link>https://community.databricks.com/t5/data-engineering/how-can-i-view-and-change-the-sparkconf-settings-if-the/m-p/30585#M22194</link>
      <description>&lt;P&gt;&lt;/P&gt;&lt;P&gt;From the Clusters tab, select a cluster and view the Spark UI.&lt;/P&gt;&lt;P&gt;The Environment tab shows the current Spark configuration settings.&lt;/P&gt;&lt;P&gt;Here is an exhaustive list of the Spark Config params:  &lt;A href="https://spark.apache.org/docs/latest/configuration.html" target="_blank"&gt;https://spark.apache.org/docs/latest/configuration.html&lt;/A&gt; &lt;/P&gt;&lt;P&gt;The &lt;PRE&gt;&lt;CODE&gt;SparkContext&lt;/CODE&gt;&lt;/PRE&gt; is provided for you within the notebook UI, therefore you cannot change these values within your notebook code.  Once &lt;PRE&gt;&lt;CODE&gt;SparkConf&lt;/CODE&gt;&lt;/PRE&gt; is passed to the &lt;PRE&gt;&lt;CODE&gt;SparkContext&lt;/CODE&gt;&lt;/PRE&gt; constructor, the values are cloned and cannot be changed.  This is a Spark limitation.&lt;/P&gt;&lt;P&gt;One thing to note is that Databricks has already tuned Spark for the most common workloads running on the specific EC2 instance types used within Databricks Cloud. &lt;/P&gt;&lt;P&gt; In other words, you shouldn't have to changes these default values except in extreme cases.  To change these defaults, please contact Databricks Cloud support.&lt;/P&gt;&lt;P&gt;If you're working with the SqlContext or HiveContext, you can manually set configuration properties using HiveQL's &lt;PRE&gt;&lt;CODE&gt;SET key=value&lt;/CODE&gt;&lt;/PRE&gt; command with &lt;PRE&gt;&lt;CODE&gt;spark.sql.*&lt;/CODE&gt;&lt;/PRE&gt; properties from this list, for example:  &lt;A href="https://spark.apache.org/docs/latest/sql-programming-guide.html#configuration" target="_blank"&gt;https://spark.apache.org/docs/latest/sql-programming-guide.html#configuration&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;However, overriding these configuration values may cause problems for other users of the cluster.&lt;/P&gt;</description>
      <pubDate>Sun, 03 May 2015 19:35:13 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/how-can-i-view-and-change-the-sparkconf-settings-if-the/m-p/30585#M22194</guid>
      <dc:creator>cfregly</dc:creator>
      <dc:date>2015-05-03T19:35:13Z</dc:date>
    </item>
    <item>
      <title>Re: How can I view and change the SparkConf settings if the SparkContext (sc) is already provided for me?</title>
      <link>https://community.databricks.com/t5/data-engineering/how-can-i-view-and-change-the-sparkconf-settings-if-the/m-p/30586#M22195</link>
      <description>&lt;P&gt;&lt;/P&gt;
&lt;P&gt;How would we handle the config for elasticsearch? &lt;/P&gt;
&lt;P&gt;&lt;A href="https://www.elastic.co/guide/en/elasticsearch/hadoop/current/spark.html#spark-native-cfg" target="test_blank"&gt;https://www.elastic.co/guide/en/elasticsearch/hadoop/current/spark.html#spark-native-cfg&lt;/A&gt;&lt;/P&gt; 
&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 15 Jun 2016 18:19:37 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/how-can-i-view-and-change-the-sparkconf-settings-if-the/m-p/30586#M22195</guid>
      <dc:creator>JonathanSpooner</dc:creator>
      <dc:date>2016-06-15T18:19:37Z</dc:date>
    </item>
    <item>
      <title>Re: How can I view and change the SparkConf settings if the SparkContext (sc) is already provided for me?</title>
      <link>https://community.databricks.com/t5/data-engineering/how-can-i-view-and-change-the-sparkconf-settings-if-the/m-p/30587#M22196</link>
      <description>&lt;P&gt;&lt;/P&gt;
&lt;P&gt;hi, may I know how did you handle the config for elasticsearch? I also have to stream data to elasticsearch.&lt;/P&gt; 
&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 02 Mar 2017 16:21:16 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/how-can-i-view-and-change-the-sparkconf-settings-if-the/m-p/30587#M22196</guid>
      <dc:creator>Shanmugavel</dc:creator>
      <dc:date>2017-03-02T16:21:16Z</dc:date>
    </item>
    <item>
      <title>Re: How can I view and change the SparkConf settings if the SparkContext (sc) is already provided for me?</title>
      <link>https://community.databricks.com/t5/data-engineering/how-can-i-view-and-change-the-sparkconf-settings-if-the/m-p/30588#M22197</link>
      <description>&lt;P&gt;&lt;/P&gt;
&lt;P&gt;There is a 'spark' tab in the cluster creation page, you can add the configs there before starting the cluster.&lt;/P&gt; 
&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 04 Mar 2017 15:29:45 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/how-can-i-view-and-change-the-sparkconf-settings-if-the/m-p/30588#M22197</guid>
      <dc:creator>User16789201666</dc:creator>
      <dc:date>2017-03-04T15:29:45Z</dc:date>
    </item>
    <item>
      <title>Re: How can I view and change the SparkConf settings if the SparkContext (sc) is already provided for me?</title>
      <link>https://community.databricks.com/t5/data-engineering/how-can-i-view-and-change-the-sparkconf-settings-if-the/m-p/30589#M22198</link>
      <description>&lt;P&gt;&lt;/P&gt;
&lt;P&gt;This is an old post, however, is this still accurate for the latest version of Databricks in 2019? If so, how to approach the following?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;1. Connect to many MongoDBs.&lt;P&gt;&lt;/P&gt;2. Connect to MongoDB when connection string information is dynamic (i.e. stored in spark table). 
&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 14 Jan 2019 01:32:03 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/how-can-i-view-and-change-the-sparkconf-settings-if-the/m-p/30589#M22198</guid>
      <dc:creator>MatthewValenti</dc:creator>
      <dc:date>2019-01-14T01:32:03Z</dc:date>
    </item>
  </channel>
</rss>

