<?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 Increase cores for Spark History Server in Get Started Discussions</title>
    <link>https://community.databricks.com/t5/get-started-discussions/increase-cores-for-spark-history-server/m-p/43848#M5786</link>
    <description>&lt;P&gt;By default SHS uses spark.history.fs.numReplayThreads = 25% of avaliable cores (&lt;SPAN&gt;Number of threads that will be used by history server to process event logs&lt;/SPAN&gt;)&lt;/P&gt;&lt;P&gt;How can we increase the number of cores for Spark History Server ?&lt;/P&gt;</description>
    <pubDate>Wed, 06 Sep 2023 16:34:03 GMT</pubDate>
    <dc:creator>VMeghraj</dc:creator>
    <dc:date>2023-09-06T16:34:03Z</dc:date>
    <item>
      <title>Increase cores for Spark History Server</title>
      <link>https://community.databricks.com/t5/get-started-discussions/increase-cores-for-spark-history-server/m-p/43848#M5786</link>
      <description>&lt;P&gt;By default SHS uses spark.history.fs.numReplayThreads = 25% of avaliable cores (&lt;SPAN&gt;Number of threads that will be used by history server to process event logs&lt;/SPAN&gt;)&lt;/P&gt;&lt;P&gt;How can we increase the number of cores for Spark History Server ?&lt;/P&gt;</description>
      <pubDate>Wed, 06 Sep 2023 16:34:03 GMT</pubDate>
      <guid>https://community.databricks.com/t5/get-started-discussions/increase-cores-for-spark-history-server/m-p/43848#M5786</guid>
      <dc:creator>VMeghraj</dc:creator>
      <dc:date>2023-09-06T16:34:03Z</dc:date>
    </item>
    <item>
      <title>Re: Increase cores for Spark History Server</title>
      <link>https://community.databricks.com/t5/get-started-discussions/increase-cores-for-spark-history-server/m-p/44008#M5788</link>
      <description>&lt;P&gt;Setting the value in % will throw an error (&lt;SPAN&gt;spark.history.fs.numReplayThreads=&lt;STRONG&gt;50%&lt;/STRONG&gt;)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;We need to provide &lt;STRONG&gt;int&lt;/STRONG&gt; as an value&amp;nbsp;spark.history.fs.numReplayThreads=&lt;STRONG&gt;25&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Stack Trace :&lt;/P&gt;&lt;P&gt;Exception in thread "main" java.lang.reflect.InvocationTargetException&lt;BR /&gt;at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)&lt;BR /&gt;at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)&lt;BR /&gt;at java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)&lt;BR /&gt;at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:490)&lt;BR /&gt;at org.apache.spark.deploy.history.HistoryServer$.main(HistoryServer.scala:337)&lt;BR /&gt;at org.apache.spark.deploy.history.HistoryServer.main(HistoryServer.scala)&lt;BR /&gt;Caused by: java.lang.IllegalArgumentException: spark.history.fs.numReplayThreads should be int, but was 50%&lt;BR /&gt;at org.apache.spark.internal.config.ConfigHelpers$.toNumber(ConfigBuilder.scala:35)&lt;BR /&gt;at org.apache.spark.internal.config.ConfigBuilder.$anonfun$intConf$1(ConfigBuilder.scala:232)&lt;BR /&gt;at org.apache.spark.internal.config.ConfigBuilder.$anonfun$intConf$1$adapted(ConfigBuilder.scala:232)&lt;BR /&gt;at scala.Option.map(Option.scala:230)&lt;BR /&gt;at org.apache.spark.internal.config.ConfigEntryWithDefaultFunction.readFrom(ConfigEntry.scala:173)&lt;BR /&gt;at org.apache.spark.SparkConf.get(SparkConf.scala:261)&lt;BR /&gt;at org.apache.spark.deploy.history.FsHistoryProvider.&amp;lt;init&amp;gt;(FsHistoryProvider.scala:105)&lt;BR /&gt;at org.apache.spark.deploy.history.FsHistoryProvider.&amp;lt;init&amp;gt;(FsHistoryProvider.scala:90)&lt;/P&gt;</description>
      <pubDate>Thu, 07 Sep 2023 15:15:55 GMT</pubDate>
      <guid>https://community.databricks.com/t5/get-started-discussions/increase-cores-for-spark-history-server/m-p/44008#M5788</guid>
      <dc:creator>VMeghraj</dc:creator>
      <dc:date>2023-09-07T15:15:55Z</dc:date>
    </item>
  </channel>
</rss>

