<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>
Spark Release 1.0.0 | Apache Spark
</title>
<!-- Bootstrap core CSS -->
<link href="/css/cerulean.min.css" rel="stylesheet">
<link href="/css/custom.css" rel="stylesheet">
<script type="text/javascript">
<!-- Google Analytics initialization -->
var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-32518208-2']);
_gaq.push(['_trackPageview']);
(function() {
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
})();
<!-- Adds slight delay to links to allow async reporting -->
function trackOutboundLink(link, category, action) {
try {
_gaq.push(['_trackEvent', category , action]);
} catch(err){}
setTimeout(function() {
document.location.href = link.href;
}, 100);
}
</script>
<!-- HTML5 shim and Respond.js IE8 support of HTML5 elements and media queries -->
<!--[if lt IE 9]>
<script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script>
<script src="https://oss.maxcdn.com/libs/respond.js/1.3.0/respond.min.js"></script>
<![endif]-->
</head>
<body>
<script src="https://code.jquery.com/jquery.js"></script>
<script src="//netdna.bootstrapcdn.com/bootstrap/3.0.3/js/bootstrap.min.js"></script>
<script src="/js/lang-tabs.js"></script>
<script src="/js/downloads.js"></script>
<div class="container" style="max-width: 1200px;">
<div class="masthead">
<p class="lead">
<a href="/">
<img src="/images/spark-logo.png"
style="height:100px; width:auto; vertical-align: bottom; margin-top: 20px;"></a><span class="tagline">
Lightning-fast cluster computing
</span>
</p>
</div>
<nav class="navbar navbar-default" role="navigation">
<!-- Brand and toggle get grouped for better mobile display -->
<div class="navbar-header">
<button type="button" class="navbar-toggle" data-toggle="collapse"
data-target="#navbar-collapse-1">
<span class="sr-only">Toggle navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
</div>
<!-- Collect the nav links, forms, and other content for toggling -->
<div class="collapse navbar-collapse" id="navbar-collapse-1">
<ul class="nav navbar-nav">
<li><a href="/downloads.html">Download</a></li>
<li class="dropdown">
<a href="#" class="dropdown-toggle" data-toggle="dropdown">
Libraries <b class="caret"></b>
</a>
<ul class="dropdown-menu">
<li><a href="/sql/">Spark SQL</a></li>
<li><a href="/streaming/">Spark Streaming</a></li>
<li><a href="/mllib/">MLlib (machine learning)</a></li>
<li><a href="/graphx/">GraphX (graph)</a></li>
</ul>
</li>
<li class="dropdown">
<a href="#" class="dropdown-toggle" data-toggle="dropdown">
Documentation <b class="caret"></b>
</a>
<ul class="dropdown-menu">
<li><a href="/documentation.html">Overview</a></li>
<li><a href="/docs/latest/">Latest Release (Spark 1.1.1)</a></li>
</ul>
</li>
<li><a href="/examples.html">Examples</a></li>
<li class="dropdown">
<a href="/community.html" class="dropdown-toggle" data-toggle="dropdown">
Community <b class="caret"></b>
</a>
<ul class="dropdown-menu">
<li><a href="/community.html">Mailing Lists</a></li>
<li><a href="/community.html#events">Events and Meetups</a></li>
<li><a href="/community.html#history">Project History</a></li>
<li><a href="https://cwiki.apache.org/confluence/display/SPARK/Powered+By+Spark">Powered By</a></li>
<li><a href="https://cwiki.apache.org/confluence/display/SPARK/Committers">Project Committers</a></li>
<li><a href="https://issues.apache.org/jira/browse/SPARK">Issue Tracker</a></li>
</ul>
</li>
<li><a href="/faq.html">FAQ</a></li>
</ul>
</div>
<!-- /.navbar-collapse -->
</nav>
<div class="row">
<div class="col-md-3 col-md-push-9">
<div class="news" style="margin-bottom: 20px;">
<h5>Latest News</h5>
<ul class="list-unstyled">
<li><a href="/news/spark-1-1-1-released.html">Spark 1.1.1 released</a>
<span class="small">(Nov 26, 2014)</span></li>
<li><a href="/news/registration-open-for-spark-summit-east.html">Registration open for Spark Summit East 2015</a>
<span class="small">(Nov 26, 2014)</span></li>
<li><a href="/news/spark-wins-daytona-gray-sort-100tb-benchmark.html">Spark wins Daytona Gray Sort 100TB Benchmark</a>
<span class="small">(Nov 05, 2014)</span></li>
<li><a href="/news/proposals-open-for-spark-summit-east.html">Submissions open for Spark Summit East 2015 in New York</a>
<span class="small">(Oct 18, 2014)</span></li>
</ul>
<p class="small" style="text-align: right;"><a href="/news/index.html">Archive</a></p>
</div>
<div class="hidden-xs hidden-sm">
<a href="/downloads.html" class="btn btn-success btn-lg btn-block" style="margin-bottom: 30px;">
Download Spark
</a>
<p style="font-size: 16px; font-weight: 500; color: #555;">
Built-in Libraries:
</p>
<ul class="list-narrow">
<li><a href="/sql/">Spark SQL</a></li>
<li><a href="/streaming/">Spark Streaming</a></li>
<li><a href="/mllib/">MLlib (machine learning)</a></li>
<li><a href="/graphx/">GraphX (graph)</a></li>
</ul>
</div>
</div>
<div class="col-md-9 col-md-pull-3">
<h2>Spark Release 1.0.0</h2>
<p>Spark 1.0.0 is a major release marking the start of the 1.X line. This release brings both a variety of new features and strong API compatibility guarantees throughout the 1.X line. Spark 1.0 adds a new major component, <a href="/docs/latest/sql-programming-guide.html">Spark SQL</a>, for loading and manipulating structured data in Spark. It includes major extensions to all of Spark’s existing standard libraries (<a href="/docs/latest/mllib-guide.html">ML</a>, <a href="/docs/latest/streaming-programming-guide.html">Streaming</a>, and <a href="/docs/latest/graphx-programming-guide.html">GraphX</a>) while also enhancing language support in Java and Python. Finally, Spark 1.0 brings operational improvements including full support for the Hadoop/YARN security model and a unified submission process for all supported cluster managers.</p>
<p>You can download Spark 1.0.0 as either a
<a href="http://d3kbcqa49mib13.cloudfront.net/spark-1.0.0.tgz" onclick="trackOutboundLink(this, 'Release Download Links', 'cloudfront_spark-1.0.0.tgz'); return false;">source package</a>
(5 MB tgz) or a prebuilt package for
<a href="http://d3kbcqa49mib13.cloudfront.net/spark-1.0.0-bin-hadoop1.tgz" onclick="trackOutboundLink(this, 'Release Download Links', 'cloudfront_spark-1.0.0-bin-hadoop1.tgz'); return false;">Hadoop 1 / CDH3</a>,
<a href="http://d3kbcqa49mib13.cloudfront.net/spark-1.0.0-bin-cdh4.tgz" onclick="trackOutboundLink(this, 'Release Download Links', 'cloudfront_spark-1.0.0-bin-cdh4.tgz'); return false;">CDH4</a>, or
<a href="http://d3kbcqa49mib13.cloudfront.net/spark-1.0.0-bin-hadoop2.tgz" onclick="trackOutboundLink(this, 'Release Download Links', 'cloudfront_spark-1.0.0-bin-hadoop2.tgz'); return false;">Hadoop 2 / CDH5 / HDP2</a>
(160 MB tgz). Release signatures and checksums are available at the official <a href="http://www.apache.org/dist/spark/spark-1.0.0/">Apache download site</a>.</p>
<h3 id="api-stability">API Stability</h3>
<p>Spark 1.0.0 is the first release in the 1.X major line. Spark is guaranteeing stability of its core API for all 1.X releases. Historically Spark has already been very conservative with API changes, but this guarantee codifies our commitment to application writers. The project has also clearly annotated experimental, alpha, and developer API’s to provide guidance on future API changes of newer components.</p>
<h3 id="integration-with-yarn-security">Integration with YARN Security</h3>
<p>For users running in secured Hadoop environments, Spark now integrates with the Hadoop/YARN security model. Spark will authenticate job submission, securely transfer HDFS credentials, and authenticate communication between components.</p>
<h3 id="operational-and-packaging-improvements">Operational and Packaging Improvements</h3>
<p>This release significantly simplifies the process of bundling and submitting a Spark application. A new <a href="/docs/latest/submitting-applications.html">spark-submit tool</a> allows users to submit an application to any Spark cluster, including local clusters, Mesos, or YARN, through a common process. The documentation for bundling Spark applications has been substantially expanded. We’ve also added a history server for Spark’s web UI, allowing users to view Spark application data after individual applications are finished.</p>
<h3 id="spark-sql">Spark SQL</h3>
<p>This release introduces <a href="/docs/latest/sql-programming-guide.html">Spark SQL</a> as a new alpha component. Spark SQL provides support for loading and manipulating structured data in Spark, either from external structured data sources (currently Hive and Parquet) or by adding a schema to an existing RDD. Spark SQL’s API interoperates with the RDD data model, allowing users to interleave Spark code with SQL statements. Under the hood, Spark SQL uses the Catalyst optimizer to choose an efficient execution plan, and can automatically push predicates into storage formats like Parquet. In future releases, Spark SQL will also provide a common API to other storage systems.</p>
<h3 id="mllib-improvements">MLlib Improvements</h3>
<p>In 1.0.0, Spark’s MLlib adds support for sparse feature vectors in Scala, Java, and Python. It takes advantage of sparsity in both storage and computation in linear methods, k-means, and naive Bayes. In addition, this release adds several new algorithms: scalable decision trees for both classification and regression, distributed matrix algorithms including SVD and PCA, model evaluation functions, and L-BFGS as an optimization primitive. The <a href="/docs/latest/mllib-guide.html">MLlib programming guide</a> and code examples have also been greatly expanded.</p>
<h3 id="graphx-and-streaming-improvements">GraphX and Streaming Improvements</h3>
<p>In addition to usability and maintainability improvements, GraphX in Spark 1.0 brings substantial performance boosts in graph loading, edge reversal, and neighborhood computation. These operations now require less communication and produce simpler RDD graphs. Spark’s Streaming module has added performance optimizations for stateful stream transformations, along with improved Flume support, and automated state cleanup for long running jobs.</p>
<h3 id="extended-java-and-python-support">Extended Java and Python Support</h3>
<p>Spark 1.0 adds support for Java 8 <a href="http://docs.oracle.com/javase/tutorial/java/javaOO/lambdaexpressions.html">new lambda syntax</a> in its Java bindings. Java 8 supports a concise syntax for writing anonymous functions, similar to the closure syntax in Scala and Python. This change requires small changes for users of the current Java API, which are noted in the documentation. Spark’s Python API has been extended to support several new functions. We’ve also included several stability improvements in the Python API, particularly for large datasets. PySpark now supports running on YARN as well.</p>
<h3 id="documentation">Documentation</h3>
<p>Spark’s <a href="/docs/latest/programming-guide.html">programming guide</a> has been significantly expanded to centrally cover all supported languages and discuss more operators and aspects of the development life cycle. The <a href="/docs/latest/mllib-guide.html">MLlib guide</a> has also been expanded with significantly more detail and examples for each algorithm, while documents on configuration, YARN and Mesos have also been revamped.</p>
<h3 id="smaller-changes">Smaller Changes</h3>
<ul>
<li>PySpark now works with more Python versions than before – Python 2.6+ instead of 2.7+, and NumPy 1.4+ instead of 1.7+.</li>
<li>Spark has upgraded to Avro 1.7.6, adding support for Avro specific types.</li>
<li>Internal instrumentation has been added to allow applications to monitor and instrument Spark jobs.</li>
<li>Support for off-heap storage in Tachyon has been added via a special build target.</li>
<li>Datasets persisted with <code>DISK_ONLY</code> now write directly to disk, significantly improving memory usage for large datasets.</li>
<li>Intermediate state created during a Spark job is now garbage collected when the corresponding RDDs become unreferenced, improving performance.</li>
<li>Spark now includes a <a href="/docs/latest/api/java/index.html">Javadoc version</a> of all its API docs and a <a href="/docs/latest/api/scala/index.html">unified Scaladoc</a> for all modules.</li>
<li>A new SparkContext.wholeTextFiles method lets you operate on small text files as individual records.</li>
</ul>
<h3 id="migrating-to-spark-10">Migrating to Spark 1.0</h3>
<p>While most of the Spark API remains the same as in 0.x versions, a few changes have been made for long-term flexibility, especially in the Java API (to support Java 8 lambdas). The documentation includes <a href="/docs/latest/programming-guide.html#migrating-from-pre-10-versions-of-spark">migration information</a> to upgrade your applications.</p>
<h3 id="contributors">Contributors</h3>
<p>The following developers contributed to this release:</p>
<ul>
<li>Aaron Davidson – packaging and deployment improvements, several bug fixes, local[*] mode</li>
<li>Aaron Kimball – documentation improvements</li>
<li>Abhishek Kumar – Python configuration fixes</li>
<li>Ahir Reddy – PySpark build, fixes, and cancellation support</li>
<li>Allan Douglas R. de Oliveira – Improvements to spark-ec2 scripts</li>
<li>Andre Schumacher – Parquet support and optimizations</li>
<li>Andrew Ash – Mesos documentation and other doc improvements, bug fixes</li>
<li>Andrew Or – history server (lead), garbage collection (lead), spark-submit, PySpark and YARN improvements</li>
<li>Andrew Tulloch – MLlib contributions and code clean-up</li>
<li>Andy Konwinski – documentation fix</li>
<li>Anita Tailor – Cassandra example</li>
<li>Ankur Dave – GraphX (lead) optimizations, documentation, and usability</li>
<li>Archer Shao – bug fixes</li>
<li>Arun Ramakrishnan – improved random sampling</li>
<li>Baishuo – test improvements</li>
<li>Bernardo Gomez Palacio – spark-shell improvements and Mesos updates</li>
<li>Bharath Bhushan – bug fix</li>
<li>Bijay Bisht – bug fixes</li>
<li>Binh Nguyen – dependency fix</li>
<li>Bouke van der Bijl – fixes for PySpark on Mesos and other Mesos fixes</li>
<li>Bryn Keller – improvement to HBase support and unit tests</li>
<li>Chen Chao – documentation, bug fix, and code clean-up</li>
<li>Cheng Hao – performance and feature improvements in Spark SQL</li>
<li>Cheng Lian – column storage and other improvements in Spark SQL</li>
<li>Christian Lundgren – improvement to spark-ec2 scripts</li>
<li>DB Tsai – L-BGFS optimizer in MLlib, MLlib documentation and fixes</li>
<li>Dan McClary – Improvement to stats counter</li>
<li>Daniel Darabos – GraphX performance improvement</li>
<li>Davis Shepherd – bug fix</li>
<li>Diana Carroll – documentation and bug fix</li>
<li>Egor Pakhomov – local iterator for RDD’s</li>
<li>Emtiaz Ahmed – bug fix</li>
<li>Erik Selin – bug fix</li>
<li>Ethan Jewett – documentation improvement</li>
<li>Evan Chan – automatic clean-up of application data</li>
<li>Evan Sparks – MLlib optimizations and doc improvement</li>
<li>Frank Dai – code clean-up in MLlib</li>
<li>Guoquiang Li – build improvements and several bug fixes</li>
<li>Ghidireac – bug fix</li>
<li>Haoyuan Li – Tachyon storage level for RDD’s</li>
<li>Harvey Feng – spark-ec2 update</li>
<li>Henry Saputra – code clean-up</li>
<li>Henry Cook – Spark SQL improvements</li>
<li>Holden Karau – cross validation in MLlib, Python and core engine improvements</li>
<li>Ivan Wick – Mesos bug fix</li>
<li>Jey Kottalam – sbt build improvement</li>
<li>Jerry Shao – Spark metrics and Spark SQL improvements</li>
<li>Jiacheng Guo – bug fix</li>
<li>Jianghan – bug fix</li>
<li>Jianping J Wang – JBLAS support in MLlib</li>
<li>Joseph E. Gonzalez – GraphX improvements, fixes, and documentation</li>
<li>Josh Rosen – PySpark improvements and bug fixes</li>
<li>Jyotiska NK – documentation, test improvements, and bug fix</li>
<li>Kan Zhang – bug fixes in Spark core, SQL, and PySpark</li>
<li>Kay Ousterhout – bug fixes and code refactoring in scheduler</li>
<li>Kelvin Chu – automatic clean-up of application data</li>
<li>Kevin Mader – example fix</li>
<li>Koert Kuipers – code visibility fix</li>
<li>Kousuke Saruta – documentation and build fixes</li>
<li>Kyle Ellrott – improved memory usage for DISK_ONLY persistence</li>
<li>Larva Boy – approximate counts in Spark SQL</li>
<li>Madhu Siddalingaiah – ec2 fixes</li>
<li>Manish Amde – decision trees in MLlib</li>
<li>Marcelo Vanzin – improvements and fixes to YARN support, dependency clean-up</li>
<li>Mark Grover – build fixes</li>
<li>Mark Hamstra – build and dependency improvements, scheduler bug fixes</li>
<li>Margin Jaggi – MLlib documentation improvements</li>
<li>Matei Zaharia – Python versions of several MLlib algorithms, spark-submit improvements, bug fixes, and documentation improvements</li>
<li>Michael Armbrust – Spark SQL (lead), including schema support for RDD’s, catalyst optimizer, and Hive support</li>
<li>Mridul Muralidharan – code visibility changes and bug fixes</li>
<li>Nan Zhu – bug and stability fixes, code clean-up, documentation, and new features</li>
<li>Neville Li – bug fix</li>
<li>Nick Lanham – Tachyon bundling in distribution script</li>
<li>Nirmal Reddy – code clean-up</li>
<li>OuYang Jin – local mode and json improvements</li>
<li>Patrick Wendell – release manager, build improvements, bug fixes, and code clean-up</li>
<li>Petko Nikolov – new utility functions</li>
<li>Prabeesh K – typo fix</li>
<li>Prabin Banka – new PySpark API’s</li>
<li>Prashant Sharma – PySpark improvements, Java 8 lambda support, and build improvements</li>
<li>Punya Biswal – Java API improvements</li>
<li>Qiuzhuang Lian – bug fixes</li>
<li>Rahul Singhal – build improvements, bug fixes</li>
<li>Raymond Liu – YARN build fixes and UI improvements</li>
<li>Reynold Xin – bug fixes, internal changes, Spark SQL improvements, build fixes, and style improvements</li>
<li>Reza Zadeh – SVD implementation in MLlib and other MLlib contributions</li>
<li>Roman Pastukhov – clean-up of broadcast files</li>
<li>Rong Gu – Tachyon storage level for RDD’s</li>
<li>Sandeep Sing – several bug fixes, MLLib improvements and fixes to Spark examples</li>
<li>Sandy Ryza – spark-submit script and several YARN improvements</li>
<li>Saurabh Rawat – Java API improvements</li>
<li>Sean Owen – several build improvements, code clean-up, and MLlib fixes</li>
<li>Semih Salihoglu – GraphX improvements</li>
<li>Shaocun Tian – bug fix in MLlib</li>
<li>Shivaram Venkataraman – bug fixes</li>
<li>Shixiong Zhu – code style and correctness fixes</li>
<li>Shiyun Wxm – typo fix</li>
<li>Stevo Slavic – bug fix</li>
<li>Sumedh Mungee – documentation fix</li>
<li>Sundeep Narravula – “cancel” button in Spark UI</li>
<li>Takayu Ueshin – bug fixes and improvements to Spark SQL</li>
<li>Tathagata Das – web UI and other improvements to Spark Streaming (lead), bug fixes, state clean-up, and release manager</li>
<li>Timothy Chen – Spark SQL improvements</li>
<li>Ted Malaska – improved Flume support</li>
<li>Tom Graves – Hadoop security integration (lead) and YARN support</li>
<li>Tianshuo Deng – Bug fix</li>
<li>Tor Myklebust – improvements to ALS</li>
<li>Wangfei – Spark SQL docs</li>
<li>Wang Tao – code clean-up</li>
<li>William Bendon – JSON support changes and bug fixes</li>
<li>Xiangrui Meng – several improvements to MLlib (lead)</li>
<li>Xuan Nguyen – build fix</li>
<li>Xusen Yin – MLlib contributions and bug fix</li>
<li>Ye Xianjin – test fixes</li>
<li>Yinan Li – addFile improvement</li>
<li>Yin Hua – Spark SQL improvements</li>
<li>Zheng Peng – bug fixes</li>
</ul>
<p><em>Thanks to everyone who contributed!</em></p>
<p>
<br/>
<a href="/news/">Spark News Archive</a>
</p>
</div>
</div>
<footer class="small">
<hr>
Apache Spark, Spark, Apache, and the Spark logo are trademarks of
<a href="http://www.apache.org">The Apache Software Foundation</a>.
</footer>
</div>
</body>
</html>