<?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: Can Apache Spark be used for interactive reporting ? in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Can-Apache-Spark-be-used-for-interactive-reporting/m-p/193792#M65437</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;the best option is to get the ETL output to a structured DB for interactive reports. Spark has a high latency compared to them. You might also try to use SparkSQL caching the tables which have to be queried, but I'd not recommend this option.&lt;/P&gt;&lt;P&gt;Spark Structured Streaming would be helpful for you for the ETL. I guess you are going to read in streaming the data from your source RDBMS and perform some transformation on the data and output it to a new RDBMS for your reporting purpose: this ETL application can be written using Spark Structured Streaming. Anyway, at the moment, Spark2 is still not supported in current HDP releases and Spark Structured Streaming is not perfect yet. So, if you have to start your project now, I would suggest you to write a simple SparkSQL application which you can run on Spark 1.6 and later on Spark 2 (when it will be supported) with very few changes.&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Marco&lt;/P&gt;</description>
    <pubDate>Tue, 25 Jul 2017 21:10:46 GMT</pubDate>
    <dc:creator>mgaido1</dc:creator>
    <dc:date>2017-07-25T21:10:46Z</dc:date>
    <item>
      <title>Can Apache Spark be used for interactive reporting ?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Can-Apache-Spark-be-used-for-interactive-reporting/m-p/193791#M65436</link>
      <description>&lt;P&gt;Hi, &lt;/P&gt;&lt;P&gt;I am new to Spark and I would like to ask a question on the use case I am trying to work upon. &lt;/P&gt;&lt;P&gt;Plan is to use Hadoop/Spark as a reporting solution, fetching data from an RDBMS(Oracle) source system, perform ETL and execute report jobs using Spark SQL. &lt;/P&gt;&lt;P&gt;The question is, can Spark be used for interactive report requests as well? For example a user requesting a report from a web application. &lt;/P&gt;&lt;P&gt;Will the new Spark Structured Streaming be helpful to my case?&lt;/P&gt;&lt;P&gt;Or should i get the ETL Output into a structured DB for interactive reports?&lt;/P&gt;&lt;P&gt;Please suggest. Thanks in Advance. &lt;/P&gt;</description>
      <pubDate>Tue, 25 Jul 2017 00:35:52 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Can-Apache-Spark-be-used-for-interactive-reporting/m-p/193791#M65436</guid>
      <dc:creator>canadalove150</dc:creator>
      <dc:date>2017-07-25T00:35:52Z</dc:date>
    </item>
    <item>
      <title>Re: Can Apache Spark be used for interactive reporting ?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Can-Apache-Spark-be-used-for-interactive-reporting/m-p/193792#M65437</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;the best option is to get the ETL output to a structured DB for interactive reports. Spark has a high latency compared to them. You might also try to use SparkSQL caching the tables which have to be queried, but I'd not recommend this option.&lt;/P&gt;&lt;P&gt;Spark Structured Streaming would be helpful for you for the ETL. I guess you are going to read in streaming the data from your source RDBMS and perform some transformation on the data and output it to a new RDBMS for your reporting purpose: this ETL application can be written using Spark Structured Streaming. Anyway, at the moment, Spark2 is still not supported in current HDP releases and Spark Structured Streaming is not perfect yet. So, if you have to start your project now, I would suggest you to write a simple SparkSQL application which you can run on Spark 1.6 and later on Spark 2 (when it will be supported) with very few changes.&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Marco&lt;/P&gt;</description>
      <pubDate>Tue, 25 Jul 2017 21:10:46 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Can-Apache-Spark-be-used-for-interactive-reporting/m-p/193792#M65437</guid>
      <dc:creator>mgaido1</dc:creator>
      <dc:date>2017-07-25T21:10:46Z</dc:date>
    </item>
    <item>
      <title>Re: Can Apache Spark be used for interactive reporting ?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Can-Apache-Spark-be-used-for-interactive-reporting/m-p/193793#M65438</link>
      <description>&lt;P&gt;Thanks Marco. &lt;/P&gt;&lt;P&gt;As we do not want to go back to RDBMS again, can I use Vertica or HBase or Presto as a structured/columnar database equivalent which saves the data post ETL processing from Spark. Would there be any performance benefits between these? Any suggestions?&lt;/P&gt;</description>
      <pubDate>Wed, 26 Jul 2017 04:16:19 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Can-Apache-Spark-be-used-for-interactive-reporting/m-p/193793#M65438</guid>
      <dc:creator>canadalove150</dc:creator>
      <dc:date>2017-07-26T04:16:19Z</dc:date>
    </item>
    <item>
      <title>Re: Can Apache Spark be used for interactive reporting ?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Can-Apache-Spark-be-used-for-interactive-reporting/m-p/193794#M65439</link>
      <description>&lt;P&gt;It depends on which query do you want to run against your data. If you have simple queries on the PKs, for instance, Phoenix+HBase might be the right choice. Presto and Vertica are not meant for interactive queries, AFAIK. Thus, I'd definitely recommend a RDBMS for interactive queries.&lt;/P&gt;</description>
      <pubDate>Thu, 27 Jul 2017 22:35:40 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Can-Apache-Spark-be-used-for-interactive-reporting/m-p/193794#M65439</guid>
      <dc:creator>mgaido1</dc:creator>
      <dc:date>2017-07-27T22:35:40Z</dc:date>
    </item>
  </channel>
</rss>

