You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@zeppelin.apache.org by Hannu Kröger <ha...@nosto.com> on 2018/10/17 11:47:02 UTC

Initialization command when interpreter start

Hi,

I haven’t figured out how to issue certain commands when interpreter starts.

Our use case is that we have some jar libraries and we would like to run an initialisation command automatically whenever the spark interpreter starts. Basically it’s just scala code like "com.company.spark.Spark.init(sc)” and that does some automatic view initialisations etc.

There is probably a way to automate this so that we don’t need to run this whenever zeppelin or interpreter is (re)started. But what is the right way?

Cheers,
Hannu