Using Livy with interactive notebooks
You can submit Spark commands through Livy from an interactive Apache Zeppelin notebook:
![](../images/iot-analysis.png)
When you run code in a Zeppelin notebook using the %livy
directive, the
notebook offloads code execution to Livy and Spark:
![](../images/livy-architecture-zepp.png)
For more information about Zeppelin and Livy, see the CDP Apache Zeppelin guide.