Using Livy with interactive notebooks

You can submit Spark commands through Livy from an interactive Apache Zeppelin notebook:



When you run code in a Zeppelin notebook using the %livy directive, the notebook offloads code execution to Livy and Spark:



For more information about Zeppelin and Livy, see the CDP Apache Zeppelin guide.