<?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 Impala UDF C++ : risks to deploy in a production environnement in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Impala-UDF-C-risks-to-deploy-in-a-production-environnement/m-p/62604#M72492</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We have multiples Impala C++ UDFs that we want to deploy on our production Cloudera cluster.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We have carefully rewieved the source code, in order to avoid memory leaks, segmentation fault and race conditions.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;However, if we have not seen something and a segmentation fault, memory leaks, or race conditions &lt;U&gt;still occurs&lt;/U&gt;, what could be the risks for the entire cluster ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If an error like that occurs, does the corresponding Impalad could crash ? If an Impalad crash owing to an UDF, restarting it will be enough to go back to good health ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What about the Impalad isolation ? Again if a segmentation fault, memory leaks or race conditions occurs, does other cloudera services instances can be affected ? (HDFS, Hive, ...)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Could you please quickly summarize the associated risks with buggy C++ UDF ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks !&lt;/P&gt;</description>
    <pubDate>Fri, 16 Sep 2022 12:37:15 GMT</pubDate>
    <dc:creator>Plop564</dc:creator>
    <dc:date>2022-09-16T12:37:15Z</dc:date>
    <item>
      <title>Impala UDF C++ : risks to deploy in a production environnement</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Impala-UDF-C-risks-to-deploy-in-a-production-environnement/m-p/62604#M72492</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We have multiples Impala C++ UDFs that we want to deploy on our production Cloudera cluster.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We have carefully rewieved the source code, in order to avoid memory leaks, segmentation fault and race conditions.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;However, if we have not seen something and a segmentation fault, memory leaks, or race conditions &lt;U&gt;still occurs&lt;/U&gt;, what could be the risks for the entire cluster ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If an error like that occurs, does the corresponding Impalad could crash ? If an Impalad crash owing to an UDF, restarting it will be enough to go back to good health ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What about the Impalad isolation ? Again if a segmentation fault, memory leaks or race conditions occurs, does other cloudera services instances can be affected ? (HDFS, Hive, ...)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Could you please quickly summarize the associated risks with buggy C++ UDF ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks !&lt;/P&gt;</description>
      <pubDate>Fri, 16 Sep 2022 12:37:15 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Impala-UDF-C-risks-to-deploy-in-a-production-environnement/m-p/62604#M72492</guid>
      <dc:creator>Plop564</dc:creator>
      <dc:date>2022-09-16T12:37:15Z</dc:date>
    </item>
    <item>
      <title>Re: Impala UDF C++ : risks to deploy in a production environnement</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Impala-UDF-C-risks-to-deploy-in-a-production-environnement/m-p/62622#M72493</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/24911"&gt;@Plop564&lt;/a&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;gt; If an error like that occurs, does the corresponding Impalad could crash ? If an Impalad crash owing to an UDF, restarting it will be enough to go back to good health ?&lt;/P&gt;&lt;P&gt;Yes and yes.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;gt;What about the Impalad isolation ? Again if a segmentation fault, memory leaks or race conditions occurs, does other cloudera services instances can be affected ? (HDFS, Hive, ...)&lt;/P&gt;&lt;P&gt;It won't affect services outside of Impala - the crash is isolated to the Impala process&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;gt; Could you please quickly summarize the associated risks with buggy C++ UDF ?&lt;/P&gt;&lt;P&gt;You already mentioned the possibilities of crashes, memory leaks and memory corruption. The other thing to keep in mind is that the UDF runs within the Impala process so essentially has the same permissions as the "impala" user. A malicious UDF could exploit this. This is why we recommend reviewing UDF code. It sounds like you're already following that best practice.&lt;/P&gt;</description>
      <pubDate>Fri, 08 Dec 2017 20:03:06 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Impala-UDF-C-risks-to-deploy-in-a-production-environnement/m-p/62622#M72493</guid>
      <dc:creator>Tim Armstrong</dc:creator>
      <dc:date>2017-12-08T20:03:06Z</dc:date>
    </item>
    <item>
      <title>Re: Impala UDF C++ : risks to deploy in a production environnement</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Impala-UDF-C-risks-to-deploy-in-a-production-environnement/m-p/62650#M72494</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/11593"&gt;@Tim Armstrong&lt;/a&gt;&lt;BR /&gt;&lt;BR /&gt;Thank you very much for the reply !&lt;/P&gt;</description>
      <pubDate>Sun, 10 Dec 2017 19:15:55 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Impala-UDF-C-risks-to-deploy-in-a-production-environnement/m-p/62650#M72494</guid>
      <dc:creator>Plop564</dc:creator>
      <dc:date>2017-12-10T19:15:55Z</dc:date>
    </item>
  </channel>
</rss>

