<?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>question Multiple spark history servers - how to control address in clients' spark-defaults.conf ? in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/Multiple-spark-history-servers-how-to-control-address-in/m-p/237025#M198838</link>
    <description>&lt;P&gt;Hi experts&lt;/P&gt;&lt;P&gt;The scenario is this:&lt;BR /&gt;Cluster with one Spark History Server on host Y.&lt;BR /&gt;Using curl I added another Spark History Server to a host X.&lt;BR /&gt;I also created a different config group for the new SHS, with it's own specific spark.yarn.history.address with host X&lt;BR /&gt;The goal is that all clients will write their logs to the default SHS on host Y and whoever needs the new SHS will have to set it manually in his spark app arguments.&lt;BR /&gt;&lt;BR /&gt;Problem is, after adding the new SHS and performing "refresh configs" for spark-clients all of them are getting the new SHS address in their /etc/spark2/conf/spark-defaults.conf (spark.yarn.historyServer.address = &lt;STRONG&gt;X&lt;/STRONG&gt;:18081)&lt;/P&gt;&lt;P&gt;Where do i set which spark.yarn.historyServer.address the clients will be using ?&lt;/P&gt;&lt;P&gt;Thx&lt;/P&gt;&lt;P&gt;Adi&lt;/P&gt;</description>
    <pubDate>Thu, 28 Mar 2019 21:01:57 GMT</pubDate>
    <dc:creator>ajabkowsky</dc:creator>
    <dc:date>2019-03-28T21:01:57Z</dc:date>
    <item>
      <title>Multiple spark history servers - how to control address in clients' spark-defaults.conf ?</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Multiple-spark-history-servers-how-to-control-address-in/m-p/237025#M198838</link>
      <description>&lt;P&gt;Hi experts&lt;/P&gt;&lt;P&gt;The scenario is this:&lt;BR /&gt;Cluster with one Spark History Server on host Y.&lt;BR /&gt;Using curl I added another Spark History Server to a host X.&lt;BR /&gt;I also created a different config group for the new SHS, with it's own specific spark.yarn.history.address with host X&lt;BR /&gt;The goal is that all clients will write their logs to the default SHS on host Y and whoever needs the new SHS will have to set it manually in his spark app arguments.&lt;BR /&gt;&lt;BR /&gt;Problem is, after adding the new SHS and performing "refresh configs" for spark-clients all of them are getting the new SHS address in their /etc/spark2/conf/spark-defaults.conf (spark.yarn.historyServer.address = &lt;STRONG&gt;X&lt;/STRONG&gt;:18081)&lt;/P&gt;&lt;P&gt;Where do i set which spark.yarn.historyServer.address the clients will be using ?&lt;/P&gt;&lt;P&gt;Thx&lt;/P&gt;&lt;P&gt;Adi&lt;/P&gt;</description>
      <pubDate>Thu, 28 Mar 2019 21:01:57 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Multiple-spark-history-servers-how-to-control-address-in/m-p/237025#M198838</guid>
      <dc:creator>ajabkowsky</dc:creator>
      <dc:date>2019-03-28T21:01:57Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple spark history servers - how to control address in clients' spark-defaults.conf ?</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Multiple-spark-history-servers-how-to-control-address-in/m-p/237026#M198839</link>
      <description>&lt;P&gt;Issue resolved.&lt;BR /&gt;In case anyone needs to add another spark history server, so in order to control clients' config regarding spark history server address:&lt;BR /&gt;In Ambari &amp;gt;&amp;gt;&amp;gt; spark &amp;gt;&amp;gt;&amp;gt; config &amp;gt;&amp;gt;&amp;gt; spark.yarn.history.addr&lt;BR /&gt;Replace the variables {&lt;!-- --&gt;{spark_history_server_host}}:{&lt;!-- --&gt;{spark_history_ui_port}} with hardcoded server address and port for each config group.&lt;BR /&gt;Do NOT use the variables.&lt;/P&gt;</description>
      <pubDate>Wed, 03 Apr 2019 19:11:35 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Multiple-spark-history-servers-how-to-control-address-in/m-p/237026#M198839</guid>
      <dc:creator>ajabkowsky</dc:creator>
      <dc:date>2019-04-03T19:11:35Z</dc:date>
    </item>
  </channel>
</rss>

