You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on May 17, 2022. It is now read-only.
nteract is a frontend for Jupyter that runs natively on the Desktop, on the web and in other places like within the Atom editor.
The nteract desktop app runs on electron and is implemented using React, Redux, RxJs, along with other libraries, also using typescript.
The goal of this feature is to implement support for SparkMonitor into nteract directly providing a seamless user experience for using Spark from nteract.
Work needs to be done on refactoring SparkMonitor to support nteract, improve jupyter protocol support for this use case and support Scala kernels.
This issue summarizes discussions on Slack with @rgbkrk and others at the nteract/spark_integration channel
The text was updated successfully, but these errors were encountered:
A preliminary demo implementation with React + Redux + TypeScript is on the way here: https://github.com/krishnan-r/sparkmonitor/tree/dev, It works with Jupyter Notebook at the moment, but supporting nteract would be straight forward once the necessary refactoring is done.
The idea is that, data received from a SparkListener is stored in a Redux store on the frontend. Actions are dispatched on comm messages that update the store. Other events like related to notebook cells also affect the state.
Below each cell progress bars are displayed using a store connected React Component that takes a cell_id and tracks all jobs spawned from that cell. More complex visualizations also can be implemented the same way.
SparkMonitor works using SparkListeners, Kernel extensions, widget comm API and frontend extensions as described here
Instead of using the widget comm API, another alternative is to use the display
and update_display function in IPython. This combined with VDOM can render progress bars with complex HTML. However running arbitrary JavaScript is still a challenge.
Another potential feature yet to be implemented that can be used is: jupyter/jupyter#264
Much research and work on improving Jupyter Protocol support for Spark is on the roadmap here
nteract is a frontend for Jupyter that runs natively on the Desktop, on the web and in other places like within the Atom editor.
The nteract desktop app runs on electron and is implemented using React, Redux, RxJs, along with other libraries, also using typescript.
The goal of this feature is to implement support for SparkMonitor into nteract directly providing a seamless user experience for using Spark from nteract.
Work needs to be done on refactoring SparkMonitor to support nteract, improve jupyter protocol support for this use case and support Scala kernels.
This issue summarizes discussions on Slack with @rgbkrk and others at the
nteract/spark_integration
channelThe text was updated successfully, but these errors were encountered: