is there a way to execute the spark code in a zeppelin notebook, without having to do it interactively? I'm looking for something specific or if anyone could point me in the correct direction. Or alternatively, other ways to submit spark code, which is currently in a zeppelin notebook. The reason I can't use spark-submit is that there is no command line access due to security reasons.
Zeppelin provides REST API which, among other functions, can be used to run either individual paragraphs, either synchronously
http://[zeppelin-server]:[zeppelin-port]/api/notebook/run/[noteId]/[paragraphId]
http://[zeppelin-server]:[zeppelin-port]/api/notebook/job/[noteId]/[paragraphId]
as well as whole notebook:
http://[zeppelin-server]:[zeppelin-port]/api/notebook/job/[noteId]
It is also possible to define CRON jobs, both from notebook itself and from the REST API.