<?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: ExecQueryFInstances rpc query_id=e74ef8d9b9215369:4994cbde00000000 failed in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/ExecQueryFInstances-rpc-query-id-e74ef8d9b9215369/m-p/269365#M206785</link>
    <description>&lt;P&gt;While I would normally assume this is true, the error is occurring on queries that were previously successful and completing without errors.&amp;nbsp; Something has changed the memory consumption behavior and the error message received hasn't been particularly helpful for troubleshooting.&amp;nbsp; I will continue the investigation.&lt;/P&gt;</description>
    <pubDate>Thu, 29 Aug 2019 16:36:01 GMT</pubDate>
    <dc:creator>Zane-</dc:creator>
    <dc:date>2019-08-29T16:36:01Z</dc:date>
    <item>
      <title>ExecQueryFInstances rpc query_id=e74ef8d9b9215369:4994cbde00000000 failed</title>
      <link>https://community.cloudera.com/t5/Support-Questions/ExecQueryFInstances-rpc-query-id-e74ef8d9b9215369/m-p/93809#M57379</link>
      <description>&lt;P&gt;We have an end-user who runs queries usually with Impala/HUE.&amp;nbsp; He is receiving this error, which I assume will require some changes in tuning parameters.&amp;nbsp; But where do we start to investigate here?&amp;nbsp; The error message is:&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;ExecQueryFInstances rpc query_id=e74ef8d9b9215369:&lt;/SPAN&gt;&lt;SPAN&gt;4994cbde00000000 failed: Failed to get minimum memory reservation of 68.00 MB on daemon&amp;nbsp;&lt;/SPAN&gt;&lt;A href="http://chia1.haas.berkeley.edu:22000/" target="_blank" rel="noopener"&gt;chia1.haas.berkeley.edu:22000&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp;for query e74ef8d9b9215369:&lt;/SPAN&gt;&lt;SPAN&gt;4994cbde00000000 because it would exceed an applicable memory limit. Memory is likely oversubscribed. Reducing query concurrency or configuring admission control may help avoid this error. Memory usage: Process: Limit=97.35 GB Total=80.62 GB Peak=85.72 GB Buffer Pool: Free Buffers: Total=0 Buffer Pool: Clean Pages: Total=4.24 GB Buffer Pool: Unused Reservation: Total=-4.24 GB Free Disk IO Buffers: Total=1.41 GB Peak=1.99 GB RequestPool=root.hue: Total=78.60 GB Peak=82.56 GB Query(2f4b5cff11212907:&lt;/SPAN&gt;&lt;SPAN&gt;886aa1400000000): Reservation=77.88 GB ReservationLimit=77.88 GB OtherMemory=731.77 MB Total=78.60 GB Peak=78.92 GB Query(e74ef8d9b9215369:&lt;/SPAN&gt;&lt;SPAN&gt;4994cbde00000000): Reservation=0 ReservationLimit=77.88 GB OtherMemory=0 Total=0 Peak=0 RequestPool=root.mdevaan: Total=0 Peak=18.23 GB RequestPool=root.bergquist: Total=0 Peak=84.21 GB RequestPool=root.saqib: Total=0 Peak=8.93 GB Untracked Memory: Total=631.52 MB&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Thanks!&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 21 Apr 2026 11:37:02 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/ExecQueryFInstances-rpc-query-id-e74ef8d9b9215369/m-p/93809#M57379</guid>
      <dc:creator>Zane-</dc:creator>
      <dc:date>2026-04-21T11:37:02Z</dc:date>
    </item>
    <item>
      <title>Re: ExecQueryFInstances rpc query_id=e74ef8d9b9215369:4994cbde00000000 failed</title>
      <link>https://community.cloudera.com/t5/Support-Questions/ExecQueryFInstances-rpc-query-id-e74ef8d9b9215369/m-p/93833#M57389</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/35628"&gt;@Zane-&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is an OOM (Out If Memory) error, it simply means that this query needs more memory to be completed; it usually occurs when the cluster is in charge. The request has exceeded the existing memory.&lt;BR /&gt;&amp;nbsp; The solution is to add more memory to your nodes or to add more nodes. Otherwise, try to optimize your queries, and you can make sure that your impala setting is optimal too.&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.cloudera.com/documentation/enterprise/latest/topics/impala_performance.html" target="_blank" rel="noopener"&gt;https://www.cloudera.com/documentation/enterprise/latest/topics/impala_performance.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Good Luck.&lt;/P&gt;</description>
      <pubDate>Thu, 08 Aug 2019 07:12:55 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/ExecQueryFInstances-rpc-query-id-e74ef8d9b9215369/m-p/93833#M57389</guid>
      <dc:creator>AcharkiMed</dc:creator>
      <dc:date>2019-08-08T07:12:55Z</dc:date>
    </item>
    <item>
      <title>Re: ExecQueryFInstances rpc query_id=e74ef8d9b9215369:4994cbde00000000 failed</title>
      <link>https://community.cloudera.com/t5/Support-Questions/ExecQueryFInstances-rpc-query-id-e74ef8d9b9215369/m-p/93888#M57416</link>
      <description>Hi Zane,&lt;BR /&gt;&lt;BR /&gt;Please share the failed query PROFILE as attachment to the thread if possible.&lt;BR /&gt;&lt;BR /&gt;Also, what's the default MEMORY_LIMIT for Impala? Have you tried to increase this limit to see if it can help with the query?&lt;BR /&gt;&lt;BR /&gt;SET MEMORY_LIMIT=20g;&lt;BR /&gt;&lt;BR /&gt;Of course the value will depend on how much memory you have on your impala daemon host.&lt;BR /&gt;&lt;BR /&gt;Cheers&lt;BR /&gt;Eric</description>
      <pubDate>Fri, 09 Aug 2019 08:36:12 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/ExecQueryFInstances-rpc-query-id-e74ef8d9b9215369/m-p/93888#M57416</guid>
      <dc:creator>EricL</dc:creator>
      <dc:date>2019-08-09T08:36:12Z</dc:date>
    </item>
    <item>
      <title>Re: ExecQueryFInstances rpc query_id=e74ef8d9b9215369:4994cbde00000000 failed</title>
      <link>https://community.cloudera.com/t5/Support-Questions/ExecQueryFInstances-rpc-query-id-e74ef8d9b9215369/m-p/269365#M206785</link>
      <description>&lt;P&gt;While I would normally assume this is true, the error is occurring on queries that were previously successful and completing without errors.&amp;nbsp; Something has changed the memory consumption behavior and the error message received hasn't been particularly helpful for troubleshooting.&amp;nbsp; I will continue the investigation.&lt;/P&gt;</description>
      <pubDate>Thu, 29 Aug 2019 16:36:01 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/ExecQueryFInstances-rpc-query-id-e74ef8d9b9215369/m-p/269365#M206785</guid>
      <dc:creator>Zane-</dc:creator>
      <dc:date>2019-08-29T16:36:01Z</dc:date>
    </item>
    <item>
      <title>Re: ExecQueryFInstances rpc query_id=e74ef8d9b9215369:4994cbde00000000 failed</title>
      <link>https://community.cloudera.com/t5/Support-Questions/ExecQueryFInstances-rpc-query-id-e74ef8d9b9215369/m-p/269383#M206790</link>
      <description>&lt;P&gt;I increased the MEMORY_LIMIT to 96GB (up from ~79GB), and I cannot increase it any further without over-allocating memory overall.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The latest query errors have been similar to this one, whose profile I have attached.&lt;/P&gt;</description>
      <pubDate>Thu, 29 Aug 2019 19:02:40 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/ExecQueryFInstances-rpc-query-id-e74ef8d9b9215369/m-p/269383#M206790</guid>
      <dc:creator>Zane-</dc:creator>
      <dc:date>2019-08-29T19:02:40Z</dc:date>
    </item>
    <item>
      <title>Re: ExecQueryFInstances rpc query_id=e74ef8d9b9215369:4994cbde00000000 failed</title>
      <link>https://community.cloudera.com/t5/Support-Questions/ExecQueryFInstances-rpc-query-id-e74ef8d9b9215369/m-p/269385#M206792</link>
      <description>&lt;P&gt;Here is another query profile, which the error condition just occurred for the end-user, attached.&lt;/P&gt;</description>
      <pubDate>Thu, 29 Aug 2019 19:48:13 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/ExecQueryFInstances-rpc-query-id-e74ef8d9b9215369/m-p/269385#M206792</guid>
      <dc:creator>Zane-</dc:creator>
      <dc:date>2019-08-29T19:48:13Z</dc:date>
    </item>
    <item>
      <title>Re: ExecQueryFInstances rpc query_id=e74ef8d9b9215369:4994cbde00000000 failed</title>
      <link>https://community.cloudera.com/t5/Support-Questions/ExecQueryFInstances-rpc-query-id-e74ef8d9b9215369/m-p/269400#M206803</link>
      <description>&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/43635"&gt;@Zane&lt;/a&gt;,&lt;BR /&gt;&lt;BR /&gt;The issues I can see from this profile as below:&lt;BR /&gt;&lt;BR /&gt;1. The query got closed due to client inactivity:&lt;BR /&gt;Query f64da6a899944136:22dcac6800000000 expired due to client inactivity (timeout is 10m)&lt;BR /&gt;&lt;BR /&gt;Not because of OOM&lt;BR /&gt;&lt;BR /&gt;2. you do not have table stats, which can cause impala to use bad query plan:&lt;BR /&gt;&lt;BR /&gt;WARNING: The following tables are missing relevant table and/or column statistics.&lt;BR /&gt;external_data.physician_compare&lt;BR /&gt;&lt;BR /&gt;This is evident that in the SUMMARY section, the estimated rows are -1:&lt;BR /&gt;&lt;BR /&gt;Operator #Hosts Avg Time Max Time #Rows Est. #Rows Peak Mem Est. Peak Mem Detail&lt;BR /&gt;--------------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;01:EXCHANGE 1 189.890ms 189.890ms 1.02K -1 0 0 UNPARTITIONED&lt;BR /&gt;00:SCAN HDFS 5 98.859ms 104.753ms 22.53K -1 78.33 MB 176.00 MB external_data.physician_compare&lt;BR /&gt;&lt;BR /&gt;3. Query finished in about 1 second, as result was ready after 1.45 seconds:&lt;BR /&gt;&lt;BR /&gt;First row fetched: 1.45s&lt;BR /&gt;&lt;BR /&gt;4. I can see the query is most likely from hue:&lt;BR /&gt;&lt;BR /&gt;Session Type: HIVESERVER2&lt;BR /&gt;&lt;BR /&gt;So my conclusion is that user stayed in Hue Hive editor idle until query is closed from server side. There is no issue from the query itself whatsoever.&lt;BR /&gt;&lt;BR /&gt;Cheers</description>
      <pubDate>Thu, 29 Aug 2019 23:22:17 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/ExecQueryFInstances-rpc-query-id-e74ef8d9b9215369/m-p/269400#M206803</guid>
      <dc:creator>EricL</dc:creator>
      <dc:date>2019-08-29T23:22:17Z</dc:date>
    </item>
    <item>
      <title>Re: ExecQueryFInstances rpc query_id=e74ef8d9b9215369:4994cbde00000000 failed</title>
      <link>https://community.cloudera.com/t5/Support-Questions/ExecQueryFInstances-rpc-query-id-e74ef8d9b9215369/m-p/269401#M206804</link>
      <description>It is same as another profile, please see my response here:&lt;BR /&gt;&lt;A href="https://community.cloudera.com/t5/Support-Questions/ExecQueryFInstances-rpc-query-id-e74ef8d9b9215369/m-p/269400/highlight/true#M206803" target="_blank"&gt;https://community.cloudera.com/t5/Support-Questions/ExecQueryFInstances-rpc-query-id-e74ef8d9b9215369/m-p/269400/highlight/true#M206803&lt;/A&gt;</description>
      <pubDate>Thu, 29 Aug 2019 23:25:36 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/ExecQueryFInstances-rpc-query-id-e74ef8d9b9215369/m-p/269401#M206804</guid>
      <dc:creator>EricL</dc:creator>
      <dc:date>2019-08-29T23:25:36Z</dc:date>
    </item>
    <item>
      <title>Re: ExecQueryFInstances rpc query_id=e74ef8d9b9215369:4994cbde00000000 failed</title>
      <link>https://community.cloudera.com/t5/Support-Questions/ExecQueryFInstances-rpc-query-id-e74ef8d9b9215369/m-p/269460#M206850</link>
      <description>&lt;P&gt;Thank you for your assessment, which is spot-on.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I think that the adjustments to MEMORY_LIMIT plus previously setting the idle session and query limits to 10m helped with the prior OOM problem, especially when multiple users are active.&amp;nbsp; We are relatively new to Hadoop/Impala and so we are still learning a lot about how to configure and work with the data within the environment, in tuning the performance, and tailoring the configuration to work well within the limits of the available hardware.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In general, I wish there were documentation that specifically address errors and performance tuning.&amp;nbsp; It would provide more insights into troubleshooting problems and interpreting the errors received.&amp;nbsp; Maybe there is a book already published that's good for this?&amp;nbsp; It would be a huge help!&lt;/P&gt;</description>
      <pubDate>Fri, 30 Aug 2019 17:30:38 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/ExecQueryFInstances-rpc-query-id-e74ef8d9b9215369/m-p/269460#M206850</guid>
      <dc:creator>Zane-</dc:creator>
      <dc:date>2019-08-30T17:30:38Z</dc:date>
    </item>
    <item>
      <title>Re: ExecQueryFInstances rpc query_id=e74ef8d9b9215369:4994cbde00000000 failed</title>
      <link>https://community.cloudera.com/t5/Support-Questions/ExecQueryFInstances-rpc-query-id-e74ef8d9b9215369/m-p/269471#M206860</link>
      <description>&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/35628"&gt;@Zane-&lt;/a&gt;&lt;BR /&gt;&lt;BR /&gt;There is some troubleshooting guide in the link below:&lt;BR /&gt;&lt;A href="https://www.cloudera.com/documentation/enterprise/latest/topics/impala_troubleshooting.html" target="_blank"&gt;https://www.cloudera.com/documentation/enterprise/latest/topics/impala_troubleshooting.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;which can help a bit. I have also wrote some impala profile tutorial, which can be found below:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://www.ericlin.me/2018/09/impala-query-profile-explained-part-1/" target="_blank"&gt;https://www.ericlin.me/2018/09/impala-query-profile-explained-part-1/&lt;/A&gt;&lt;BR /&gt;&lt;A href="https://www.ericlin.me/2019/04/impala-query-profile-explained-part-2/" target="_blank"&gt;https://www.ericlin.me/2019/04/impala-query-profile-explained-part-2/&lt;/A&gt;&lt;BR /&gt;&lt;A href="https://www.ericlin.me/2019/05/impala-query-profile-explained-part-3/" target="_blank"&gt;https://www.ericlin.me/2019/05/impala-query-profile-explained-part-3/&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Hope they can be helpful.&lt;BR /&gt;&lt;BR /&gt;Cheers&lt;BR /&gt;Eric</description>
      <pubDate>Sat, 31 Aug 2019 00:50:59 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/ExecQueryFInstances-rpc-query-id-e74ef8d9b9215369/m-p/269471#M206860</guid>
      <dc:creator>EricL</dc:creator>
      <dc:date>2019-08-31T00:50:59Z</dc:date>
    </item>
    <item>
      <title>Re: ExecQueryFInstances rpc query_id=e74ef8d9b9215369:4994cbde00000000 failed</title>
      <link>https://community.cloudera.com/t5/Support-Questions/ExecQueryFInstances-rpc-query-id-e74ef8d9b9215369/m-p/277965#M207748</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/35628"&gt;@Zane-&lt;/a&gt;&amp;nbsp;I'm late but can provide some additional insight.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I think the suggestion in the error message is a good one (I'm biased because I wrote it, but some thought went into it). "&lt;SPAN&gt;Memory is likely oversubscribed. Reducing query concurrency or configuring admission control may help avoid this error". The general solution for this is to set up admission control with some memory limits so that memory doesn't get oversubscribed, and so that one query can't gobble up more memory than you like. I did a talk at strata that gave pointers on a lot of this things -&amp;nbsp;&lt;A href="https://conferences.oreilly.com/strata/strata-ca-2019/public/schedule/detail/73000" target="_blank"&gt;https://conferences.oreilly.com/strata/strata-ca-2019/public/schedule/detail/73000&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In this case you can actually see that query&amp;nbsp;&lt;SPAN&gt;2f4b5cff11212907:&lt;/SPAN&gt;&lt;SPAN&gt;886aa1400000000 is using&amp;nbsp;Total=78.60 GB memory, so that's likely your problem.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Impala's resource management is totally permissive out of the box and will happily let queries use up all the resources in the system like this.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I didn't see what version you're running, but there were a lot of improvements in this area (config options, OOM-avoidance, diagnostics) in CDH6.1+&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;There's various other angles you can take to improve this - if the queries using lots of memory are suboptimal, tuning them (maybe just computing stats) makes a big difference. You can also&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 20 Sep 2019 17:04:59 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/ExecQueryFInstances-rpc-query-id-e74ef8d9b9215369/m-p/277965#M207748</guid>
      <dc:creator>Tim Armstrong</dc:creator>
      <dc:date>2019-09-20T17:04:59Z</dc:date>
    </item>
  </channel>
</rss>

