Hello - I am wondering if there is a simple way to allow a Zeppelin
Notebook user to upload a data file to use in a Zeppelin Notebook? I can
FTP a file onto the server and access it through a notebook, but this
method wouldn't work for a user with only front-end access. What I am
looking for is a way for a user to run a paragraph that would allow them to
input a path to a file on their local system, and upload it to the server.
I have looked into ways to do this through Python and Spark code, but with
no access to a DISPLAY environment variable through the web browser, and no
access to the user's local machine, I don't see a good way to do this. I
have a solution that allows them to paste their data file contents into a
text box in a paragraph and run the paragraph to save the text to a file on
the server, but this will only work for very simple text files.

The other solution I am looking into is adding an "Upload" button to the
Notebook UI that would go up where the "Export this Note" and "Version
Control" buttons are that would allow file upload through the browser, but
this requires modifying the Zeppelin UI and back-end, which I would like to
avoid.

Thanks,
Chris Krentz

Reply via email to