View
2.245
Download
2
Category
Preview:
DESCRIPTION
Spark Driver v 1.0 is now available with free Apache 2.0 license with DataStax. DataStax and Databricks have partnered together to make it easier than ever before to integrate both open source technologies and help the most progressive data-driven businesses succeed today. Cassandra and Spark together arm users with analysis to power online recommendations, personalized customer experiences, sensor-data detection, fraud detection and more.
Citation preview
Spark and CassandraMartin Van Ryswyk, EVP Engineering
DataStax 2014 2
Partnership
Jonathan EllisChairman, Apache Cassandra
+Matei Zaharia Creator, Apache Spark
Announced in May 2014Based on clear feedback from both communitiesCommitted to an integration between Spark and
Cassandra
3
What is Apache Cassandra?
Apache CassandraMassively scalable databaseAlways onFully distributedLinear scale performanceFlexible NoSQL data modelOperationally simpleSQL-Like language Free tools and drivers
San Francisco
New York
Dubai
©2014 DataStax
Apache Cassandra
6
Netflix Ensures Constant Uptime with DataStax EnterpriseWorld’s leading streaming media provider with digital revenue $1.5BN+95% of all Netflix data stored in DSEIntroduction of ‘Profiles’ drove throughput to over 10M transactions per secondDoes 1 trillion transactions/day with DSEReplaced Oracle in six data centers, worldwide, 100% in the cloud
7
Delivers 150+ Billion Content Recommendations Per MonthServes content for largest media brands in the world: Reuters, Wall St Journal, USA TodayNeeded a massively scalable data store High velocity of data with 58,000 links to content per secondAlways-on data architectureLost a data center during Hurricane Sandy but never went offline
8
The Weather Channel
While I have years of experience using Cassandra, my team was mostly new to it; CQL made their transition essentially painless. But where Cassandra really shines is in speed and operational simplicity, and I would say those two points were critical.”
ROBBIE STRICKLAND Software Dev Manager
Faster Feedback Loops
9
ETL AnalyticalTransactional C*
10
Announcing cassandra-driver-spark
cassandra-driver-spark v1.0
• Developed by DataStax with support and review by Databricks
• Free with Apache 2.0 license from DataStax https://github.com/datastax/cassandra-driver-
spark• Question to Apache Spark User List
• user@spark.apache.org• Offering driver code to Apache Spark community
©2014 DataStax
• Exposes Cassandra tables as RDD• Map table rows to CassandraRow objects• Data type conversions between Cassandra and Scala• Save RDDs back to Cassandra by implicit saveToCassandra
call• Filter rows on server via CQL WHERE clause
(CassandraRDD#where method)• Select subset of columns (CassandraRDD#select method)• Optimizations for Cassandra vnodes
©2014 DataStax
cassandra-driver-spark v1.0
Example
©2014 DataStax
Performance
©2014 DataStax
Ex-treme
Simple0
102030405060
Hadoop M/RSpark
seco
nds
Extreme: data not in memory and fetched from multiple nodesSimple: data set fits in memory
2-30x faster than highly optimized “Hadoop on C*” implementation in DataStax Enterprise
15
What is DataStax Enterprise?
Security Analytics Search VisualMonitoring
ManagementServices In-Memory
Delivering Apache Cassandra to the Enterprise
Dev. IDE & Drivers
ProfessionalServices
Support & Training
Strong Data ProtectionIn-Memory OLTP/AnalyticsPoint-and-Click/Automated Mgmt
Certified Production CassandraMulti-Workload/Use Case
CapableIntegrated OLTP, Analytics,
Search
©2014 DataStax
17
Announcing
Certified Spark
Distribution
cassandra-driver-spark Roadmap
• Integrate into Apache Spark• Update for Spark 1.0• Support for Additional Spark components
• Spark SQL• Spark Streaming• GraphX
• Listen to both communities…
Next Steps
datastax.com/cassandrasummit14
Today: Attend Tupshin and Al’s talk at 1pm Visit DataStax booth – meet expertsTonight: Download the integration
github.com/datastax/cassandra-driver-spark
Learn about Cassandra planetcassandra.org Download DataStax Enterprise www.datastax.com/downloads
September:
Recommended