<?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 Re: Use SparkLauncher with Spark2 in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Use-SparkLauncher-with-Spark2/m-p/59893#M67953</link>
    <description>The only way I can think of would be to have the Spark2 gateway installed on a node that doesn't have the Spark1 gateway or any Spark1 roles. Then create a symlink of spark2-submit to spark-submit.</description>
    <pubDate>Thu, 14 Sep 2017 04:53:58 GMT</pubDate>
    <dc:creator>mbigelow</dc:creator>
    <dc:date>2017-09-14T04:53:58Z</dc:date>
    <item>
      <title>Use SparkLauncher with Spark2</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Use-SparkLauncher-with-Spark2/m-p/59862#M67952</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We're testing a programmatical way to launch spark jobs on a cluster.&lt;BR /&gt;We use the SparkLauncher class to do so. It needs the location of SPARK_HOME to work so we just point it to /opt/cloudera/parcels/SPARK2/ in order to use Spark 2.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Unfortunately the command used to launch the job is hard coded in SparkLauncher class to "spark-submit" and Cloudera distribution of Spark 2 only includes "spark2-xxx" scripts.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there any way to use SparkLauncher to launche Spark 2 jobs or another way to launch jobs programmatically?&lt;/P&gt;</description>
      <pubDate>Fri, 16 Sep 2022 12:14:13 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Use-SparkLauncher-with-Spark2/m-p/59862#M67952</guid>
      <dc:creator>comtefprobtp</dc:creator>
      <dc:date>2022-09-16T12:14:13Z</dc:date>
    </item>
    <item>
      <title>Re: Use SparkLauncher with Spark2</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Use-SparkLauncher-with-Spark2/m-p/59893#M67953</link>
      <description>The only way I can think of would be to have the Spark2 gateway installed on a node that doesn't have the Spark1 gateway or any Spark1 roles. Then create a symlink of spark2-submit to spark-submit.</description>
      <pubDate>Thu, 14 Sep 2017 04:53:58 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Use-SparkLauncher-with-Spark2/m-p/59893#M67953</guid>
      <dc:creator>mbigelow</dc:creator>
      <dc:date>2017-09-14T04:53:58Z</dc:date>
    </item>
    <item>
      <title>Re: Use SparkLauncher with Spark2</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Use-SparkLauncher-with-Spark2/m-p/61178#M67954</link>
      <description>&lt;P&gt;/opt/cloudera/parcels/SPARK2/ should not be used as SPARK_HOME.&lt;/P&gt;&lt;P&gt;The correct path to use is&amp;nbsp;/opt/cloudera/parcels/SPARK2/lib/spark2/&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We were just wrong about using spark2-xxxx scripts.&lt;/P&gt;</description>
      <pubDate>Mon, 23 Oct 2017 12:41:34 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Use-SparkLauncher-with-Spark2/m-p/61178#M67954</guid>
      <dc:creator>comtefprobtp</dc:creator>
      <dc:date>2017-10-23T12:41:34Z</dc:date>
    </item>
  </channel>
</rss>

