<?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: How command line use to have number of yarn job with api ambari in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-command-line-use-to-have-number-of-yarn-job-with-api/m-p/116814#M50977</link>
    <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/13812/amoussoubaruch1.html" nodeid="13812"&gt;@Baruch AMOUSSOU DJANGBAN
&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Following link gives a good idea about various Ambari Rest API uris:&lt;/P&gt;&lt;P&gt;&lt;A href="https://github.com/apache/ambari/blob/trunk/ambari-server/docs/api/v1/index.md" target="_blank"&gt;https://github.com/apache/ambari/blob/trunk/ambari-server/docs/api/v1/index.md&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/13812/amoussoubaruch1.html" nodeid="13812"&gt;&lt;/A&gt; &lt;/P&gt;</description>
    <pubDate>Fri, 06 Jan 2017 17:51:27 GMT</pubDate>
    <dc:creator>jsensharma</dc:creator>
    <dc:date>2017-01-06T17:51:27Z</dc:date>
    <item>
      <title>How command line use to have number of yarn job with api ambari</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-command-line-use-to-have-number-of-yarn-job-with-api/m-p/116810#M50973</link>
      <description>&lt;P&gt;Hello, &lt;/P&gt;&lt;P&gt;I want to use commands lines to know number of yarn jobs in a cluster HDP. &lt;/P&gt;&lt;P&gt;can i do that with ambari api rest? &lt;/P&gt;&lt;P&gt;Thanks &lt;/P&gt;</description>
      <pubDate>Fri, 06 Jan 2017 16:41:27 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-command-line-use-to-have-number-of-yarn-job-with-api/m-p/116810#M50973</guid>
      <dc:creator>amoussoubaruch1</dc:creator>
      <dc:date>2017-01-06T16:41:27Z</dc:date>
    </item>
    <item>
      <title>Re: How command line use to have number of yarn job with api ambari</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-command-line-use-to-have-number-of-yarn-job-with-api/m-p/116811#M50974</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/13812/amoussoubaruch1.html" nodeid="13812"&gt;@Baruch AMOUSSOU DJANGBAN&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Are you looking out for following kind of information's to get via Ambari APIs  (Which we see in the Ambari YARN Summary Page) ?&lt;/P&gt;&lt;P&gt;.&lt;STRONG&gt;Submitted Apps:
&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;/STRONG&gt;&lt;A href="http://erie1.example.com:8080/api/v1/clusters/ErieCluster/host_components?HostRoles/component_name=RESOURCEMANAGER&amp;amp;HostRoles/ha_state=ACTIVE&amp;amp;fields=metrics/yarn/Queue/root/AppsSubmitted" target="_blank"&gt;http://erie1.example.com:8080/api/v1/clusters/ErieCluster/host_components?HostRoles/component_name=RESOURCEMANAGER&amp;amp;HostRoles/ha_state=ACTIVE&amp;amp;fields=metrics/yarn/Queue/root/AppsSubmitted&lt;/A&gt;&lt;/P&gt;&lt;P&gt;.&lt;STRONG&gt; Pending Apps
&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;/STRONG&gt;&lt;A href="http://erie1.example.com:8080/api/v1/clusters/ErieCluster/host_components?HostRoles/component_name=RESOURCEMANAGER&amp;amp;HostRoles/ha_state=ACTIVE&amp;amp;fields=metrics/yarn/Queue/root/AppsPending" target="_blank"&gt;http://erie1.example.com:8080/api/v1/clusters/ErieCluster/host_components?HostRoles/component_name=RESOURCEMANAGER&amp;amp;HostRoles/ha_state=ACTIVE&amp;amp;fields=metrics/yarn/Queue/root/AppsPending&lt;/A&gt;&lt;/P&gt;&lt;P&gt;.&lt;STRONG&gt;Running Apps
&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;/STRONG&gt;&lt;A href="http://erie1.example.com:8080/api/v1/clusters/ErieCluster/host_components?HostRoles/component_name=RESOURCEMANAGER&amp;amp;HostRoles/ha_state=ACTIVE&amp;amp;fields=metrics/yarn/Queue/root/AppsRunning" target="_blank"&gt;http://erie1.example.com:8080/api/v1/clusters/ErieCluster/host_components?HostRoles/component_name=RESOURCEMANAGER&amp;amp;HostRoles/ha_state=ACTIVE&amp;amp;fields=metrics/yarn/Queue/root/AppsRunning&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Here "erie1.example.com" is ambari server hostname. &lt;/P&gt;&lt;P&gt;Similarly you can get the Completed/Killed/Failed application informations.&lt;/P&gt;&lt;P&gt;.&lt;/P&gt;</description>
      <pubDate>Fri, 06 Jan 2017 17:18:21 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-command-line-use-to-have-number-of-yarn-job-with-api/m-p/116811#M50974</guid>
      <dc:creator>jsensharma</dc:creator>
      <dc:date>2017-01-06T17:18:21Z</dc:date>
    </item>
    <item>
      <title>Re: How command line use to have number of yarn job with api ambari</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-command-line-use-to-have-number-of-yarn-job-with-api/m-p/116812#M50975</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/13812/amoussoubaruch1.html" nodeid="13812"&gt;@Baruch AMOUSSOU DJANGBAN&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Apart from Ambari API, If you are open for other API options then you might want to take a look at the Resource Manager Rest APIs as well:&lt;/P&gt;&lt;P&gt;&lt;A href="https://hadoop.apache.org/docs/r2.7.2/hadoop-yarn/hadoop-yarn-site/ResourceManagerRest.html" target="_blank"&gt;https://hadoop.apache.org/docs/r2.7.2/hadoop-yarn/hadoop-yarn-site/ResourceManagerRest.html&lt;/A&gt;&lt;/P&gt;&lt;STRONG&gt;Example: &lt;/STRONG&gt;&lt;P&gt;&lt;A href="http://erie2.example.com:8088/ws/v1/cluster/metrics" target="_blank"&gt;http://erie2.example.com:8088/ws/v1/cluster/metrics&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 06 Jan 2017 17:30:28 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-command-line-use-to-have-number-of-yarn-job-with-api/m-p/116812#M50975</guid>
      <dc:creator>jsensharma</dc:creator>
      <dc:date>2017-01-06T17:30:28Z</dc:date>
    </item>
    <item>
      <title>Re: How command line use to have number of yarn job with api ambari</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-command-line-use-to-have-number-of-yarn-job-with-api/m-p/116813#M50976</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/3418/jsensharma.html" nodeid="3418"&gt;@Jay SenSharma &lt;/A&gt;&lt;/P&gt;&lt;P&gt;Thanks for your answer! can you have a link for all documentation where i can find all and more information to use ambari api? 
&lt;A rel="user" href="https://community.cloudera.com/users/3418/jsensharma.html" nodeid="3418"&gt;&lt;/A&gt; &lt;/P&gt;</description>
      <pubDate>Fri, 06 Jan 2017 17:49:40 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-command-line-use-to-have-number-of-yarn-job-with-api/m-p/116813#M50976</guid>
      <dc:creator>amoussoubaruch1</dc:creator>
      <dc:date>2017-01-06T17:49:40Z</dc:date>
    </item>
    <item>
      <title>Re: How command line use to have number of yarn job with api ambari</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-command-line-use-to-have-number-of-yarn-job-with-api/m-p/116814#M50977</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/13812/amoussoubaruch1.html" nodeid="13812"&gt;@Baruch AMOUSSOU DJANGBAN
&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Following link gives a good idea about various Ambari Rest API uris:&lt;/P&gt;&lt;P&gt;&lt;A href="https://github.com/apache/ambari/blob/trunk/ambari-server/docs/api/v1/index.md" target="_blank"&gt;https://github.com/apache/ambari/blob/trunk/ambari-server/docs/api/v1/index.md&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/13812/amoussoubaruch1.html" nodeid="13812"&gt;&lt;/A&gt; &lt;/P&gt;</description>
      <pubDate>Fri, 06 Jan 2017 17:51:27 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-command-line-use-to-have-number-of-yarn-job-with-api/m-p/116814#M50977</guid>
      <dc:creator>jsensharma</dc:creator>
      <dc:date>2017-01-06T17:51:27Z</dc:date>
    </item>
    <item>
      <title>Re: How command line use to have number of yarn job with api ambari</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-command-line-use-to-have-number-of-yarn-job-with-api/m-p/116815#M50978</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/3418/jsensharma.html" nodeid="3418"&gt;@Jay SenSharma&lt;/A&gt; &lt;/P&gt;&lt;P&gt;Thanks &lt;/P&gt;</description>
      <pubDate>Fri, 06 Jan 2017 17:54:34 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-command-line-use-to-have-number-of-yarn-job-with-api/m-p/116815#M50978</guid>
      <dc:creator>amoussoubaruch1</dc:creator>
      <dc:date>2017-01-06T17:54:34Z</dc:date>
    </item>
  </channel>
</rss>

