<?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 query causes Impala to crash in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/query-causes-Impala-to-crash/m-p/40050#M25903</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;impalad version 2.3.0-cdh5.5.1 RELEASE (build 73bf5bc5afbb47aa7eab06cfbf6023ba8cb74f3c)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;this query causes the whole Impala cluster (all impalad daemons) to crash due to an unhandled exception:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;select month(cast((`timestamp`) as timestamp)), count(*) FROM cl_qar c group by 1;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;immediate output of the query is:&lt;/P&gt;&lt;P&gt;Socket error 104: Connection reset by peer&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;contents of the error log: terminate called after throwing an instance of 'boost::exception_detail::clone_impl &amp;gt;' what(): Year is out of valid range: 1400..10000&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;table description is as follows:&lt;/P&gt;&lt;P&gt;ident | string | Inferred from Parquet file&lt;/P&gt;&lt;P&gt;timestamp | bigint | Inferred from Parquet file&lt;/P&gt;&lt;P&gt;cycle_id | bigint | Inferred from Parquet&lt;BR /&gt;file_value | string | Inferred from Parquet file&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;interesting is that when the aggregation is removed then the query does not cause any trouble&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;the query is never caught by the HistoryServer or Impala Queries in CDM due to the crash&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;best regards&lt;/P&gt;&lt;P&gt;jaro&lt;/P&gt;</description>
    <pubDate>Fri, 16 Sep 2022 10:15:20 GMT</pubDate>
    <dc:creator>jarourbtb</dc:creator>
    <dc:date>2022-09-16T10:15:20Z</dc:date>
    <item>
      <title>query causes Impala to crash</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/query-causes-Impala-to-crash/m-p/40050#M25903</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;impalad version 2.3.0-cdh5.5.1 RELEASE (build 73bf5bc5afbb47aa7eab06cfbf6023ba8cb74f3c)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;this query causes the whole Impala cluster (all impalad daemons) to crash due to an unhandled exception:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;select month(cast((`timestamp`) as timestamp)), count(*) FROM cl_qar c group by 1;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;immediate output of the query is:&lt;/P&gt;&lt;P&gt;Socket error 104: Connection reset by peer&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;contents of the error log: terminate called after throwing an instance of 'boost::exception_detail::clone_impl &amp;gt;' what(): Year is out of valid range: 1400..10000&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;table description is as follows:&lt;/P&gt;&lt;P&gt;ident | string | Inferred from Parquet file&lt;/P&gt;&lt;P&gt;timestamp | bigint | Inferred from Parquet file&lt;/P&gt;&lt;P&gt;cycle_id | bigint | Inferred from Parquet&lt;BR /&gt;file_value | string | Inferred from Parquet file&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;interesting is that when the aggregation is removed then the query does not cause any trouble&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;the query is never caught by the HistoryServer or Impala Queries in CDM due to the crash&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;best regards&lt;/P&gt;&lt;P&gt;jaro&lt;/P&gt;</description>
      <pubDate>Fri, 16 Sep 2022 10:15:20 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/query-causes-Impala-to-crash/m-p/40050#M25903</guid>
      <dc:creator>jarourbtb</dc:creator>
      <dc:date>2022-09-16T10:15:20Z</dc:date>
    </item>
    <item>
      <title>Re: query causes Impala to crash</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/query-causes-Impala-to-crash/m-p/40057#M25904</link>
      <description>Hi Jaro,&lt;BR /&gt;&lt;BR /&gt;it looks like you could be hitting&lt;BR /&gt;&lt;A href="https://issues.cloudera.org/browse/IMPALA-2868" target="_blank"&gt;https://issues.cloudera.org/browse/IMPALA-2868&lt;/A&gt; which was fixed in Impala&lt;BR /&gt;2.5.0. Can you try to disable codegen before running the query and see if&lt;BR /&gt;that makes the problem disappear? You can do so by running this command in&lt;BR /&gt;a shell before your query: set disable_codegen=1; After that codegen will&lt;BR /&gt;be disabled for all queries in that shell only.&lt;BR /&gt;&lt;BR /&gt;Best wishes, Lars&lt;BR /&gt;</description>
      <pubDate>Fri, 22 Apr 2016 15:44:16 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/query-causes-Impala-to-crash/m-p/40057#M25904</guid>
      <dc:creator>Lars Volker</dc:creator>
      <dc:date>2016-04-22T15:44:16Z</dc:date>
    </item>
    <item>
      <title>Re: query causes Impala to crash</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/query-causes-Impala-to-crash/m-p/40060#M25905</link>
      <description>&lt;P&gt;This looks like the canonical JIRA for the problem:&amp;nbsp;&lt;A href="https://issues.cloudera.org/browse/IMPALA-2184" target="_blank"&gt;https://issues.cloudera.org/browse/IMPALA-2184&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;If you can't upgrade a major version, the JIRA says the fix is also being backported to&amp;nbsp;Impala 2.3.4 (CDH 5.5.4), so if you upgrade to&amp;nbsp;2.3.4 when that is released, you will get the fix.&lt;/P&gt;</description>
      <pubDate>Fri, 22 Apr 2016 16:16:54 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/query-causes-Impala-to-crash/m-p/40060#M25905</guid>
      <dc:creator>Tim Armstrong</dc:creator>
      <dc:date>2016-04-22T16:16:54Z</dc:date>
    </item>
    <item>
      <title>Re: query causes Impala to crash</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/query-causes-Impala-to-crash/m-p/40121#M25906</link>
      <description>&lt;P&gt;Thank you very much, Tim and Ivan.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have tested on customer system and with&lt;/P&gt;&lt;P&gt;"&lt;STRONG&gt;set disable_codegen=1;&lt;/STRONG&gt;"&lt;/P&gt;&lt;P&gt;the query does NOT crash the whole impala cluster anymore.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I will inform the customer and provide&amp;nbsp; him with a link to this discussion&lt;/P&gt;</description>
      <pubDate>Mon, 25 Apr 2016 13:51:11 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/query-causes-Impala-to-crash/m-p/40121#M25906</guid>
      <dc:creator>jarourbtb</dc:creator>
      <dc:date>2016-04-25T13:51:11Z</dc:date>
    </item>
  </channel>
</rss>

