How to initialize ZeppelinContext in a stand alone program

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

How to initialize ZeppelinContext in a stand alone program

小野圭二
Hi,

I am sure Zeppelin manage printouts of a program to a note.
Then i would like to know how to initialize ZeppelinContext in python/scala code like Spark?

In the case of SparkContext, it is clear like that,
[python]
from pyspark import SparkConf, SparkContext
conf = SparkConf().setAppName("...").setMaster("...")
sc = SparkContext(conf=conf)

So i wonder ZeppelinContext could be called like above?

Any advice is welcome

-Keiji