<?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: Impala Crashes on CPU with AVX-512 in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/Impala-Crashes-on-CPU-with-AVX-512/m-p/93899#M57427</link>
    <description>&lt;P&gt;Solved upgrading Impala to version 2.12&lt;/P&gt;</description>
    <pubDate>Fri, 09 Aug 2019 09:27:26 GMT</pubDate>
    <dc:creator>Alessio</dc:creator>
    <dc:date>2019-08-09T09:27:26Z</dc:date>
    <item>
      <title>Impala Crashes on CPU with AVX-512</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Impala-Crashes-on-CPU-with-AVX-512/m-p/90980#M12195</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I added some new nodes to our impala cluster.&lt;/P&gt;&lt;P&gt;On the new nodes, Impala continues to crash with the following error:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;F0521 12:34:46.838728  5699 llvm-codegen.cc:112] LLVM hit fatal error: Cannot select: 0x7f62888c84c0: ch = store&amp;lt;ST1[%loc.i]&amp;gt; 0x7f622ebc5850, 0x1068b980, 0x1068b850, undef:i64
  0x1068b980: i1,ch = load&amp;lt;LD1[%val_ptr.i.i27]&amp;gt; 0x7f626d3d1830, 0x7f622ebc54c0, undef:i64
    0x7f622ebc54c0: i64 = add 0x1068bd10, Constant:i64&amp;lt;8&amp;gt;
      0x1068bd10: i64,ch = CopyFromReg 0x7f626d3d1830, Register:i64 %vreg21
        0x7f622ebc5ab0: i64 = Register %vreg21
      0x7f62888c8d10: i64 = Constant&amp;lt;8&amp;gt;
    0x7f61b3668260: i64 = undef
  0x1068b850: i64,ch = CopyFromReg 0x7f626d3d1830, Register:i64 %vreg20
    0x7f62888c8850: i64 = Register %vreg20
  0x7f61b3668260: i64 = undef
In function: _ZN6impala26PartitionedAggregationNode12ProcessBatchILb0EEENS_6StatusEPNS_8RowBatchENS_13TPrefetchMode4typeEPNS_12HashTableCtxE.1&lt;/PRE&gt;&lt;P&gt;The issue seems to be related to an hardware incompatibility with CPUs that have AVX-512 instructions.&lt;/P&gt;&lt;P&gt;Indeed the problem is present only on the new machines and from impala logs I notices that impala uses avx-512 cpu flags for generating at runtime code to obtain&amp;nbsp;&lt;SPAN&gt;fully-optimized functions.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The problem is solved in the new version of impala&amp;nbsp;&lt;A href="https://issues.apache.org/jira/browse/IMPALA-6291" target="_self"&gt;IMPALA-6291&lt;/A&gt;&amp;nbsp;but at the moment we cannot upgrade the cluster.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Do you know if there is the possibility to modify the compiler options used by impala ?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Alessio&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 16 Sep 2022 14:24:56 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Impala-Crashes-on-CPU-with-AVX-512/m-p/90980#M12195</guid>
      <dc:creator>Alessio</dc:creator>
      <dc:date>2022-09-16T14:24:56Z</dc:date>
    </item>
    <item>
      <title>Re: Impala Crashes on CPU with AVX-512</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Impala-Crashes-on-CPU-with-AVX-512/m-p/93899#M57427</link>
      <description>&lt;P&gt;Solved upgrading Impala to version 2.12&lt;/P&gt;</description>
      <pubDate>Fri, 09 Aug 2019 09:27:26 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Impala-Crashes-on-CPU-with-AVX-512/m-p/93899#M57427</guid>
      <dc:creator>Alessio</dc:creator>
      <dc:date>2019-08-09T09:27:26Z</dc:date>
    </item>
  </channel>
</rss>

