Support Questions

Find answers, ask questions, and share your expertise

Is there a way to export the source code from a Zeppelin Notebook?

avatar

Is there a way to export the source code from a Zeppelin Notebook?

1 ACCEPTED SOLUTION

avatar

Not yet. We have been exporting notebooks by zipping up the 'notebook' subdir under Zeppelin folder (e.g. /opt/incubator-zeppelin). To import on separate cluster, drop the dir into the same location and restart Zeppelin

View solution in original post

3 REPLIES 3

avatar

Not yet. We have been exporting notebooks by zipping up the 'notebook' subdir under Zeppelin folder (e.g. /opt/incubator-zeppelin). To import on separate cluster, drop the dir into the same location and restart Zeppelin

avatar

@Ali Bajwa in my directory, i have a notebooks.zip. I assume i can delete it before sharing it out to client? and zip the /opt/incubator-zeppelin/notebook/ directory?

[root@sandbox ~]# ll /opt/incubator-zeppelin/notebook/ 2A94M5J1Z/ 2ANTDG878/ 2AS5TY6AQ/ 2B21B3AYC/ 2B61M8WDX/ 2ANT56EHN/ 2APFTN3NY/ 2AZHT34CH/ 2B3QZGE6B/ notebooks.zip

avatar

@azeltov@hortonworks.com Yes you can delete it: that zip is just the package is downloaded by Ambari service containing demo notebooks from https://github.com/hortonworks-gallery/zeppelin-notebooks