<?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>topic Spark Running Really slow - help required in Data Engineering</title>
    <link>https://community.databricks.com/t5/data-engineering/spark-running-really-slow-help-required/m-p/30501#M22119</link>
    <description>&lt;P&gt;&lt;/P&gt;
&lt;P&gt;My company urgently needs help, we are having severe performance problems with spark and are having to switch to a different solution if we don't get to the bottom of it. &lt;/P&gt;
&lt;P&gt;We are on 1.3.1, using spark SQL, ORC Files with partitions and caching in memory, yet just a few users making 10 requests each seems to really slow our cluster down and we need to imminently to be able to handle many more requests.&lt;/P&gt;
&lt;P&gt;We have tried increasing nodes, could/memory, stripe sizes, config changes etc to speed up our queries and getting nowhere. We urgently need any help people can offer. Happy to pay, we just need to understand better the limitations of Spark / Spark SQL so we can decide what we need to do.&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 29 May 2015 14:49:19 GMT</pubDate>
    <dc:creator>msj50</dc:creator>
    <dc:date>2015-05-29T14:49:19Z</dc:date>
    <item>
      <title>Spark Running Really slow - help required</title>
      <link>https://community.databricks.com/t5/data-engineering/spark-running-really-slow-help-required/m-p/30501#M22119</link>
      <description>&lt;P&gt;&lt;/P&gt;
&lt;P&gt;My company urgently needs help, we are having severe performance problems with spark and are having to switch to a different solution if we don't get to the bottom of it. &lt;/P&gt;
&lt;P&gt;We are on 1.3.1, using spark SQL, ORC Files with partitions and caching in memory, yet just a few users making 10 requests each seems to really slow our cluster down and we need to imminently to be able to handle many more requests.&lt;/P&gt;
&lt;P&gt;We have tried increasing nodes, could/memory, stripe sizes, config changes etc to speed up our queries and getting nowhere. We urgently need any help people can offer. Happy to pay, we just need to understand better the limitations of Spark / Spark SQL so we can decide what we need to do.&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 29 May 2015 14:49:19 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/spark-running-really-slow-help-required/m-p/30501#M22119</guid>
      <dc:creator>msj50</dc:creator>
      <dc:date>2015-05-29T14:49:19Z</dc:date>
    </item>
    <item>
      <title>Re: Spark Running Really slow - help required</title>
      <link>https://community.databricks.com/t5/data-engineering/spark-running-really-slow-help-required/m-p/30502#M22120</link>
      <description>&lt;P&gt;&lt;/P&gt;
&lt;P&gt;@msj50 - can you share a URL to a notebook that we can look at to evaluate your performance issues?&lt;/P&gt;
&lt;P&gt;Note this is a private comment that only you can see! Please respond with the same.&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 29 May 2015 15:00:16 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/spark-running-really-slow-help-required/m-p/30502#M22120</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-05-29T15:00:16Z</dc:date>
    </item>
    <item>
      <title>Re: Spark Running Really slow - help required</title>
      <link>https://community.databricks.com/t5/data-engineering/spark-running-really-slow-help-required/m-p/30503#M22121</link>
      <description>&lt;P&gt;&lt;/P&gt;
&lt;P&gt;Hi Pat, thanks for getting back to me, we aren't using the databricks cloud, but have our own cluster running on AWS. I created an earlier post with some additional information &lt;A href="https://forums.databricks.com/questions/919/what-is-the-optimal-number-of-cores-i-should-use-f.html" target="test_blank"&gt;https://forums.databricks.com/questions/919/what-is-the-optimal-number-of-cores-i-should-use-f.html&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;We are pretty stuck at the moment so I would be grateful for any help you can provide. &lt;/P&gt;
&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 29 May 2015 15:13:57 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/spark-running-really-slow-help-required/m-p/30503#M22121</guid>
      <dc:creator>msj50</dc:creator>
      <dc:date>2015-05-29T15:13:57Z</dc:date>
    </item>
    <item>
      <title>Re: Spark Running Really slow - help required</title>
      <link>https://community.databricks.com/t5/data-engineering/spark-running-really-slow-help-required/m-p/30504#M22122</link>
      <description>&lt;P&gt;&lt;/P&gt; 
&lt;P&gt;@msj50 - if you can get running in Databricks Cloud, we can certainly help. You can sign-up here: &lt;A href="http://go.databricks.com/register-for-dbc" target="test_blank"&gt;http://go.databricks.com/register-for-dbc&lt;/A&gt;.&lt;/P&gt; 
&lt;P&gt;Otherwise, you may want to post your questions to the users mailing list at: user@spark.apache.org&lt;/P&gt; 
&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 29 May 2015 15:29:31 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/spark-running-really-slow-help-required/m-p/30504#M22122</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-05-29T15:29:31Z</dc:date>
    </item>
    <item>
      <title>Re: Spark Running Really slow - help required</title>
      <link>https://community.databricks.com/t5/data-engineering/spark-running-really-slow-help-required/m-p/30505#M22123</link>
      <description>&lt;P&gt;&lt;/P&gt;
&lt;P&gt;Unfortunately Databricks Cloud doesn't match our requirements at this point in time... I was wondering if Databricks provides any consultancy outside of that, or if you could recommend someone else with a sufficient level of expertise in Spark performance? &lt;/P&gt;
&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 29 May 2015 15:34:06 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/spark-running-really-slow-help-required/m-p/30505#M22123</guid>
      <dc:creator>msj50</dc:creator>
      <dc:date>2015-05-29T15:34:06Z</dc:date>
    </item>
    <item>
      <title>Re: Spark Running Really slow - help required</title>
      <link>https://community.databricks.com/t5/data-engineering/spark-running-really-slow-help-required/m-p/30506#M22124</link>
      <description>&lt;P&gt;&lt;/P&gt;
&lt;P&gt;anybody there?&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 01 Jun 2015 16:02:44 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/spark-running-really-slow-help-required/m-p/30506#M22124</guid>
      <dc:creator>msj50</dc:creator>
      <dc:date>2015-06-01T16:02:44Z</dc:date>
    </item>
    <item>
      <title>Re: Spark Running Really slow - help required</title>
      <link>https://community.databricks.com/t5/data-engineering/spark-running-really-slow-help-required/m-p/30507#M22125</link>
      <description>&lt;P&gt;&lt;/P&gt;
&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;The performance of your Spark queries is severely impacted by the way your underlying data is encoded. If you have a ton of files, sometimes the run time for your Spark job can entirely be dependent on the time it takes to read all of your files. Other times, if you have super large files in an unsplittable format, that can also bottleneck your job. Also, if you do certain queries and your data is heavily skewed towards only a few keys, that can make your job very slow too. &lt;/P&gt;
&lt;P&gt;But in short - it's really hard to say exactly what is slowing down your jobs and what is going on without doing some diagnosis on what you are doing specifically.&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 03 Jun 2015 01:11:50 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/spark-running-really-slow-help-required/m-p/30507#M22125</guid>
      <dc:creator>vida</dc:creator>
      <dc:date>2015-06-03T01:11:50Z</dc:date>
    </item>
    <item>
      <title>Re: Spark Running Really slow - help required</title>
      <link>https://community.databricks.com/t5/data-engineering/spark-running-really-slow-help-required/m-p/30508#M22126</link>
      <description>&lt;P&gt;&lt;/P&gt;
&lt;P&gt;@vida can you please guide what are the steps required to do the proper diagnostics to identify what is actually slowing down the Spark cache data retrieval.&lt;/P&gt;
&lt;P&gt;Is there any official or non official help and support subscription available which i can buy to get some help?&lt;/P&gt;
&lt;P&gt;If you have expertise in spark cache slow data retrieval diagnosis and treatment, please feel free to get in contact with me.&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 06 Jul 2015 07:03:46 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/spark-running-really-slow-help-required/m-p/30508#M22126</guid>
      <dc:creator>happpy</dc:creator>
      <dc:date>2015-07-06T07:03:46Z</dc:date>
    </item>
    <item>
      <title>Re: Spark Running Really slow - help required</title>
      <link>https://community.databricks.com/t5/data-engineering/spark-running-really-slow-help-required/m-p/30509#M22127</link>
      <description>&lt;P&gt;@msj50, @happpy​&amp;nbsp;&lt;/P&gt;&lt;P&gt;I wish I had a neat checklist of things to check for performance, but there are too many potential issues that can cause slowness. These are the most common I've seen:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Too many files on too small of a cluster - if you have more a few thousand files and your files are not huge, consolidating them should be a performance improvement.&lt;/LI&gt;&lt;LI&gt;How many columns does your ORC files have? If you have a ton of columns (hundreds or more), and are doing a select * against your table, even if you are only returning a small number of rows, that can be slow.&lt;/LI&gt;&lt;LI&gt;Are you joining your tables and causing a shuffle of your data - if so, it's expected this will not be fast. Particularly, if your output files are unevenly sized, your shuffle will be bottlenecked on the slowest partition.&lt;/LI&gt;&lt;LI&gt;Are you trying to use Spark in place of a database for production serving purposes? While Spark is meant to be fast, it's not meant to replace the need for a production database. The best architecture for your system may be to use Spark to calculate your summary statistics, but then to write these statistics into a database for serving purposes.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;As you can see - it's just really intricate what issue you may be facing. &lt;/P&gt;&lt;P&gt;Since you both asked about support - with a professional license of Databricks, we can diagnose and work through these issues with you and even advise on architecture level decisions for using Spark. Please email sales@databricks.com to inquire further.&lt;/P&gt;</description>
      <pubDate>Wed, 15 Jul 2015 17:31:43 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/spark-running-really-slow-help-required/m-p/30509#M22127</guid>
      <dc:creator>vida</dc:creator>
      <dc:date>2015-07-15T17:31:43Z</dc:date>
    </item>
    <item>
      <title>Re: Spark Running Really slow - help required</title>
      <link>https://community.databricks.com/t5/data-engineering/spark-running-really-slow-help-required/m-p/30510#M22128</link>
      <description>&lt;P&gt;&lt;/P&gt;
&lt;P&gt;In my project, following solutions were launched one-by-one to improve performance&lt;/P&gt;
&lt;UL&gt;&lt;LI&gt;To store middle-level result, use memory cache instead of HDFS (like: Ignite Cache) &lt;/LI&gt;&lt;LI&gt;Only use spark for complicated data aggregation, to simple result, just do it on driver local.&lt;/LI&gt;&lt;LI&gt;Dump JDBC, use websocket communication instead of web API (Spark &amp;lt;-------&amp;gt; browsers)&lt;/LI&gt;&lt;/UL&gt;
&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 02 Nov 2015 22:29:30 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/spark-running-really-slow-help-required/m-p/30510#M22128</guid>
      <dc:creator>Marco</dc:creator>
      <dc:date>2015-11-02T22:29:30Z</dc:date>
    </item>
    <item>
      <title>Re: Spark Running Really slow - help required</title>
      <link>https://community.databricks.com/t5/data-engineering/spark-running-really-slow-help-required/m-p/30511#M22129</link>
      <description>&lt;P&gt;&lt;/P&gt;
&lt;P&gt;could you please state the work-around from each above bottlenecks? as these (files of various size, tables with high number of columns, Joins etc.) are very common use cases in data processing.&lt;/P&gt; 
&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 15 Sep 2019 09:43:27 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/spark-running-really-slow-help-required/m-p/30511#M22129</guid>
      <dc:creator>pradeepyadagani</dc:creator>
      <dc:date>2019-09-15T09:43:27Z</dc:date>
    </item>
  </channel>
</rss>

