Welcome to Apache Spark 2.0
The release of Spark 2.0 has multiple improvements: API, performance, structured streaming, and SparkR.
Join the DZone community and get the full member experience.Join For Free
apache spark 2.0 was released yesterday in the community. this is a long awaited release that delivers several key features. we are really excited about this release and sincerely thank the apache software foundation and apache spark communities for making this release possible. the most notable improvements in this release are in the areas of api, performance, structured streaming, and sparkr. let’s review some of these improvements:
the unification of dataframe and dataset is now complete. the dataframe remains the primary interface in r and python. another improvement is the elimination of the need to deal with multiple contexts (sparkcontext, sqlcontext, hivecontext). the sparksession context, represented by the variable ‘spark’, is the new entry point to all the awesome spark features, and the other contexts have been deprecated.
project tungsten has completed another major phase and with new completely new stage code generation, significant performance improvements have been delivered. parquet and orc file processing have also delivered performance improvements.
the dataframe is the preferred spark abstraction since it delivers both ease of use through better abstraction and superior performance through the catalyst optimizer. the new structured streaming api delivers streaming with the same dataframe api that we love.
with spark 2.0, sparkr now delivers new algorithms like naive-bayes, k-means clustering and survival regression. the machine learning persistence is also improved and save and load are supported on all models.
there are many other significant improvements and a full list is available from apache spark.
try spark 2.0 now
at hortonworks we have always delivered the latest apache spark shortly after it is released in apache, and this time is no different. we are going to deliver apache spark 2.0 in the following ways:
- as a technical preview with the upcoming hdp release shortly.
- with the hortonworks cloud , you can take out the apache spark 2.0 technical preview for a spin today.
we congratulate the spark community on this major milestone and we continue to deeply participate in the spark community to deliver enterprise-ready apache spark. the best is yet to come, stay tuned.
Published at DZone with permission of Vinay Shukla. See the original article here.
Opinions expressed by DZone contributors are their own.