<?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: 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/187015#M149117</link>
    <description>&lt;P&gt;You may also be facing a bug. Check below links and your spark version.&lt;/P&gt;&lt;P&gt;&lt;A href="https://issues.apache.org/jira/browse/SPARK-18857"&gt;https://issues.apache.org/jira/browse/SPARK-18857&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://forums.databricks.com/questions/344/how-does-the-jdbc-odbc-thrift-server-stream-query.html"&gt;https://forums.databricks.com/questions/344/how-does-the-jdbc-odbc-thrift-server-stream-query.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://stackoverflow.com/questions/35046692/spark-incremental-collect-to-a-partition-causes-outofmemory-in-heap"&gt;https://stackoverflow.com/questions/35046692/spark-incremental-collect-to-a-partition-causes-outofmemory-in-heap&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Regardless, please try with &lt;EM&gt;spark.sql.thriftServer.incrementalCollect true &lt;/EM&gt;in thrift conf or start thrift-server with that.&lt;/P&gt;&lt;P&gt;It is set to False by default, this would be an important thing to check and has a direct implication on driver heap (if you're in fact running out of that). Read link below:&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.russellspitzer.com/2017/05/19/Spark-Sql-Thriftserver/" target="_blank"&gt;http://www.russellspitzer.com/2017/05/19/Spark-Sql-Thriftserver/&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 16 Nov 2017 13:59:06 GMT</pubDate>
    <dc:creator>tsharma</dc:creator>
    <dc:date>2017-11-16T13:59:06Z</dc:date>
  </channel>
</rss>

