<?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: disable core dumps. spark\yarn in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/disable-core-dumps-spark-yarn/m-p/310160#M224046</link>
    <description>&lt;P&gt;we are using ambari, but it is not what i wanted.&lt;BR /&gt;our hosts are ubuntu 18.04.&lt;BR /&gt;i tried the following:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;set ulimit -c 0,&lt;/LI&gt;&lt;LI&gt;set disable core dump via code for our application:&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;#include &amp;lt;sys/types.h&amp;gt;
#include &amp;lt;sys/time.h&amp;gt;
#include &amp;lt;sys/resource.h&amp;gt;
   
void spc_limit_core(void) {
  struct rlimit rlim;
   
  rlim.rlim_cur = rlim.rlim_max = 0;
  setrlimit(RLIMIT_CORE, &amp;amp;rlim);
}​&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;but when there is an error,( out of memory) an assert is generated and then a coredump,&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;&lt;/LI&gt;&lt;/UL&gt;</description>
    <pubDate>Thu, 21 Jan 2021 08:46:02 GMT</pubDate>
    <dc:creator>ilia987</dc:creator>
    <dc:date>2021-01-21T08:46:02Z</dc:date>
  </channel>
</rss>

