<?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 What is the reason behind Spark Functions extends Serializable.? in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/What-is-the-reason-behind-Spark-Functions-extends/m-p/30529#M6899</link>
    <description>&lt;P&gt;I want to get exact reason behind having functions serializable in Spark and want to know the if possible want to know the scenarios, where can be&amp;nbsp;issues because of Serialization,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;As far as my understanding goes, to ensure seam less no side-effect parallel processing, instead of sending the data liike imperative paradigm,&lt;/P&gt;&lt;P&gt;function will be sent to the node and data gets processed parallely.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is my above thought&amp;nbsp;Correct.??? As far as my study, Functional programming is a very good way forward for parallel processing/concurrent programming, so i thought this is the reason.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;As we are passing function, is it the security reason behind having functions serializable.?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks In advance.&lt;/P&gt;</description>
    <pubDate>Fri, 16 Sep 2022 09:37:06 GMT</pubDate>
    <dc:creator>Srini_D</dc:creator>
    <dc:date>2022-09-16T09:37:06Z</dc:date>
    <item>
      <title>What is the reason behind Spark Functions extends Serializable.?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/What-is-the-reason-behind-Spark-Functions-extends/m-p/30529#M6899</link>
      <description>&lt;P&gt;I want to get exact reason behind having functions serializable in Spark and want to know the if possible want to know the scenarios, where can be&amp;nbsp;issues because of Serialization,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;As far as my understanding goes, to ensure seam less no side-effect parallel processing, instead of sending the data liike imperative paradigm,&lt;/P&gt;&lt;P&gt;function will be sent to the node and data gets processed parallely.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is my above thought&amp;nbsp;Correct.??? As far as my study, Functional programming is a very good way forward for parallel processing/concurrent programming, so i thought this is the reason.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;As we are passing function, is it the security reason behind having functions serializable.?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks In advance.&lt;/P&gt;</description>
      <pubDate>Fri, 16 Sep 2022 09:37:06 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/What-is-the-reason-behind-Spark-Functions-extends/m-p/30529#M6899</guid>
      <dc:creator>Srini_D</dc:creator>
      <dc:date>2022-09-16T09:37:06Z</dc:date>
    </item>
    <item>
      <title>Re: What is the reason behind Spark Functions extends Serializable.?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/What-is-the-reason-behind-Spark-Functions-extends/m-p/30534#M6900</link>
      <description>&lt;P&gt;I don't think it has to do with functional programming per se, but yes, it's because the function/code being executed has to be sent from the driver to the executors, and so the function object itself must be serializable. It has no relation to security.&lt;/P&gt;</description>
      <pubDate>Thu, 06 Aug 2015 09:36:39 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/What-is-the-reason-behind-Spark-Functions-extends/m-p/30534#M6900</guid>
      <dc:creator>srowen</dc:creator>
      <dc:date>2015-08-06T09:36:39Z</dc:date>
    </item>
  </channel>
</rss>

