<?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 ERROR- HUE - Results have expired, rerun the query if needed in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/ERROR-HUE-Results-have-expired-rerun-the-query-if-needed/m-p/344179#M234095</link>
    <description>&lt;P&gt;queries in hue using impala are returning the following error:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;"results have expired, rerun the query if needed"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;as shown in the screenshot below:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="query_error_hue_with_impala.PNG" style="width: 953px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/34411i9E081C9FED12FA2B/image-size/large?v=v2&amp;amp;px=999" role="button" title="query_error_hue_with_impala.PNG" alt="query_error_hue_with_impala.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;what could be causing this error and how to fix this issue?&lt;/P&gt;</description>
    <pubDate>Tue, 21 Apr 2026 07:56:04 GMT</pubDate>
    <dc:creator>yagoaparecidoti</dc:creator>
    <dc:date>2026-04-21T07:56:04Z</dc:date>
    <item>
      <title>ERROR- HUE - Results have expired, rerun the query if needed</title>
      <link>https://community.cloudera.com/t5/Support-Questions/ERROR-HUE-Results-have-expired-rerun-the-query-if-needed/m-p/344179#M234095</link>
      <description>&lt;P&gt;queries in hue using impala are returning the following error:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;"results have expired, rerun the query if needed"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;as shown in the screenshot below:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="query_error_hue_with_impala.PNG" style="width: 953px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/34411i9E081C9FED12FA2B/image-size/large?v=v2&amp;amp;px=999" role="button" title="query_error_hue_with_impala.PNG" alt="query_error_hue_with_impala.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;what could be causing this error and how to fix this issue?&lt;/P&gt;</description>
      <pubDate>Tue, 21 Apr 2026 07:56:04 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/ERROR-HUE-Results-have-expired-rerun-the-query-if-needed/m-p/344179#M234095</guid>
      <dc:creator>yagoaparecidoti</dc:creator>
      <dc:date>2026-04-21T07:56:04Z</dc:date>
    </item>
    <item>
      <title>Re: ERROR- HUE - Results have expired, rerun the query if needed</title>
      <link>https://community.cloudera.com/t5/Support-Questions/ERROR-HUE-Results-have-expired-rerun-the-query-if-needed/m-p/344210#M234116</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/96163"&gt;@yagoaparecidoti&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If you have Impala daemons that are load-balanced (LB), then there is a configuration that needs to be applied on the LB, related to source IP persistance. There is a Knowledge Base article about this:&amp;nbsp;&lt;A href="https://community.cloudera.com/t5/Customer/Load-balancing-between-Hue-and-Impala/ta-p/73364" target="_blank"&gt;https://community.cloudera.com/t5/Customer/Load-balancing-between-Hue-and-Impala/ta-p/73364&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If there is no LB at play here, then has this issue been ongoing or just started to pop up recently? What changed on the cluster recently?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Alex&lt;/P&gt;</description>
      <pubDate>Fri, 20 May 2022 04:34:06 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/ERROR-HUE-Results-have-expired-rerun-the-query-if-needed/m-p/344210#M234116</guid>
      <dc:creator>aakulov</dc:creator>
      <dc:date>2022-05-20T04:34:06Z</dc:date>
    </item>
    <item>
      <title>Re: ERROR- HUE - Results have expired, rerun the query if needed</title>
      <link>https://community.cloudera.com/t5/Support-Questions/ERROR-HUE-Results-have-expired-rerun-the-query-if-needed/m-p/344237#M234120</link>
      <description>&lt;P&gt;hi&amp;nbsp;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/74887"&gt;@aakulov&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;the cluster is on AWS and the AWS LB is being used on ports 21050 of the impala daemon, in which case this LB may be having this problem?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;sould it be that in this LB we can also change it to "source"?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 20 May 2022 12:22:36 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/ERROR-HUE-Results-have-expired-rerun-the-query-if-needed/m-p/344237#M234120</guid>
      <dc:creator>yagoaparecidoti</dc:creator>
      <dc:date>2022-05-20T12:22:36Z</dc:date>
    </item>
    <item>
      <title>Re: ERROR- HUE - Results have expired, rerun the query if needed</title>
      <link>https://community.cloudera.com/t5/Support-Questions/ERROR-HUE-Results-have-expired-rerun-the-query-if-needed/m-p/344248#M234123</link>
      <description>&lt;P&gt;That's right, you'll need to look into how to setup AWS LB to have sticky sessions, which is not enabled by default. Also, please look into tuning the session timeout to a high value (long enough for Impala to finish the query and send the results back to Hue)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Reference:&amp;nbsp;&lt;A href="https://docs.aws.amazon.com/elasticloadbalancing/latest/application/sticky-sessions.html" target="_blank"&gt;https://docs.aws.amazon.com/elasticloadbalancing/latest/application/sticky-sessions.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Kind regards,&lt;/P&gt;&lt;P&gt;Alex Akulov&lt;/P&gt;</description>
      <pubDate>Fri, 20 May 2022 15:33:40 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/ERROR-HUE-Results-have-expired-rerun-the-query-if-needed/m-p/344248#M234123</guid>
      <dc:creator>aakulov</dc:creator>
      <dc:date>2022-05-20T15:33:40Z</dc:date>
    </item>
    <item>
      <title>Re: ERROR- HUE - Results have expired, rerun the query if needed</title>
      <link>https://community.cloudera.com/t5/Support-Questions/ERROR-HUE-Results-have-expired-rerun-the-query-if-needed/m-p/344249#M234124</link>
      <description>&lt;P&gt;LB AWS sticky sessions settings is for LB HTTP/HTTPS only&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;in this case the LB we are using is TCP on ports 21000 and 21050&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;the session timeout you say in the impala service, right?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;would be the "idle_query_timeout" and "idle_session_timeout" options, right?&lt;/P&gt;</description>
      <pubDate>Fri, 20 May 2022 15:41:15 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/ERROR-HUE-Results-have-expired-rerun-the-query-if-needed/m-p/344249#M234124</guid>
      <dc:creator>yagoaparecidoti</dc:creator>
      <dc:date>2022-05-20T15:41:15Z</dc:date>
    </item>
    <item>
      <title>Re: ERROR- HUE - Results have expired, rerun the query if needed</title>
      <link>https://community.cloudera.com/t5/Support-Questions/ERROR-HUE-Results-have-expired-rerun-the-query-if-needed/m-p/344256#M234127</link>
      <description>&lt;P&gt;Looks like there are different types of AWS Load Balancers, and the one that can handle TCP sessions are either &lt;EM&gt;Network Load Balancer (NLB)&lt;/EM&gt;&amp;nbsp;or &lt;EM&gt;Classic Load Balancer&lt;/EM&gt;. Which one are you using? I believe stickiness also works for NLB, but do validate with your AWS team.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The session timeout is two-fold:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;LB session timeout. These are settings inside of the load balancer, nothing to do with Impala itself. The recommendation is to set this timeout to 12 hours, 6 hours at a minimum for both client and server timeouts.&lt;/LI&gt;&lt;LI&gt;Hue session timeout (idle_session_timeout). This is how long Hue will keep the connection to Impala alive. Default may be 15 minutes. If no queries run in this time amount of time, and then you run a new query, you'll get this error "Results have expired". Hue will need to start a new session. Also if your query takes longer than idle_session_timeout, then you'll definitely need to increase the timeout setting. 1 hour timeout may be appropriate here.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Alex&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 20 May 2022 16:46:14 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/ERROR-HUE-Results-have-expired-rerun-the-query-if-needed/m-p/344256#M234127</guid>
      <dc:creator>aakulov</dc:creator>
      <dc:date>2022-05-20T16:46:14Z</dc:date>
    </item>
    <item>
      <title>Re: ERROR- HUE - Results have expired, rerun the query if needed</title>
      <link>https://community.cloudera.com/t5/Support-Questions/ERROR-HUE-Results-have-expired-rerun-the-query-if-needed/m-p/344319#M234142</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/96163"&gt;@yagoaparecidoti&lt;/a&gt;&amp;nbsp;Has the reply helped resolve your issue? If so, please mark the appropriate reply as the solution, as it will make it easier for others to find the answer in the future. Thanks!&lt;/P&gt;</description>
      <pubDate>Mon, 23 May 2022 22:26:20 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/ERROR-HUE-Results-have-expired-rerun-the-query-if-needed/m-p/344319#M234142</guid>
      <dc:creator>DianaTorres</dc:creator>
      <dc:date>2022-05-23T22:26:20Z</dc:date>
    </item>
  </channel>
</rss>

