Forum Discussion
Python (not spark) Notebook exitValue issue
- Anonymous1 year ago
Hi tobazan,
Explicit Output Management: Instead of relying on the exit() method, store the output in a predefined location that the pipeline can read, e.g., Azure Blob Storage or a SQL database.
Regards,
Vinay Pabbu
Anonymous
not sure what you mean with "explicit output management within the notebook itself"
isn't that what Im doing with this line of code?
notebookutils.notebook.exit(json.dumps(json_object))
as I see it, until this doesn't work as it does in pySpark notebooks there are very few use cases for plain python notebooks
Id prefer not to start a spark pool for lightweight tasks but python notebooks seem to need some more polish
anyways, I appreciate your quick answer and support
Hi tobazan,
Explicit Output Management: Instead of relying on the exit() method, store the output in a predefined location that the pipeline can read, e.g., Azure Blob Storage or a SQL database.
Regards,
Vinay Pabbu