<?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 Get actual query details of all HIVE jobs in last 30 days in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Get-actual-query-details-of-all-HIVE-jobs-in-last-30-days/m-p/59118#M67085</link>
    <description>&lt;P&gt;Hi All&lt;/P&gt;&lt;P&gt;I am trying to get all hive queries for last 30 days ran on my cluster.&lt;/P&gt;&lt;P&gt;I selected all the jobs on cloudera YARN application UI and filtered for last 30 days and also selected attribute of hive_query_string, which allows me to see the actual query.&lt;/P&gt;&lt;P&gt;The only issue is that cloudera restricts UI to show only last 100 jobs at a time.&lt;/P&gt;&lt;P&gt;Because of this i can't get details on all the other queries.&lt;/P&gt;&lt;P&gt;I tried to hit this api http://cluster:8088/ws/v1/cluster/apps to get all the details, two issue: there is no filter and other is there is no hive_query_string variable to filter. It just shows me all the job details.&lt;/P&gt;&lt;P&gt;Is there an API exposed by cloudera where i can filter and get all the hive_query_string or if i can configure the cloudera UI to show me more than 100 jobs(or just export it).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Let me know.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;AB&lt;/P&gt;</description>
    <pubDate>Tue, 22 Aug 2017 20:40:14 GMT</pubDate>
    <dc:creator>ABaaya</dc:creator>
    <dc:date>2017-08-22T20:40:14Z</dc:date>
    <item>
      <title>Get actual query details of all HIVE jobs in last 30 days</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Get-actual-query-details-of-all-HIVE-jobs-in-last-30-days/m-p/59118#M67085</link>
      <description>&lt;P&gt;Hi All&lt;/P&gt;&lt;P&gt;I am trying to get all hive queries for last 30 days ran on my cluster.&lt;/P&gt;&lt;P&gt;I selected all the jobs on cloudera YARN application UI and filtered for last 30 days and also selected attribute of hive_query_string, which allows me to see the actual query.&lt;/P&gt;&lt;P&gt;The only issue is that cloudera restricts UI to show only last 100 jobs at a time.&lt;/P&gt;&lt;P&gt;Because of this i can't get details on all the other queries.&lt;/P&gt;&lt;P&gt;I tried to hit this api http://cluster:8088/ws/v1/cluster/apps to get all the details, two issue: there is no filter and other is there is no hive_query_string variable to filter. It just shows me all the job details.&lt;/P&gt;&lt;P&gt;Is there an API exposed by cloudera where i can filter and get all the hive_query_string or if i can configure the cloudera UI to show me more than 100 jobs(or just export it).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Let me know.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;AB&lt;/P&gt;</description>
      <pubDate>Tue, 22 Aug 2017 20:40:14 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Get-actual-query-details-of-all-HIVE-jobs-in-last-30-days/m-p/59118#M67085</guid>
      <dc:creator>ABaaya</dc:creator>
      <dc:date>2017-08-22T20:40:14Z</dc:date>
    </item>
    <item>
      <title>Re: Get actual query details of all HIVE jobs in last 30 days</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Get-actual-query-details-of-all-HIVE-jobs-in-last-30-days/m-p/59172#M67086</link>
      <description>&lt;P&gt;The below link connects and filter results from API to get last 30 days of jobs and limit is increased to 10000 jobs at a time.&lt;/P&gt;&lt;P&gt;Note: All times "&lt;SPAN&gt;endTime=1503438687495" are EPOC time, so filter your times based on requirement.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Also set limit to what ever number of jobs you want to be displayed.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;http://cloudera-manager-host-ip/cmf/yarn/completedApplications?startTime=1500758462000&amp;amp;endTime=1503438687495&amp;amp;offset=0&amp;amp;limit=10000&amp;amp;serviceName=yarn&amp;amp;histogramAttributes=allocated_memory_seconds%2Callocated_vcore_seconds%2Ccpu_milliseconds%2Capplication_duration%2Chdfs_bytes_read%2Chdfs_bytes_written&lt;/P&gt;</description>
      <pubDate>Thu, 24 Aug 2017 14:32:02 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Get-actual-query-details-of-all-HIVE-jobs-in-last-30-days/m-p/59172#M67086</guid>
      <dc:creator>ABaaya</dc:creator>
      <dc:date>2017-08-24T14:32:02Z</dc:date>
    </item>
  </channel>
</rss>

