<?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 How multiple users run spark-sql query concurrently? in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-multiple-users-run-spark-sql-query-concurrently/m-p/142872#M40108</link>
    <description>&lt;P&gt;Hi, All &lt;/P&gt;&lt;P&gt;
I run spark-sql queries with a thrift server. &lt;/P&gt;&lt;P&gt;I know that if multiple sql queries are submitted through the thrift server each query would be run sequentially. &lt;/P&gt;&lt;P&gt;
If many users want to query the table on a spark cluster over yarn at the same time, how these requested queries could be run concurrently?&lt;/P&gt;&lt;P&gt;The requested query do not update the table and just query &lt;/P&gt;&lt;P&gt;
I have an idea that because a thrift server has dedicated executor cluster if multiple thrift servers are used multiple queries could be processed concurrently. &lt;/P&gt;&lt;P&gt;
Is there any idea about this situation? &lt;/P&gt;&lt;P&gt;Thanks in advance. &lt;/P&gt;&lt;P&gt;Park.&lt;/P&gt;</description>
    <pubDate>Thu, 08 Sep 2016 19:48:58 GMT</pubDate>
    <dc:creator>younggeun_park</dc:creator>
    <dc:date>2016-09-08T19:48:58Z</dc:date>
    <item>
      <title>How multiple users run spark-sql query concurrently?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-multiple-users-run-spark-sql-query-concurrently/m-p/142872#M40108</link>
      <description>&lt;P&gt;Hi, All &lt;/P&gt;&lt;P&gt;
I run spark-sql queries with a thrift server. &lt;/P&gt;&lt;P&gt;I know that if multiple sql queries are submitted through the thrift server each query would be run sequentially. &lt;/P&gt;&lt;P&gt;
If many users want to query the table on a spark cluster over yarn at the same time, how these requested queries could be run concurrently?&lt;/P&gt;&lt;P&gt;The requested query do not update the table and just query &lt;/P&gt;&lt;P&gt;
I have an idea that because a thrift server has dedicated executor cluster if multiple thrift servers are used multiple queries could be processed concurrently. &lt;/P&gt;&lt;P&gt;
Is there any idea about this situation? &lt;/P&gt;&lt;P&gt;Thanks in advance. &lt;/P&gt;&lt;P&gt;Park.&lt;/P&gt;</description>
      <pubDate>Thu, 08 Sep 2016 19:48:58 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-multiple-users-run-spark-sql-query-concurrently/m-p/142872#M40108</guid>
      <dc:creator>younggeun_park</dc:creator>
      <dc:date>2016-09-08T19:48:58Z</dc:date>
    </item>
    <item>
      <title>Re: How multiple users run spark-sql query concurrently?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-multiple-users-run-spark-sql-query-concurrently/m-p/142873#M40109</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/2083/younggeunpark.html" nodeid="2083"&gt;@Young-Geun Park&lt;/A&gt; &lt;/P&gt;&lt;P&gt;Have you taken a look at &lt;A target="_blank" href="http://spark.apache.org/docs/1.6.2/job-scheduling.html"&gt;http://spark.apache.org/docs/1.6.2/job-scheduling.html&lt;/A&gt;?  Also, if you start the thrift server in yarn-client mode, you should be able to take advantage of YARN resource scheduling and queues.&lt;/P&gt;&lt;P&gt;&lt;A target="_blank" href="https://docs.hortonworks.com/HDPDocuments/HDP2/HDP-2.4.0/bk_installing_manually_book/content/starting_sts.html"&gt;https://docs.hortonworks.com/HDPDocuments/HDP2/HDP-2.4.0/bk_installing_manually_book/content/starting_sts.html&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 08 Sep 2016 23:06:52 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-multiple-users-run-spark-sql-query-concurrently/m-p/142873#M40109</guid>
      <dc:creator>myoung</dc:creator>
      <dc:date>2016-09-08T23:06:52Z</dc:date>
    </item>
  </channel>
</rss>

