<?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 Hive query execution taking longer time in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Hive-query-execution-taking-longer-time/m-p/201294#M65640</link>
    <description>&lt;P&gt;hive query is running for longer time, with 2 mappers and 2 Reducers.
One of the reducer is taking1000 tasks and other reducer has only 1 task. Can you explain why the tasks are not evenly split between reducers&lt;/P&gt;</description>
    <pubDate>Fri, 28 Jul 2017 00:02:35 GMT</pubDate>
    <dc:creator>rdevprasad1</dc:creator>
    <dc:date>2017-07-28T00:02:35Z</dc:date>
    <item>
      <title>Hive query execution taking longer time</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Hive-query-execution-taking-longer-time/m-p/201294#M65640</link>
      <description>&lt;P&gt;hive query is running for longer time, with 2 mappers and 2 Reducers.
One of the reducer is taking1000 tasks and other reducer has only 1 task. Can you explain why the tasks are not evenly split between reducers&lt;/P&gt;</description>
      <pubDate>Fri, 28 Jul 2017 00:02:35 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Hive-query-execution-taking-longer-time/m-p/201294#M65640</guid>
      <dc:creator>rdevprasad1</dc:creator>
      <dc:date>2017-07-28T00:02:35Z</dc:date>
    </item>
    <item>
      <title>Re: Hive query execution taking longer time</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Hive-query-execution-taking-longer-time/m-p/201295#M65641</link>
      <description>&lt;P&gt;Time taking for Query execution depends on multiple factors&lt;/P&gt;&lt;P style="margin-left: 20px;"&gt;1. Mainly the Hive query design, joins and the columns being pulled&lt;/P&gt;&lt;P style="margin-left: 20px;"&gt;2. YARN/TEZ container size allocated, depends where you are running &lt;/P&gt;&lt;P style="margin-left: 20px;"&gt;3. Check the queue you are running your job, check if queue is free&lt;/P&gt;&lt;P style="margin-left: 20px;"&gt;to answer your question on why one of the reducer is taking 1000 tasks &lt;/P&gt;&lt;P style="margin-left: 20px;"&gt;please the hive.exec.reducers.max value defined &lt;/P&gt;&lt;P style="margin-left: 20px;"&gt;If you want to play and modify the number of reducers, try changing the value of hive.exec.reducers.bytes.per.reducer(preferably assign a smaller, as this value is inversely proportional to number of reducers)&lt;/P&gt;&lt;P style="margin-left: 20px;"&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 28 Jul 2017 17:51:53 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Hive-query-execution-taking-longer-time/m-p/201295#M65641</guid>
      <dc:creator>sreeviswa_athic</dc:creator>
      <dc:date>2017-07-28T17:51:53Z</dc:date>
    </item>
  </channel>
</rss>

