<?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 Need Spark Thrift Server Design because STS hang after started about 2 hours in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/Need-Spark-Thrift-Server-Design-because-STS-hang-after/m-p/187007#M149109</link>
    <description>&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;I am running Spark Thrift Server on Yarn, client mode with 50 executor nodes. First I setup -Xmx=25g for driver, the STS run about 30 mins then hang. After that I increase -Xmx=40G for driver, the STS run about 1 hour then hang. I increase -Xmx=56G for driver, STS run about 2 hours then hang again. I could not keep increasing JVM heap. In all cases, I didn't see any out of memory exception in log file. It seems that when I increased JVM heap on driver STS took most of them. I dumped JVM heap and I saw SparkSession objects are biggest object (one of them is about 10G, others are about 4-6G). I don't understand why SparkSession objects are too large like that. Please:&lt;/P&gt;&lt;P&gt;1) Is there any suggestion to help me resolve my issue?&lt;/P&gt;&lt;P&gt;2) Is there any where I can research more about the way STS works. I need a document like &lt;A href="https://cwiki.apache.org/confluence/display/Hive/Design#Design-HiveArchitecture" target="_blank"&gt;https://cwiki.apache.org/confluence/display/Hive/Design#Design-HiveArchitecture&lt;/A&gt; to understand how STS process query from client because it seems that driver memory keep increasing when there are more people connect and query to STS&lt;/P&gt;&lt;P&gt;3) How can I sizing memory that need to configure proper for my driver in STS&lt;/P&gt;&lt;P&gt;Thank you very much,&lt;/P&gt;</description>
    <pubDate>Mon, 13 Nov 2017 22:36:03 GMT</pubDate>
    <dc:creator>anobido</dc:creator>
    <dc:date>2017-11-13T22:36:03Z</dc:date>
  </channel>
</rss>

