Upload
datastax
View
362
Download
2
Embed Size (px)
Citation preview
1 Apache Zeppelin (quick) introduction
2 Cassandra interpreter
3 Advanced usage
4 Dynamic forms
5 Zeppelin with Spark/Cassandra connector
2 © DataStax, All Rights Reserved.
Zeppelin architecture
© DataStax, All Rights Reserved. 6
Zeppelin Server
Zeppelin Engine
REST
Web
Sock
et
Spark Interpreter Group
Spark SparkSQL
Zeppelin Interpreter
Factory
Tajo Interpreter
Flink Interpreter
Cassandra Interpreter
JVM
JVM
JVM
JVM
JVM
Cassandra interpreter architecture
© DataStax, All Rights Reserved. 8
Cassandra Interpreter
JVM
DisplayResults as
HTML
① ②
⑤
Zeppelin Server
JVM
RawTextBlock
RawTextBlock
Cassandra Cassandra
Java Driver
③
Async CQLstatements
④ RenderHTML
⑥
Configuration matrix
• Vanilla Zeppelin + OSS Spark• Vanilla Zeppelin + Datastax Enterprise (DSE)• Pre-built Zeppelin + OSS Spark• Pre-built Zeppelin + Datastax Enterprise (DSE)
© DataStax, All Rights Reserved. 15
Vanilla Zeppelin + OSS Spark
First add Spark/Cassandra connector as dependency for Spark interpreter in Zeppelin
© DataStax, All Rights Reserved. 16
Vanilla Zeppelin + OSS Spark
Then configure Spark to include the connector dependencies: $SPARK_HOME/conf/spark-env.shEither
Or
© DataStax, All Rights Reserved. 17
Vanilla Zeppelin + DSE
Only need to add Spark/Cassandra connector as dependency for Spark interpreter in Zeppelin
© DataStax, All Rights Reserved. 18
Pre-built Zeppelin + OSS Spark
Only need to configure Spark to include the connector dependencies: $SPARK_HOME/conf/spark-env.shEither
Or
© DataStax, All Rights Reserved. 19
© DataStax, All Rights Reserved. 23
Thank You @doanduyhai
https://academy.datastax.com/