<?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: Number of impala queries running - graph in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/Number-of-impala-queries-running-graph/m-p/86413#M11761</link>
    <description>&lt;P&gt;CM collects all the metrics from impala which are also available through the impala debug page.&lt;/P&gt;&lt;P&gt;Please take a look at the metrics mentioned &lt;A href="https://www.cloudera.com/documentation/enterprise/5-9-x/topics/cm_metrics.html" target="_self"&gt;here&lt;/A&gt; which you can use in CM to create graphs. Specifically "&lt;A href="https://www.cloudera.com/documentation/enterprise/5-9-x/topics/cm_metrics_impala_daemon_resource_pool.html#cm_metrics_impala_daemon_resource_pool" target="_self"&gt;Impala Daemon Resource Pool Metrics&lt;/A&gt;" which you can use to create the graph for your use case that displays the number of running queries as follows:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Graph that displays the aggregate num of running queries for a pool across the cluster:&lt;/P&gt;&lt;P&gt;select total_impala_admission_controller_local_num_admitted_running_across_impala_daemon_pools WHERE poolName="root.&amp;lt;your_pool_name&amp;gt;"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Graph that displays the&amp;nbsp;num of running queries submitted to a particular host for a pool:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;select impala_admission_controller_local_num_admitted_running WHERE poolName="root.&amp;lt;your_pool_name&amp;gt;" and hostname="&amp;lt;host_address&amp;gt;"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;You can further tweak these queries and explore the chart builder in CM to get the exact graph you want.&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 13 Feb 2019 20:04:25 GMT</pubDate>
    <dc:creator>BikramjeetVig</dc:creator>
    <dc:date>2019-02-13T20:04:25Z</dc:date>
    <item>
      <title>Number of impala queries running - graph</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Number-of-impala-queries-running-graph/m-p/85082#M11760</link>
      <description>&lt;P&gt;Hi, I can find this kind of message in the Impala daemon logs:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;impalad.pxlbig04.nz.thenational.com.impala.log.INFO.20190117-104024.29754:I0117 10:42:17.900411 9206 admission-controller.cc:515] Stats: agg_num_running=7, agg_num_queued=0, agg_mem_reserved=525.00 GB, local_host(local_mem_admitted=0, num_admitted_running=0, num_queued=0, backend_mem_reserved=75.00 GB)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Which shows agg_num_running=7&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Why is this same kind of metric not available in the CM graphs ?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I want to know how close to the max running queries of 25 that I set in the default queue on Impala Admission Control.&lt;/P&gt;</description>
      <pubDate>Fri, 16 Sep 2022 14:04:42 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Number-of-impala-queries-running-graph/m-p/85082#M11760</guid>
      <dc:creator>Daggers</dc:creator>
      <dc:date>2022-09-16T14:04:42Z</dc:date>
    </item>
    <item>
      <title>Re: Number of impala queries running - graph</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Number-of-impala-queries-running-graph/m-p/86413#M11761</link>
      <description>&lt;P&gt;CM collects all the metrics from impala which are also available through the impala debug page.&lt;/P&gt;&lt;P&gt;Please take a look at the metrics mentioned &lt;A href="https://www.cloudera.com/documentation/enterprise/5-9-x/topics/cm_metrics.html" target="_self"&gt;here&lt;/A&gt; which you can use in CM to create graphs. Specifically "&lt;A href="https://www.cloudera.com/documentation/enterprise/5-9-x/topics/cm_metrics_impala_daemon_resource_pool.html#cm_metrics_impala_daemon_resource_pool" target="_self"&gt;Impala Daemon Resource Pool Metrics&lt;/A&gt;" which you can use to create the graph for your use case that displays the number of running queries as follows:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Graph that displays the aggregate num of running queries for a pool across the cluster:&lt;/P&gt;&lt;P&gt;select total_impala_admission_controller_local_num_admitted_running_across_impala_daemon_pools WHERE poolName="root.&amp;lt;your_pool_name&amp;gt;"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Graph that displays the&amp;nbsp;num of running queries submitted to a particular host for a pool:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;select impala_admission_controller_local_num_admitted_running WHERE poolName="root.&amp;lt;your_pool_name&amp;gt;" and hostname="&amp;lt;host_address&amp;gt;"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;You can further tweak these queries and explore the chart builder in CM to get the exact graph you want.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 13 Feb 2019 20:04:25 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Number-of-impala-queries-running-graph/m-p/86413#M11761</guid>
      <dc:creator>BikramjeetVig</dc:creator>
      <dc:date>2019-02-13T20:04:25Z</dc:date>
    </item>
    <item>
      <title>Re: Number of impala queries running - graph</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Number-of-impala-queries-running-graph/m-p/86416#M11762</link>
      <description>&lt;P&gt;Excellent ! these specific examples are what is needed.&lt;/P&gt;</description>
      <pubDate>Wed, 13 Feb 2019 21:22:36 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Number-of-impala-queries-running-graph/m-p/86416#M11762</guid>
      <dc:creator>Daggers</dc:creator>
      <dc:date>2019-02-13T21:22:36Z</dc:date>
    </item>
  </channel>
</rss>

