<?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 Is there any ambari API to execute &amp;quot;refresh yarn queue's&amp;quot; command ? in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/Is-there-any-ambari-API-to-execute-quot-refresh-yarn-queue-s/m-p/242194#M203997</link>
    <description>&lt;P&gt;I'm trying to execute the "Refresh yarn queue's" command through ambari API. Unable to find a solution for this. If anybody has any idea please let me know.&lt;/P&gt;</description>
    <pubDate>Mon, 10 Jun 2019 15:21:57 GMT</pubDate>
    <dc:creator>narendra_klu9</dc:creator>
    <dc:date>2019-06-10T15:21:57Z</dc:date>
    <item>
      <title>Is there any ambari API to execute "refresh yarn queue's" command ?</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Is-there-any-ambari-API-to-execute-quot-refresh-yarn-queue-s/m-p/242194#M203997</link>
      <description>&lt;P&gt;I'm trying to execute the "Refresh yarn queue's" command through ambari API. Unable to find a solution for this. If anybody has any idea please let me know.&lt;/P&gt;</description>
      <pubDate>Mon, 10 Jun 2019 15:21:57 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Is-there-any-ambari-API-to-execute-quot-refresh-yarn-queue-s/m-p/242194#M203997</guid>
      <dc:creator>narendra_klu9</dc:creator>
      <dc:date>2019-06-10T15:21:57Z</dc:date>
    </item>
    <item>
      <title>Re: Is there any ambari API to execute "refresh yarn queue's" command ?</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Is-there-any-ambari-API-to-execute-quot-refresh-yarn-queue-s/m-p/242195#M203998</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/23253/narendraklu9.html"&gt;@Narendra Neerukonda&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Ambari 2.7 you can try following kind of API calls.&lt;/P&gt;&lt;PRE&gt;# curl -k -H "X-Requested-By: ambari" -u admin:admin &amp;nbsp;-X POST -d '{"RequestInfo":{"context":"Refresh YARN Capacity Scheduler","command":"REFRESHQUEUES","parameters/forceRefreshConfigTags":"capacity-scheduler"},"Requests/resource_filters":[{"service_name":"YARN","component_name":"RESOURCEMANAGER","hosts":"kerlatest2.example.com,kerlatest4.example.com"}]}' &lt;A href="http://kerlatest1.example.com:8080/api/v1/clusters/KerLatest/requests" target="_blank"&gt;http://kerlatest1.example.com:8080/api/v1/clusters/KerLatest/requests&lt;/A&gt;&lt;/PRE&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Please replace the "kerlatest2.example.com,kerlatest4.example.com" with your YARN resource Manager hostnames, also replace the "kerlatest1.example.com:8080" with your Ambari Server hostname and port.  And replace the "KerLatest" with your own cluster name.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Following article might give some idea in Kerberized environments:&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.hortonworks.com/content/supportkb/151093/how-do-i-refresh-yarn-capacity-scheduler-outside-o.html"&gt;https://community.hortonworks.com/content/supportkb/151093/how-do-i-refresh-yarn-capacity-scheduler-outside-o.html&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 10 Jun 2019 15:51:54 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Is-there-any-ambari-API-to-execute-quot-refresh-yarn-queue-s/m-p/242195#M203998</guid>
      <dc:creator>jsensharma</dc:creator>
      <dc:date>2019-06-10T15:51:54Z</dc:date>
    </item>
    <item>
      <title>Re: Is there any ambari API to execute "refresh yarn queue's" command ?</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Is-there-any-ambari-API-to-execute-quot-refresh-yarn-queue-s/m-p/242196#M203999</link>
      <description>&lt;P&gt;The above question and the reply below was originally posted in the &lt;A href="https://community.hortonworks.com/spaces/101/index.html"&gt;Community Help Track&lt;/A&gt;. On Mon Jun 10 12:55 UTC 2019, a member of the HCC moderation staff moved it to the &lt;A href="https://community.hortonworks.com/spaces/61/operations-track_2.html"&gt;Cloud &amp;amp; Operations &lt;/A&gt; track. The &lt;EM&gt;Community Help Track&lt;/EM&gt; is intended for questions about using the HCC site itself.&lt;/P&gt;</description>
      <pubDate>Mon, 10 Jun 2019 19:57:04 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Is-there-any-ambari-API-to-execute-quot-refresh-yarn-queue-s/m-p/242196#M203999</guid>
      <dc:creator>ask_bill_brooks</dc:creator>
      <dc:date>2019-06-10T19:57:04Z</dc:date>
    </item>
  </channel>
</rss>

