<?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: Why can't I run more than 1 query in parallel in Hive? in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Why-can-t-I-run-more-than-1-query-in-parallel-in-Hive/m-p/299301#M64179</link>
    <description>&lt;P&gt;There are 2 things forground thread and background thread.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Foreground thread is used for parsing/complilation.The&amp;nbsp;hive.server2.async.exec.threads determine how many concurrent threads can Hiveserver2 handle,it defaults to 500.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Background thread comes after compliation/parsing phase,where it runs Tez jobs. This depends on number of Tez AM .&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In this case, you need to increase the Tez AM's.&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;hive.server2.tez.sessions.per.default.queue=2&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;So if you have one Hiveserver2,it will run 2 background threads.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please refer below document for more information:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;A href="https://community.cloudera.com/t5/Community-Articles/Hive-Understanding-concurrent-sessions-queue-allocation/ta-p/247407" target="_blank"&gt;https://community.cloudera.com/t5/Community-Articles/Hive-Understanding-concurrent-sessions-queue-allocation/ta-p/247407&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 08 Jul 2020 08:38:08 GMT</pubDate>
    <dc:creator>asish</dc:creator>
    <dc:date>2020-07-08T08:38:08Z</dc:date>
    <item>
      <title>Why can't I run more than 1 query in parallel in Hive?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Why-can-t-I-run-more-than-1-query-in-parallel-in-Hive/m-p/233632#M64171</link>
      <description>&lt;P&gt;I have a small one node hdp2.6 cluster (8 CPUs, 32GB ram), and I cannot run more than 1 query at a time, although I was pretty sure that I configures the relevant settings to allow more than one container.&lt;/P&gt;&lt;P&gt;The relevant configs are:&lt;/P&gt;&lt;PRE&gt;yarn-site/yarn.nodemanager.resource.memory-mb = 27660
yarn-site/yarn.scheduler.minimum-allocation-mb = 5532
yarn-site/yarn.scheduler.maximum-allocation-mb = 27660
mapred-site/mapreduce.map.memory.mb = 5532
mapred-site/mapreduce.reduce.memory.mb = 11064
mapred-site/mapreduce.map.java.opts = -Xmx4425m
mapred-site/mapreduce.reduce.java.opts =  -Xmx8851m
mapred-site/yarn.app.mapreduce.am.resource.mb = 11059
mapred-site/yarn.app.mapreduce.am.command-opts = -Xmx8851m -Dhdp.version=${hdp.version}

hive-site/hive.execution.engine = tez
hive-site/hive.tez.container.size = 5532
hive-site/hive.auto.convert.join.noconditionaltask.size = 1546859315
tez-site/tez.runtime.unordered.output.buffer.size-mb = 414
tez-interactive-site/tez.am.resource.memory.mb = 5532
tez-site/tez.am.resource.memory.mb = 5532
tez-site/tez.task.resource.memory.mb = 5532
tez-site/tez.runtime.io.sort.mb = 1351
hive-site/hive.tez.java.opts = -server -Xmx4425m -Djava.net.preferIPv4Stack=true -XX:NewRatio=8 -XX:+UseNUMA -XX:+UseParallelGC -XX:+PrintGCDetails -verbose:gc -XX:+PrintGCTimeStamps

capacity-scheduler/yarn.scheduler.capacity.resource-calculator = org.apache.hadoop.yarn.util.resource.DominantResourceCalculatororg.apache.hadoop.yarn.util.resource.DominantResourceCalculator
yarn-site/yarn.nodemanager.resource.cpu-vcores = 6
yarn-site/yarn.scheduler.maximum-allocation-vcores = 6

mapred-site/mapreduce.map.output.compress = true
hive-site/hive.exec.compress.intermediate = true
hive-site/hive.exec.compress.output = true


hive-interactive-env/enable_hive_interactive = false


&lt;/PRE&gt;&lt;P&gt;Which if I understand it well, gives 5GB per container. &lt;/P&gt;&lt;P&gt;If I run a hive query, it will use 5GB, 1 core, leaving about 15GB and 5 cores for the rest. I do not understand why the next query cannot start at the same time. &lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="17639-hive.png" style="width: 1703px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/14715i23181DB4EB9B02DD/image-size/medium?v=v2&amp;amp;px=400" role="button" title="17639-hive.png" alt="17639-hive.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Any help would be much welcome.&lt;/P&gt;</description>
      <pubDate>Sun, 18 Aug 2019 00:11:18 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Why-can-t-I-run-more-than-1-query-in-parallel-in-Hive/m-p/233632#M64171</guid>
      <dc:creator>guillaume_roger</dc:creator>
      <dc:date>2019-08-18T00:11:18Z</dc:date>
    </item>
    <item>
      <title>Re: Why can't I run more than 1 query in parallel in Hive?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Why-can-t-I-run-more-than-1-query-in-parallel-in-Hive/m-p/233633#M64172</link>
      <description>&lt;P&gt;@&lt;A href="https://community.hortonworks.com/users/13690/guillaumeroger.html"&gt;Guillaume Roger&lt;/A&gt;: The issue seems to be happening as the maximum application master limit has been set to 20%. &lt;/P&gt;&lt;P&gt;Maximum percent of resources in the cluster which can be used to run application masters - controls number of concurrent active applications. Limits on each queue are directly proportional to their queue capacities and user limits. &lt;/P&gt;&lt;P&gt;Since the limit here has been reached, I guess the application is not able to spawn another application master and hence the query is not running. Can we try increasing the parameter yarn.scheduler.capacity.maximum-am-resource-percent / yarn.scheduler.capacity.&amp;lt;queue-path&amp;gt;.maximum-am-resource-percent to 35% and see if it resolves the issue?&lt;/P&gt;</description>
      <pubDate>Tue, 04 Jul 2017 13:24:24 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Why-can-t-I-run-more-than-1-query-in-parallel-in-Hive/m-p/233633#M64172</guid>
      <dc:creator>vasubramanian</dc:creator>
      <dc:date>2017-07-04T13:24:24Z</dc:date>
    </item>
    <item>
      <title>Re: Why can't I run more than 1 query in parallel in Hive?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Why-can-t-I-run-more-than-1-query-in-parallel-in-Hive/m-p/233634#M64173</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/14247/vasubramanian.html" nodeid="14247"&gt;@Vani&lt;/A&gt;, Thanks for your answer.&lt;/P&gt;&lt;P&gt;I do not see an immediate change, but  I carry on looking in this direction.&lt;/P&gt;&lt;P&gt;What would be a good logical value for this maximum-am-resource-percent?&lt;/P&gt;&lt;P&gt;Currently the AM memory (tez-site/tez.am.resource.memory.mb) is set to the min container size (5GB in my case). Does that make sense? &lt;/P&gt;</description>
      <pubDate>Tue, 04 Jul 2017 20:22:13 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Why-can-t-I-run-more-than-1-query-in-parallel-in-Hive/m-p/233634#M64173</guid>
      <dc:creator>guillaume_roger</dc:creator>
      <dc:date>2017-07-04T20:22:13Z</dc:date>
    </item>
    <item>
      <title>Re: Why can't I run more than 1 query in parallel in Hive?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Why-can-t-I-run-more-than-1-query-in-parallel-in-Hive/m-p/233635#M64174</link>
      <description>&lt;P&gt;@&lt;A href="https://community.hortonworks.com/users/13690/guillaumeroger.html"&gt;Guillaume Roger &lt;/A&gt;&lt;/P&gt;&lt;P&gt;If AM memory (tez-site/tez.am.resource.memory.mb) is set to the min container size, only 1 application can be launched at any given point of time. Please tune the property depending on your requirement . &lt;/P&gt;</description>
      <pubDate>Tue, 04 Jul 2017 21:32:31 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Why-can-t-I-run-more-than-1-query-in-parallel-in-Hive/m-p/233635#M64174</guid>
      <dc:creator>vasubramanian</dc:creator>
      <dc:date>2017-07-04T21:32:31Z</dc:date>
    </item>
    <item>
      <title>Re: Why can't I run more than 1 query in parallel in Hive?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Why-can-t-I-run-more-than-1-query-in-parallel-in-Hive/m-p/233636#M64175</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/14247/vasubramanian.html" nodeid="14247"&gt;@Vani&lt;/A&gt; I am trying to understand what will this memory be used for. My understanding is that:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;any application will require its own AM&lt;/LI&gt;&lt;LI&gt;one AM will use 1 container only&lt;/LI&gt;&lt;LI&gt;tez-site/tez.am.resource.memory.mb defines the memory usable by the total of all AM&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;So logically &lt;/P&gt;&lt;UL&gt;&lt;LI&gt;all AM memory should never be more than half of the available memory (for the worst case scenario where all application only use one container)&lt;/LI&gt;&lt;LI&gt;I should allocate in tez-site/tez.am.resource.memory.mb (minimum container size * expected number of applications)&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Could you confirm my understanding?&lt;/P&gt;</description>
      <pubDate>Thu, 06 Jul 2017 17:44:32 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Why-can-t-I-run-more-than-1-query-in-parallel-in-Hive/m-p/233636#M64175</guid>
      <dc:creator>guillaume_roger</dc:creator>
      <dc:date>2017-07-06T17:44:32Z</dc:date>
    </item>
    <item>
      <title>Re: Why can't I run more than 1 query in parallel in Hive?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Why-can-t-I-run-more-than-1-query-in-parallel-in-Hive/m-p/233637#M64176</link>
      <description>&lt;A rel="user" href="https://community.cloudera.com/users/13690/guillaumeroger.html" nodeid="13690"&gt;@Guillaume Roger&lt;/A&gt;&lt;P&gt;Hoping the attached link will help:-&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.hortonworks.com/articles/14309/demystify-tez-tuning-step-by-step.html" target="_blank"&gt;https://community.hortonworks.com/articles/14309/demystify-tez-tuning-step-by-step.html&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 10 Jul 2017 11:55:15 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Why-can-t-I-run-more-than-1-query-in-parallel-in-Hive/m-p/233637#M64176</guid>
      <dc:creator>vasubramanian</dc:creator>
      <dc:date>2017-07-10T11:55:15Z</dc:date>
    </item>
    <item>
      <title>Re: Why can't I run more than 1 query in parallel in Hive?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Why-can-t-I-run-more-than-1-query-in-parallel-in-Hive/m-p/233638#M64177</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/13690/guillaumeroger.html" nodeid="13690"&gt;@Guillaume Roger&lt;/A&gt;, did you manage to sort your issue out. I am facing the same problem i.e unable to run 2 concurrent jobs although there is enought memory to spin new containers.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Any help will be highly appreciated..&lt;/P&gt;</description>
      <pubDate>Thu, 11 Jul 2019 07:06:05 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Why-can-t-I-run-more-than-1-query-in-parallel-in-Hive/m-p/233638#M64177</guid>
      <dc:creator>arun_pnu</dc:creator>
      <dc:date>2019-07-11T07:06:05Z</dc:date>
    </item>
    <item>
      <title>Re: Why can't I run more than 1 query in parallel in Hive?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Why-can-t-I-run-more-than-1-query-in-parallel-in-Hive/m-p/299298#M64178</link>
      <description>&lt;P&gt;Stuck here with the same issue&amp;nbsp; on HDP 3.0.1, still searching the correct parameters to set.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Platform is Comunity Edition on PowerPC&lt;/P&gt;</description>
      <pubDate>Wed, 08 Jul 2020 06:37:40 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Why-can-t-I-run-more-than-1-query-in-parallel-in-Hive/m-p/299298#M64178</guid>
      <dc:creator>rhj</dc:creator>
      <dc:date>2020-07-08T06:37:40Z</dc:date>
    </item>
    <item>
      <title>Re: Why can't I run more than 1 query in parallel in Hive?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Why-can-t-I-run-more-than-1-query-in-parallel-in-Hive/m-p/299301#M64179</link>
      <description>&lt;P&gt;There are 2 things forground thread and background thread.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Foreground thread is used for parsing/complilation.The&amp;nbsp;hive.server2.async.exec.threads determine how many concurrent threads can Hiveserver2 handle,it defaults to 500.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Background thread comes after compliation/parsing phase,where it runs Tez jobs. This depends on number of Tez AM .&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In this case, you need to increase the Tez AM's.&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;hive.server2.tez.sessions.per.default.queue=2&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;So if you have one Hiveserver2,it will run 2 background threads.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please refer below document for more information:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;A href="https://community.cloudera.com/t5/Community-Articles/Hive-Understanding-concurrent-sessions-queue-allocation/ta-p/247407" target="_blank"&gt;https://community.cloudera.com/t5/Community-Articles/Hive-Understanding-concurrent-sessions-queue-allocation/ta-p/247407&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 08 Jul 2020 08:38:08 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Why-can-t-I-run-more-than-1-query-in-parallel-in-Hive/m-p/299301#M64179</guid>
      <dc:creator>asish</dc:creator>
      <dc:date>2020-07-08T08:38:08Z</dc:date>
    </item>
    <item>
      <title>Re: Why can't I run more than 1 query in parallel in Hive?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Why-can-t-I-run-more-than-1-query-in-parallel-in-Hive/m-p/299399#M64180</link>
      <description>&lt;P&gt;just i have&amp;nbsp;&lt;SPAN&gt;hive.server2.tez.sessions.per.default.queue=4 ...&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 09 Jul 2020 09:50:48 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Why-can-t-I-run-more-than-1-query-in-parallel-in-Hive/m-p/299399#M64180</guid>
      <dc:creator>rhj</dc:creator>
      <dc:date>2020-07-09T09:50:48Z</dc:date>
    </item>
    <item>
      <title>Re: Why can't I run more than 1 query in parallel in Hive?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Why-can-t-I-run-more-than-1-query-in-parallel-in-Hive/m-p/299403#M64181</link>
      <description>&lt;P&gt;Can you try running 2 queries simultaneously and check?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 09 Jul 2020 11:00:00 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Why-can-t-I-run-more-than-1-query-in-parallel-in-Hive/m-p/299403#M64181</guid>
      <dc:creator>asish</dc:creator>
      <dc:date>2020-07-09T11:00:00Z</dc:date>
    </item>
    <item>
      <title>Re: can you test 2 queries and check</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Why-can-t-I-run-more-than-1-query-in-parallel-in-Hive/m-p/299406#M64182</link>
      <description>&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="000809_20200709_130929_WN00066156@CN2911IT002481.png" style="width: 999px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/28235i0FA08AFEA1D9BE44/image-size/large?v=v2&amp;amp;px=999" role="button" title="000809_20200709_130929_WN00066156@CN2911IT002481.png" alt="000809_20200709_130929_WN00066156@CN2911IT002481.png" /&gt;&lt;/span&gt;yes, here is the screenshot:&lt;/P&gt;&lt;P&gt;query 1 (green) is started and query 2 (yellow) waits until all the jobs of query one are done&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="000808_20200709_130749_WN00066156@CN2911IT002481.png" style="width: 999px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/28234i26B34573ABC57102/image-size/large?v=v2&amp;amp;px=999" role="button" title="000808_20200709_130749_WN00066156@CN2911IT002481.png" alt="000808_20200709_130749_WN00066156@CN2911IT002481.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 09 Jul 2020 11:10:26 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Why-can-t-I-run-more-than-1-query-in-parallel-in-Hive/m-p/299406#M64182</guid>
      <dc:creator>rhj</dc:creator>
      <dc:date>2020-07-09T11:10:26Z</dc:date>
    </item>
    <item>
      <title>Re: can you test 2 queries and check</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Why-can-t-I-run-more-than-1-query-in-parallel-in-Hive/m-p/299408#M64183</link>
      <description>&lt;P&gt;I have checked the screenshot. This is not application concurrency. Reducer phases1 is waiting for all the mappers to get finished.&amp;nbsp; DAG is&amp;nbsp; decided by the optimizer.&lt;/P&gt;&lt;P&gt;Are you using MAPREDUCE or Tez as an execution engine?&lt;/P&gt;</description>
      <pubDate>Thu, 09 Jul 2020 11:13:49 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Why-can-t-I-run-more-than-1-query-in-parallel-in-Hive/m-p/299408#M64183</guid>
      <dc:creator>asish</dc:creator>
      <dc:date>2020-07-09T11:13:49Z</dc:date>
    </item>
    <item>
      <title>Re: can you test 2 queries and check</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Why-can-t-I-run-more-than-1-query-in-parallel-in-Hive/m-p/299409#M64184</link>
      <description>&lt;P&gt;I suppose to run TEZ, because I found all the configurations for TEZ ...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But I'm bloody new in this ... So, supposedly I 'm irgnorant too.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for your fast responses!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 09 Jul 2020 11:16:28 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Why-can-t-I-run-more-than-1-query-in-parallel-in-Hive/m-p/299409#M64184</guid>
      <dc:creator>rhj</dc:creator>
      <dc:date>2020-07-09T11:16:28Z</dc:date>
    </item>
    <item>
      <title>Re: can you test 2 queries and check</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Why-can-t-I-run-more-than-1-query-in-parallel-in-Hive/m-p/299413#M64185</link>
      <description>&lt;P&gt;In Mapreduce the Reducer output would wait after all ten Mapper is finished. We recommend to use Tez.&lt;/P&gt;</description>
      <pubDate>Thu, 09 Jul 2020 11:21:15 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Why-can-t-I-run-more-than-1-query-in-parallel-in-Hive/m-p/299413#M64185</guid>
      <dc:creator>asish</dc:creator>
      <dc:date>2020-07-09T11:21:15Z</dc:date>
    </item>
    <item>
      <title>Re: can you test 2 queries and check</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Why-can-t-I-run-more-than-1-query-in-parallel-in-Hive/m-p/299415#M64186</link>
      <description>&lt;P&gt;In my hive-config (Ambari) are plenty of tez-parameters - so I supposed it is TEZ. I did not found a parameter as 'use tez' or 'use mapreduce' ...&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;hive.&lt;/SPAN&gt;&lt;SPAN&gt;convert.&lt;/SPAN&gt;&lt;SPAN&gt;join.&lt;/SPAN&gt;&lt;SPAN&gt;bucket.&lt;/SPAN&gt;&lt;SPAN&gt;mapjoin.&lt;/SPAN&gt;&lt;SPAN&gt;tez is False - may for this ?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;My queries are running from beeline&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 09 Jul 2020 11:32:00 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Why-can-t-I-run-more-than-1-query-in-parallel-in-Hive/m-p/299415#M64186</guid>
      <dc:creator>rhj</dc:creator>
      <dc:date>2020-07-09T11:32:00Z</dc:date>
    </item>
    <item>
      <title>Re: can you test 2 queries and check</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Why-can-t-I-run-more-than-1-query-in-parallel-in-Hive/m-p/299416#M64187</link>
      <description>&lt;P&gt;This is decided by the optimiser.&lt;/P&gt;&lt;P&gt;Until Mappers are finished for that query,Reducers would not be stated.&lt;/P&gt;</description>
      <pubDate>Thu, 09 Jul 2020 12:02:21 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Why-can-t-I-run-more-than-1-query-in-parallel-in-Hive/m-p/299416#M64187</guid>
      <dc:creator>asish</dc:creator>
      <dc:date>2020-07-09T12:02:21Z</dc:date>
    </item>
    <item>
      <title>Re: can you test 2 queries and check</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Why-can-t-I-run-more-than-1-query-in-parallel-in-Hive/m-p/299417#M64188</link>
      <description>&lt;P&gt;I'm searching now the correct information for the framework, where I found yarn and NOT yarn-tez in the mapred-site-xml ...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm totally new to this architecture, so I have to try&amp;nbsp; - I did not find a docu apllicable to our installation (hdp 3.0.1 on powerpc) with ambari.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But thanks a lot, at least I understand, that we are NOT using TEZ ...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 09 Jul 2020 12:14:04 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Why-can-t-I-run-more-than-1-query-in-parallel-in-Hive/m-p/299417#M64188</guid>
      <dc:creator>rhj</dc:creator>
      <dc:date>2020-07-09T12:14:04Z</dc:date>
    </item>
    <item>
      <title>Re: can you test 2 queries and check</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Why-can-t-I-run-more-than-1-query-in-parallel-in-Hive/m-p/299418#M64189</link>
      <description>&lt;P&gt;Thank you for the update. Tez fixes this kind of issue.&lt;/P&gt;</description>
      <pubDate>Thu, 09 Jul 2020 12:18:23 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Why-can-t-I-run-more-than-1-query-in-parallel-in-Hive/m-p/299418#M64189</guid>
      <dc:creator>asish</dc:creator>
      <dc:date>2020-07-09T12:18:23Z</dc:date>
    </item>
    <item>
      <title>Re: can you test 2 queries and check</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Why-can-t-I-run-more-than-1-query-in-parallel-in-Hive/m-p/299422#M64190</link>
      <description>&lt;P&gt;Unfortunately I'm still stick with the activation of tez under hive.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;setting the properties:&lt;/P&gt;&lt;P&gt;mapred-site.xml&lt;BR /&gt;&amp;lt;property&amp;gt;&lt;BR /&gt;&amp;lt;name&amp;gt;mapreduce.framework.name&amp;lt;/name&amp;gt;&lt;BR /&gt;&amp;lt;value&amp;gt;yarn-tez&amp;lt;/value&amp;gt;&lt;BR /&gt;&amp;lt;/property&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;hive-site.xml&lt;/P&gt;&lt;P&gt;&amp;lt;property&amp;gt;&lt;BR /&gt;&amp;lt;name&amp;gt;hive.execution.engine&amp;lt;/name&amp;gt;&lt;BR /&gt;&amp;lt;value&amp;gt;tez&amp;lt;/value&amp;gt;&lt;BR /&gt;&amp;lt;/property&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;adding in my beeline query&lt;/P&gt;&lt;P&gt;set hive.execution.engine=tez;&amp;nbsp; ## in the query (now it is faster!)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;still is always running only ONE of the two, still saying Starting task [Stage-1:MAPRED] in parallel&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 09 Jul 2020 12:45:54 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Why-can-t-I-run-more-than-1-query-in-parallel-in-Hive/m-p/299422#M64190</guid>
      <dc:creator>rhj</dc:creator>
      <dc:date>2020-07-09T12:45:54Z</dc:date>
    </item>
  </channel>
</rss>

