Cauder
Cauder

Reputation: 2627

Can I programatically run a Zeppelin notebook?

I have Zeppelin on top of Hadoop with a Spark cluster.

I'd like to run the first five paragraphs in one note, then the first five paragraphs in a separate note. I don't want them to run at the same time because they have objects with the same names.

Also, the machine cues them up, so they will in effect run sequentially.

Can I run code to say run the first five in note abc and afterward run the first five in note zxy?

Upvotes: 0

Views: 783

Answers (1)

Alex Ott
Alex Ott

Reputation: 87244

In Zeppelin, there is a Notebook API, that you can use to fetch the list of paragraphs in the notebook (for example via paragraph status API or via Note information API), and then for execution of paragraphs one by one via synchronous paragraph execution API.

Upvotes: 2

Related Questions