<?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 How to fetch the number of containers and Vcores allocated for a application once it is completed from YARN/ATS REST API? in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/How-to-fetch-the-number-of-containers-and-Vcores-allocated/m-p/214786#M176698</link>
    <description>&lt;P&gt;I'm following &lt;A href="https://hadoop.apache.org/docs/r2.7.3/hadoop-yarn/hadoop-yarn-site/ResourceManagerRest.html"&gt;YARN REST API&lt;/A&gt; this shows:&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;allocatedMB&lt;/TD&gt;&lt;TD&gt;int&lt;/TD&gt;&lt;TD&gt;The sum of memory in MB allocated to the application’s running containers&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;allocatedVCores&lt;/TD&gt;&lt;TD&gt;int&lt;/TD&gt;&lt;TD&gt;The sum of virtual cores allocated to the application’s running containers&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;But these are the aggregated metrics.&lt;/P&gt;&lt;P&gt;I'm looking for the total containers, and for each container how much memory and vcores are allocated.&lt;/P&gt;&lt;P&gt;Is there a way this can be achieved?&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Venkat&lt;/P&gt;</description>
    <pubDate>Mon, 09 Apr 2018 23:39:06 GMT</pubDate>
    <dc:creator>dheer_vijji_rag</dc:creator>
    <dc:date>2018-04-09T23:39:06Z</dc:date>
  </channel>
</rss>

