<?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: --deploy-mode option for CDSW in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/deploy-mode-option-for-CDSW/m-p/66233#M77055</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The documentation has an image explaining this:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.cloudera.com/documentation/data-science-workbench/latest/topics/cdsw_dist_comp_with_Spark.html" target="_blank"&gt;https://www.cloudera.com/documentation/data-science-workbench/latest/topics/cdsw_dist_comp_with_Spark.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The answer is yes, if you start a Python 2 session and you create a SparkSession object there you will run the Spark application in client mode and the Spark driver will be inside the CDSW session (docker container).&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is the primary use-case for CDSW.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Peter&lt;/P&gt;</description>
    <pubDate>Wed, 11 Apr 2018 08:33:52 GMT</pubDate>
    <dc:creator>peter_ableda</dc:creator>
    <dc:date>2018-04-11T08:33:52Z</dc:date>
    <item>
      <title>--deploy-mode option for CDSW</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/deploy-mode-option-for-CDSW/m-p/66214#M77054</link>
      <description>&lt;P&gt;Is there a recommendation of what &lt;EM&gt;--deploy-mode&lt;/EM&gt; (in &lt;EM&gt;spark-submit&lt;/EM&gt;) option should we use from CDSW engines? If we use &lt;EM&gt;--deploy-mode&amp;nbsp;client&lt;/EM&gt;, does that mean the driver program runs in the CDSW engine?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks !&lt;/P&gt;</description>
      <pubDate>Tue, 21 Apr 2026 13:27:51 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/deploy-mode-option-for-CDSW/m-p/66214#M77054</guid>
      <dc:creator>balacs</dc:creator>
      <dc:date>2026-04-21T13:27:51Z</dc:date>
    </item>
    <item>
      <title>Re: --deploy-mode option for CDSW</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/deploy-mode-option-for-CDSW/m-p/66233#M77055</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The documentation has an image explaining this:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.cloudera.com/documentation/data-science-workbench/latest/topics/cdsw_dist_comp_with_Spark.html" target="_blank"&gt;https://www.cloudera.com/documentation/data-science-workbench/latest/topics/cdsw_dist_comp_with_Spark.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The answer is yes, if you start a Python 2 session and you create a SparkSession object there you will run the Spark application in client mode and the Spark driver will be inside the CDSW session (docker container).&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is the primary use-case for CDSW.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Peter&lt;/P&gt;</description>
      <pubDate>Wed, 11 Apr 2018 08:33:52 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/deploy-mode-option-for-CDSW/m-p/66233#M77055</guid>
      <dc:creator>peter_ableda</dc:creator>
      <dc:date>2018-04-11T08:33:52Z</dc:date>
    </item>
  </channel>
</rss>

