<?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: [CloudBreak] Use Pending YARN containers OR Pending application to trigger Cluster Upscaling in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/CloudBreak-Use-Pending-YARN-containers-OR-Pending/m-p/233543#M195366</link>
    <description>&lt;P&gt;Hi &lt;A rel="user" href="https://community.cloudera.com/users/39228/jchamp.html" nodeid="39228"&gt;@Julien Champ&lt;/A&gt;,&lt;/P&gt;&lt;P&gt;This feature was remove near 1.14 and unfortunately the documentation was not updated as well.&lt;/P&gt;</description>
    <pubDate>Mon, 28 Aug 2017 14:06:46 GMT</pubDate>
    <dc:creator>rkovacs</dc:creator>
    <dc:date>2017-08-28T14:06:46Z</dc:date>
    <item>
      <title>[CloudBreak] Use Pending YARN containers OR Pending application to trigger Cluster Upscaling</title>
      <link>https://community.cloudera.com/t5/Support-Questions/CloudBreak-Use-Pending-YARN-containers-OR-Pending/m-p/233541#M195364</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;We have a cluster deployed using Cloudbreak and we want to use the Auto-Scaling feature of Cloudbreak.&lt;/P&gt;&lt;P&gt;As read in the documentation it seems that we may be able to trigger a scale up using Cloudbreak "custom metrics: &lt;CODE&gt;Pending YARN containers&lt;/CODE&gt; and &lt;CODE&gt;Pending applications&lt;/CODE&gt;" ( c.f. : &lt;A href="http://sequenceiq.com/cloudbreak-docs/latest/periscope/" target="_blank"&gt;http://sequenceiq.com/cloudbreak-docs/latest/periscope/&lt;/A&gt; ) &lt;/P&gt;&lt;P&gt;However we haven't been able to find those metric in the webUi.&lt;/P&gt;&lt;P&gt;In the form found in the webUi, in  &lt;STRONG&gt;autoscaling SLA policies tab / Alerts / Metric desired states&lt;/STRONG&gt; we can see many things () but nothing like "Pending YARN containers" nor "Pending Applications". &lt;/P&gt;&lt;P&gt;Is there a good reason for that ? &lt;/P&gt;&lt;P&gt;Is there a configuration problem ? ( we are able to send applications to YARN and everything is OK )&lt;/P&gt;&lt;P&gt;Do we need to do something to see this metric ? Install Something ? Configure something else ? &lt;/P&gt;&lt;P&gt;Thx a lot for any idea / help !&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Julien&lt;/P&gt;</description>
      <pubDate>Fri, 25 Aug 2017 22:45:54 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/CloudBreak-Use-Pending-YARN-containers-OR-Pending/m-p/233541#M195364</guid>
      <dc:creator>jchamp</dc:creator>
      <dc:date>2017-08-25T22:45:54Z</dc:date>
    </item>
    <item>
      <title>Re: [CloudBreak] Use Pending YARN containers OR Pending application to trigger Cluster Upscaling</title>
      <link>https://community.cloudera.com/t5/Support-Questions/CloudBreak-Use-Pending-YARN-containers-OR-Pending/m-p/233542#M195365</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/39228/jchamp.html" nodeid="39228"&gt;@Julien Champ&lt;/A&gt;
&lt;/P&gt;&lt;P&gt; spun up a cluster using Cloudbreak 1.16.1.  I do not see either of those options available.  I will see if I can track this down and get clarification.&lt;/P&gt;</description>
      <pubDate>Fri, 25 Aug 2017 23:09:40 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/CloudBreak-Use-Pending-YARN-containers-OR-Pending/m-p/233542#M195365</guid>
      <dc:creator>myoung</dc:creator>
      <dc:date>2017-08-25T23:09:40Z</dc:date>
    </item>
    <item>
      <title>Re: [CloudBreak] Use Pending YARN containers OR Pending application to trigger Cluster Upscaling</title>
      <link>https://community.cloudera.com/t5/Support-Questions/CloudBreak-Use-Pending-YARN-containers-OR-Pending/m-p/233543#M195366</link>
      <description>&lt;P&gt;Hi &lt;A rel="user" href="https://community.cloudera.com/users/39228/jchamp.html" nodeid="39228"&gt;@Julien Champ&lt;/A&gt;,&lt;/P&gt;&lt;P&gt;This feature was remove near 1.14 and unfortunately the documentation was not updated as well.&lt;/P&gt;</description>
      <pubDate>Mon, 28 Aug 2017 14:06:46 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/CloudBreak-Use-Pending-YARN-containers-OR-Pending/m-p/233543#M195366</guid>
      <dc:creator>rkovacs</dc:creator>
      <dc:date>2017-08-28T14:06:46Z</dc:date>
    </item>
    <item>
      <title>Re: [CloudBreak] Use Pending YARN containers OR Pending application to trigger Cluster Upscaling</title>
      <link>https://community.cloudera.com/t5/Support-Questions/CloudBreak-Use-Pending-YARN-containers-OR-Pending/m-p/233544#M195367</link>
      <description>&lt;P&gt;Hi &lt;A rel="user" href="https://community.cloudera.com/users/39228/jchamp.html" nodeid="39228"&gt;@Julien Champ&lt;/A&gt;,&lt;/P&gt;&lt;P&gt;So Cloudbreak doesn't configures that metric by default, but you should use Ambari API to enable it. Simply grab your JSON template from &lt;A href="https://github.com/hortonworks/cloudbreak/tree/master/autoscale/src/main/resources/alerts"&gt;here&lt;/A&gt;, and POST it to Ambari on clusters/[cluster-name]/alert_definitions endpoint.&lt;/P&gt;</description>
      <pubDate>Mon, 28 Aug 2017 19:30:55 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/CloudBreak-Use-Pending-YARN-containers-OR-Pending/m-p/233544#M195367</guid>
      <dc:creator>rkovacs</dc:creator>
      <dc:date>2017-08-28T19:30:55Z</dc:date>
    </item>
    <item>
      <title>Re: [CloudBreak] Use Pending YARN containers OR Pending application to trigger Cluster Upscaling</title>
      <link>https://community.cloudera.com/t5/Support-Questions/CloudBreak-Use-Pending-YARN-containers-OR-Pending/m-p/233545#M195368</link>
      <description>&lt;P&gt;Thanks &lt;A rel="user" href="https://community.cloudera.com/users/335/rkovacs.html" nodeid="335"&gt;@rkovacs&lt;/A&gt; I've been able to found a usefull solution thanks to you.&lt;/P&gt;&lt;P&gt;I've used a slightly modified version of &lt;A href="https://github.com/hortonworks/cloudbreak/blob/release-1.16/autoscale/src/main/resources/alerts/allocated_memory.ftl" target="_blank"&gt;https://github.com/hortonworks/cloudbreak/blob/release-1.16/autoscale/src/main/resources/alerts/allocated_memory.ftl&lt;/A&gt;&lt;/P&gt;&lt;P&gt;To trigger the UP scaling when the amount of allocated memory goes over &lt;STRONG&gt;95% &lt;/STRONG&gt;( this triggers a critical alert )&lt;/P&gt;&lt;P&gt;I've just modified the aforementionned .ftl file to something more correct I think : we want an alert when the % of &lt;STRONG&gt;allocated memory &lt;/STRONG&gt;goes over 95%&lt;STRONG&gt; &lt;/STRONG&gt; and not when the % of &lt;B&gt;remaining memory&lt;/B&gt; goes over 95% .&lt;/P&gt;&lt;P&gt;I've changed : &lt;/P&gt;&lt;PRE&gt;"value": "{0}/({0} + {1}) * 100"&lt;/PRE&gt;&lt;P&gt;in :&lt;/P&gt;&lt;PRE&gt;"value": "{1}/({0} + {1}) * 100"&lt;/PRE&gt;&lt;P&gt;I'm going to open a new question about Scaling down now ! &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;i.e. : how to scale down 1 node is useless regarding to memory usage + a margin &lt;/P&gt;&lt;P&gt;Thanks again !&lt;/P&gt;</description>
      <pubDate>Wed, 30 Aug 2017 15:38:51 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/CloudBreak-Use-Pending-YARN-containers-OR-Pending/m-p/233545#M195368</guid>
      <dc:creator>jchamp</dc:creator>
      <dc:date>2017-08-30T15:38:51Z</dc:date>
    </item>
  </channel>
</rss>

