<?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: REST API + how to verify the max value for each parameter in ambari in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/REST-API-how-to-verify-the-max-value-for-each-parameter-in/m-p/234295#M85011</link>
    <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/26229/uribarih.html" nodeid="26229"&gt;@Michael Bronson&lt;/A&gt; &lt;/P&gt;&lt;P&gt;The Max limit should be  (RAM on NameNode - 500MB) i guess because Operating System processes also need some amount of RAM memory.&lt;/P&gt;&lt;P&gt;Do you have 16 GB RAM on your NameNode host? &lt;/P&gt;&lt;P&gt;Please check the NameNode "Hosts/total_mem" (Total Memory).  You can assign NameNode heap not maore than that ideally even if the configuration file can have higher value.&lt;/P&gt;&lt;PRE&gt;# curl -H "X-Requested-By: ambari" -u admin:admin -X GET "http://newhwx1.example.com:8080/api/v1/clusters/NewCluster/hosts?fields=Hosts/rack_info,Hosts/host_name,Hosts/maintenance_state,Hosts/public_host_name,Hosts/total_mem"&lt;/PRE&gt;&lt;P&gt;.&lt;/P&gt;</description>
    <pubDate>Mon, 19 Nov 2018 07:13:36 GMT</pubDate>
    <dc:creator>jsensharma</dc:creator>
    <dc:date>2018-11-19T07:13:36Z</dc:date>
    <item>
      <title>REST API + how to verify the max value for each parameter in ambari</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/REST-API-how-to-verify-the-max-value-for-each-parameter-in/m-p/234294#M85010</link>
      <description>&lt;P&gt;hi all&lt;/P&gt;&lt;P&gt;as all know each value in ambari have MAX value&lt;/P&gt;&lt;P&gt;example&lt;/P&gt;&lt;P&gt;lets take for example the - NameNode Java heap size&lt;/P&gt;&lt;P&gt;in ambari we can see that max value is 15.5G&lt;/P&gt;&lt;P&gt;while the current value is 9.75&lt;/P&gt;&lt;P&gt;we want to create REST API that will set the value to the max - 15.5G&lt;/P&gt;&lt;P&gt;is it possible ? by API ?&lt;/P&gt;&lt;P&gt;or other solution ?&lt;/P&gt;&lt;P&gt;note - the value - 15.5G is unknown value , the target of the quastion is to set the MAX value , without to know the value &lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="93648-capture.png" style="width: 565px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/14666i23D5603EE676D3CC/image-size/medium?v=v2&amp;amp;px=400" role="button" title="93648-capture.png" alt="93648-capture.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 18 Aug 2019 00:05:25 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/REST-API-how-to-verify-the-max-value-for-each-parameter-in/m-p/234294#M85010</guid>
      <dc:creator>mike_bronson7</dc:creator>
      <dc:date>2019-08-18T00:05:25Z</dc:date>
    </item>
    <item>
      <title>Re: REST API + how to verify the max value for each parameter in ambari</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/REST-API-how-to-verify-the-max-value-for-each-parameter-in/m-p/234295#M85011</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/26229/uribarih.html" nodeid="26229"&gt;@Michael Bronson&lt;/A&gt; &lt;/P&gt;&lt;P&gt;The Max limit should be  (RAM on NameNode - 500MB) i guess because Operating System processes also need some amount of RAM memory.&lt;/P&gt;&lt;P&gt;Do you have 16 GB RAM on your NameNode host? &lt;/P&gt;&lt;P&gt;Please check the NameNode "Hosts/total_mem" (Total Memory).  You can assign NameNode heap not maore than that ideally even if the configuration file can have higher value.&lt;/P&gt;&lt;PRE&gt;# curl -H "X-Requested-By: ambari" -u admin:admin -X GET "http://newhwx1.example.com:8080/api/v1/clusters/NewCluster/hosts?fields=Hosts/rack_info,Hosts/host_name,Hosts/maintenance_state,Hosts/public_host_name,Hosts/total_mem"&lt;/PRE&gt;&lt;P&gt;.&lt;/P&gt;</description>
      <pubDate>Mon, 19 Nov 2018 07:13:36 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/REST-API-how-to-verify-the-max-value-for-each-parameter-in/m-p/234295#M85011</guid>
      <dc:creator>jsensharma</dc:creator>
      <dc:date>2018-11-19T07:13:36Z</dc:date>
    </item>
    <item>
      <title>Re: REST API + how to verify the max value for each parameter in ambari</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/REST-API-how-to-verify-the-max-value-for-each-parameter-in/m-p/234296#M85012</link>
      <description>&lt;P&gt;@Jay , first thank you , actually what we want is the value of the MAX BAR ( as displayed 15.508 ) , is it posible to get this value by REST API , ?&lt;/P&gt;</description>
      <pubDate>Mon, 19 Nov 2018 07:22:34 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/REST-API-how-to-verify-the-max-value-for-each-parameter-in/m-p/234296#M85012</guid>
      <dc:creator>mike_bronson7</dc:creator>
      <dc:date>2018-11-19T07:22:34Z</dc:date>
    </item>
    <item>
      <title>Re: REST API + how to verify the max value for each parameter in ambari</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/REST-API-how-to-verify-the-max-value-for-each-parameter-in/m-p/234297#M85013</link>
      <description>&lt;P&gt;@Jay as you know some  parameters in ambari have scroll bar ( with max bar value ) , what we want is to know the MAX of the BAR by REST API &lt;/P&gt;</description>
      <pubDate>Mon, 19 Nov 2018 07:23:47 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/REST-API-how-to-verify-the-max-value-for-each-parameter-in/m-p/234297#M85013</guid>
      <dc:creator>mike_bronson7</dc:creator>
      <dc:date>2018-11-19T07:23:47Z</dc:date>
    </item>
    <item>
      <title>Re: REST API + how to verify the max value for each parameter in ambari</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/REST-API-how-to-verify-the-max-value-for-each-parameter-in/m-p/234298#M85014</link>
      <description>&lt;P&gt;Jay another example . you can see that BAR ended on - 32&lt;/P&gt;&lt;P&gt;so can we create some API that will give this value ( 32 ) ?&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="93649-capture.png" style="width: 627px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/14665iCFE1AA8348E16BCC/image-size/medium?v=v2&amp;amp;px=400" role="button" title="93649-capture.png" alt="93649-capture.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 18 Aug 2019 00:05:17 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/REST-API-how-to-verify-the-max-value-for-each-parameter-in/m-p/234298#M85014</guid>
      <dc:creator>mike_bronson7</dc:creator>
      <dc:date>2019-08-18T00:05:17Z</dc:date>
    </item>
    <item>
      <title>Re: REST API + how to verify the max value for each parameter in ambari</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/REST-API-how-to-verify-the-max-value-for-each-parameter-in/m-p/234299#M85015</link>
      <description>&lt;P&gt;&lt;/P&gt;&lt;P&gt;UI uses Java Script to parse and process the bar values.   I am afraid that using API call we can not get those values calculations. &lt;/P&gt;&lt;P&gt;Mostly the recommendations comes from the "stack_advisor.py" script as following:&lt;/P&gt;&lt;P&gt;&lt;A href="https://github.com/apache/ambari/blob/release-2.6.2/ambari-server/src/main/resources/stacks/stack_advisor.py#L611-L613" target="_blank"&gt;https://github.com/apache/ambari/blob/release-2.6.2/ambari-server/src/main/resources/stacks/stack_advisor.py#L611-L613&lt;/A&gt;&lt;/P&gt;&lt;P&gt;.&lt;/P&gt;</description>
      <pubDate>Mon, 19 Nov 2018 08:59:27 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/REST-API-how-to-verify-the-max-value-for-each-parameter-in/m-p/234299#M85015</guid>
      <dc:creator>jsensharma</dc:creator>
      <dc:date>2018-11-19T08:59:27Z</dc:date>
    </item>
  </channel>
</rss>

