<?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 query YARN application via REST in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/query-YARN-application-via-REST/m-p/95995#M9424</link>
    <description>&lt;P&gt;Customer is using following REST call to obtain a list of app ids: &lt;/P&gt;&lt;P&gt;&lt;A href="http://&amp;lt;rm" target="_blank"&gt;http://&amp;lt;rm&lt;/A&gt; http address:port&amp;gt;/ws/v1/cluster/apps&lt;/P&gt;&lt;P&gt;Their question is how frequently should they make REST API call so that they do not miss any jobs submitted? -- Are there any recommendations on this? &lt;/P&gt;&lt;P&gt;Thanks &lt;/P&gt;</description>
    <pubDate>Mon, 26 Oct 2015 23:42:06 GMT</pubDate>
    <dc:creator>wgonzalez</dc:creator>
    <dc:date>2015-10-26T23:42:06Z</dc:date>
    <item>
      <title>query YARN application via REST</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/query-YARN-application-via-REST/m-p/95995#M9424</link>
      <description>&lt;P&gt;Customer is using following REST call to obtain a list of app ids: &lt;/P&gt;&lt;P&gt;&lt;A href="http://&amp;lt;rm" target="_blank"&gt;http://&amp;lt;rm&lt;/A&gt; http address:port&amp;gt;/ws/v1/cluster/apps&lt;/P&gt;&lt;P&gt;Their question is how frequently should they make REST API call so that they do not miss any jobs submitted? -- Are there any recommendations on this? &lt;/P&gt;&lt;P&gt;Thanks &lt;/P&gt;</description>
      <pubDate>Mon, 26 Oct 2015 23:42:06 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/query-YARN-application-via-REST/m-p/95995#M9424</guid>
      <dc:creator>wgonzalez</dc:creator>
      <dc:date>2015-10-26T23:42:06Z</dc:date>
    </item>
    <item>
      <title>Re: query YARN application via REST</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/query-YARN-application-via-REST/m-p/95996#M9425</link>
      <description>&lt;P&gt;This will depend on how fast they wish to have this information...You can get historical info, so you could do this once a day, or once an hour, or once every 5 minutes depending on your use for it.&lt;/P&gt;&lt;P&gt;Its possible to pass parameters to the REST call your making that specific a time range, so you could for example get all the logs from the last hour. So you could do something like...&lt;/P&gt;&lt;PRE&gt; &lt;A href="http://RMHOST:8088/ws/v1/cluster/apps?startedTimeBegin=1445351681496&amp;amp;startedTimeEnd=1445878421" target="_blank"&gt;http://RMHOST:8088/ws/v1/cluster/apps?startedTimeBegin=1445351681496&amp;amp;startedTimeEnd=1445878421&lt;/A&gt;&lt;/PRE&gt;&lt;P&gt;&lt;A href="https://hadoop.apache.org/docs/stable/hadoop-yarn/hadoop-yarn-site/ResourceManagerRest.html#Cluster_Applications_API" target="_blank"&gt;https://hadoop.apache.org/docs/stable/hadoop-yarn/hadoop-yarn-site/ResourceManagerRest.html#Cluster_Applications_API&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 26 Oct 2015 23:55:38 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/query-YARN-application-via-REST/m-p/95996#M9425</guid>
      <dc:creator>jniemiec</dc:creator>
      <dc:date>2015-10-26T23:55:38Z</dc:date>
    </item>
  </channel>
</rss>

